From ac54f06dbfb146aee3c3c7bea174c7cd248d3194 Mon Sep 17 00:00:00 2001 From: Evan Wallace Date: Fri, 21 Jun 2024 13:36:10 -0400 Subject: [PATCH] compat: override incorrect data about firefox 127 --- compat-table/src/index.ts | 3 +++ internal/compat/css_table.go | 11 +++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/compat-table/src/index.ts b/compat-table/src/index.ts index a98372b62dd..f98c081f9c1 100644 --- a/compat-table/src/index.ts +++ b/compat-table/src/index.ts @@ -516,5 +516,8 @@ mergeSupportMaps(css, mdn.css) mergePrefixMaps(cssPrefix, caniuse.cssPrefix) mergePrefixMaps(cssPrefix, mdn.cssPrefix) +// MDN data is wrong here, Firefox 127 still has gradient interpolation rendering bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=1904106 +css.GradientInterpolation.Firefox = {} + const [cssVersionRanges] = supportMapToVersionRanges(css) generateTableForCSS(cssVersionRanges, cssPrefix) diff --git a/internal/compat/css_table.go b/internal/compat/css_table.go index 197fe3ca284..1cd717e0a54 100644 --- a/internal/compat/css_table.go +++ b/internal/compat/css_table.go @@ -64,12 +64,11 @@ var cssTable = map[CSSFeature]map[Engine][]versionRange{ Safari: {{start: v{12, 1, 0}}}, }, GradientInterpolation: { - Chrome: {{start: v{111, 0, 0}}}, - Edge: {{start: v{111, 0, 0}}}, - Firefox: {{start: v{127, 0, 0}}}, - IOS: {{start: v{16, 2, 0}}}, - Opera: {{start: v{97, 0, 0}}}, - Safari: {{start: v{16, 2, 0}}}, + Chrome: {{start: v{111, 0, 0}}}, + Edge: {{start: v{111, 0, 0}}}, + IOS: {{start: v{16, 2, 0}}}, + Opera: {{start: v{97, 0, 0}}}, + Safari: {{start: v{16, 2, 0}}}, }, GradientMidpoints: { Chrome: {{start: v{40, 0, 0}}},