mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1517682 - Drop layout.css.mix-blend-mode.enabled pref. r=heycam
It was enabled by default in bug 952643. Depends on D15705 Differential Revision: https://phabricator.services.mozilla.com/D15706 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
bed5a404f1
commit
602a0bb6c3
@ -9372,10 +9372,6 @@ exports.PREFERENCES = [
|
||||
"initial-letter",
|
||||
"layout.css.initial-letter.enabled"
|
||||
],
|
||||
[
|
||||
"mix-blend-mode",
|
||||
"layout.css.mix-blend-mode.enabled"
|
||||
],
|
||||
[
|
||||
"-moz-osx-font-smoothing",
|
||||
"layout.css.osx-font-smoothing.enabled"
|
||||
|
@ -1,8 +1,8 @@
|
||||
pref(layout.css.mix-blend-mode.enabled,true) == blend-canvas.html blend-canvas-ref.html
|
||||
pref(layout.css.mix-blend-mode.enabled,true) == blend-constant-background-color.html blend-constant-background-color-ref.html
|
||||
pref(layout.css.mix-blend-mode.enabled,true) fuzzy-if(webrender,1-3,1313-7888) == blend-gradient-background-color.html blend-gradient-background-color-ref.html
|
||||
pref(layout.css.mix-blend-mode.enabled,true) == blend-image.html blend-image-ref.html
|
||||
pref(layout.css.mix-blend-mode.enabled,true) == blend-difference-stacking.html blend-difference-stacking-ref.html
|
||||
== blend-canvas.html blend-canvas-ref.html
|
||||
== blend-constant-background-color.html blend-constant-background-color-ref.html
|
||||
fuzzy-if(webrender,1-3,1313-7888) == blend-gradient-background-color.html blend-gradient-background-color-ref.html
|
||||
== blend-image.html blend-image-ref.html
|
||||
== blend-difference-stacking.html blend-difference-stacking-ref.html
|
||||
|
||||
fuzzy-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu),0-1,0-10000) fuzzy-if(skiaContent,0-1,0-30000) pref(layout.css.background-blend-mode.enabled,true) == background-blending-alpha.html background-blending-alpha-ref.html
|
||||
pref(layout.css.background-blend-mode.enabled,true) fuzzy-if(webrender,1-3,1313-7888) == background-blending-gradient-color.html background-blending-gradient-color-ref.html
|
||||
@ -38,16 +38,16 @@ fuzzy-if(d2d||azureSkia||gtkWidget,0-10,0-4800) pref(layout.css.background-blend
|
||||
fuzzy-if(azureSkia||d2d||gtkWidget,0-1,0-40000) pref(layout.css.background-blend-mode.enabled,true) == background-blending-image-color-959674.html background-blending-image-color-959674-ref.html
|
||||
|
||||
#fuzzy due to inconsistencies in rounded rect cliping between parent and child; may be related to antialiasing. Between platforms, the max difference is the same, and the number of different pixels is either 36 or 37. (Win, Mac and Lin)
|
||||
fuzzy(0-65,0-53) pref(layout.css.mix-blend-mode.enabled,true) == mix-blend-mode-952051.html mix-blend-mode-952051-ref.html
|
||||
fuzzy(0-65,0-53) == mix-blend-mode-952051.html mix-blend-mode-952051-ref.html
|
||||
|
||||
fuzzy-if(d3d11,0-49,0-200) pref(layout.css.mix-blend-mode.enabled,true) == mix-blend-mode-and-filter.html mix-blend-mode-and-filter-ref.html
|
||||
fuzzy-if(d3d11,0-1,0-5) pref(layout.css.mix-blend-mode.enabled,true) == mix-blend-mode-and-filter.svg mix-blend-mode-and-filter-ref.svg
|
||||
fuzzy-if(d3d11,0-49,0-200) == mix-blend-mode-and-filter.html mix-blend-mode-and-filter-ref.html
|
||||
fuzzy-if(d3d11,0-1,0-5) == mix-blend-mode-and-filter.svg mix-blend-mode-and-filter-ref.svg
|
||||
|
||||
fuzzy(0-2,0-14400) pref(layout.css.mix-blend-mode.enabled,true) == mix-blend-mode-child-of-blended-has-opacity.html mix-blend-mode-child-of-blended-has-opacity-ref.html
|
||||
fuzzy(0-2,0-14400) == mix-blend-mode-child-of-blended-has-opacity.html mix-blend-mode-child-of-blended-has-opacity-ref.html
|
||||
|
||||
pref(layout.css.mix-blend-mode.enabled,true) == mix-blend-mode-nested-976533.html mix-blend-mode-nested-976533-ref.html
|
||||
pref(layout.css.mix-blend-mode.enabled,true) == mix-blend-mode-culling-1207041.html mix-blend-mode-culling-1207041-ref.html
|
||||
pref(layout.css.mix-blend-mode.enabled,true) == mix-blend-mode-dest-alpha-1135271.html mix-blend-mode-dest-alpha-1135271-ref.html
|
||||
== mix-blend-mode-nested-976533.html mix-blend-mode-nested-976533-ref.html
|
||||
== mix-blend-mode-culling-1207041.html mix-blend-mode-culling-1207041-ref.html
|
||||
== mix-blend-mode-dest-alpha-1135271.html mix-blend-mode-dest-alpha-1135271-ref.html
|
||||
== clipped-mixblendmode-containing-unclipped-stuff.html clipped-mixblendmode-containing-unclipped-stuff-ref.html
|
||||
fuzzy(0-1,0-6800) == clipped-opacity-containing-unclipped-mixblendmode.html clipped-opacity-containing-unclipped-mixblendmode-ref.html
|
||||
|
||||
|
@ -31,28 +31,28 @@ include svg-integration/reftest.list
|
||||
|
||||
== baseline-middle-01.svg pass.svg
|
||||
|
||||
skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-color-burn.svg blend-color-burn-ref.svg
|
||||
skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-color-dodge.svg blend-color-dodge-ref.svg
|
||||
# pref(layout.css.mix-blend-mode.enabled,true) == blend-color.svg blend-color-ref.svg
|
||||
skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-darken.svg blend-darken-ref.svg
|
||||
skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-difference.svg blend-difference-ref.svg
|
||||
skip-if(Android) fuzzy-if(skiaContent,0-1,0-1600) pref(layout.css.mix-blend-mode.enabled,true) == blend-exclusion.svg blend-exclusion-ref.svg
|
||||
# pref(layout.css.mix-blend-mode.enabled,true) == blend-hard-light.svg blend-hard-light-ref.svg
|
||||
# pref(layout.css.mix-blend-mode.enabled,true) == blend-hue.svg blend-hue-ref.svg
|
||||
skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-layer-blend.svg blend-layer-blend-ref.svg
|
||||
skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-layer-filter.svg blend-layer-filter-ref.svg
|
||||
skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-layer-mask.svg blend-layer-mask-ref.svg
|
||||
skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-layer-opacity.svg blend-layer-opacity-ref.svg
|
||||
skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-lighten.svg blend-lighten-ref.svg
|
||||
# pref(layout.css.mix-blend-mode.enabled,true) == blend-luminosity.svg blend-luminosity-ref.svg
|
||||
#skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-multiply-alpha.svg blend-multiply-alpha-ref.svg
|
||||
skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-multiply.svg blend-multiply-ref.svg
|
||||
pref(layout.css.mix-blend-mode.enabled,true) == blend-normal.svg blend-normal-ref.svg
|
||||
#skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-overlay.svg blend-overlay-ref.svg
|
||||
#skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-saturation.svg blend-saturation-ref.svg
|
||||
#skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-screen.svg blend-screen-ref.svg
|
||||
#skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-soft-light.svg blend-soft-light-ref.svg
|
||||
skip pref(layout.css.mix-blend-mode.enabled,true) == blend-difference-stacking.html blend-difference-stacking-ref.html # bug 1458353
|
||||
skip-if(Android) == blend-color-burn.svg blend-color-burn-ref.svg
|
||||
skip-if(Android) == blend-color-dodge.svg blend-color-dodge-ref.svg
|
||||
# == blend-color.svg blend-color-ref.svg
|
||||
skip-if(Android) == blend-darken.svg blend-darken-ref.svg
|
||||
skip-if(Android) == blend-difference.svg blend-difference-ref.svg
|
||||
skip-if(Android) fuzzy-if(skiaContent,0-1,0-1600) == blend-exclusion.svg blend-exclusion-ref.svg
|
||||
# == blend-hard-light.svg blend-hard-light-ref.svg
|
||||
# == blend-hue.svg blend-hue-ref.svg
|
||||
skip-if(Android) == blend-layer-blend.svg blend-layer-blend-ref.svg
|
||||
skip-if(Android) == blend-layer-filter.svg blend-layer-filter-ref.svg
|
||||
skip-if(Android) == blend-layer-mask.svg blend-layer-mask-ref.svg
|
||||
skip-if(Android) == blend-layer-opacity.svg blend-layer-opacity-ref.svg
|
||||
skip-if(Android) == blend-lighten.svg blend-lighten-ref.svg
|
||||
# == blend-luminosity.svg blend-luminosity-ref.svg
|
||||
#skip-if(Android) == blend-multiply-alpha.svg blend-multiply-alpha-ref.svg
|
||||
skip-if(Android) == blend-multiply.svg blend-multiply-ref.svg
|
||||
== blend-normal.svg blend-normal-ref.svg
|
||||
#skip-if(Android) == blend-overlay.svg blend-overlay-ref.svg
|
||||
#skip-if(Android) == blend-saturation.svg blend-saturation-ref.svg
|
||||
#skip-if(Android) == blend-screen.svg blend-screen-ref.svg
|
||||
#skip-if(Android) == blend-soft-light.svg blend-soft-light-ref.svg
|
||||
skip == blend-difference-stacking.html blend-difference-stacking-ref.html # bug 1458353
|
||||
|
||||
fuzzy(0-11,0-7155) == blur-inside-clipPath.svg blur-inside-clipPath-ref.svg
|
||||
|
||||
|
@ -5272,6 +5272,15 @@ var gCSSProperties = {
|
||||
other_values: [ "url(#mysym)" ],
|
||||
invalid_values: []
|
||||
},
|
||||
"mix-blend-mode": {
|
||||
domProp: "mixBlendMode",
|
||||
inherited: false,
|
||||
type: CSS_TYPE_LONGHAND,
|
||||
initial_values: [ "normal" ],
|
||||
other_values: ["multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn",
|
||||
"hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"],
|
||||
invalid_values: [],
|
||||
},
|
||||
"shape-image-threshold": {
|
||||
domProp: "shapeImageThreshold",
|
||||
inherited: false,
|
||||
@ -7239,18 +7248,6 @@ if (IsCSSPropertyPrefEnabled("layout.css.osx-font-smoothing.enabled")) {
|
||||
};
|
||||
}
|
||||
|
||||
if (IsCSSPropertyPrefEnabled("layout.css.mix-blend-mode.enabled")) {
|
||||
gCSSProperties["mix-blend-mode"] = {
|
||||
domProp: "mixBlendMode",
|
||||
inherited: false,
|
||||
type: CSS_TYPE_LONGHAND,
|
||||
initial_values: [ "normal" ],
|
||||
other_values: ["multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn",
|
||||
"hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"],
|
||||
invalid_values: []
|
||||
};
|
||||
}
|
||||
|
||||
if (IsCSSPropertyPrefEnabled("layout.css.background-blend-mode.enabled")) {
|
||||
gCSSProperties["background-blend-mode"] = {
|
||||
domProp: "backgroundBlendMode",
|
||||
|
@ -68,7 +68,6 @@ function step() {
|
||||
// ----
|
||||
|
||||
var gProps = {
|
||||
"layout.css.mix-blend-mode.enabled": ["mix-blend-mode"],
|
||||
"layout.css.touch_action.enabled": ["touch-action"],
|
||||
"svg.transform-box.enabled": ["transform-box"]
|
||||
};
|
||||
|
@ -3023,9 +3023,6 @@ pref("layout.css.individual-transform.enabled", false);
|
||||
// Is support for CSS initial-letter property enabled?
|
||||
pref("layout.css.initial-letter.enabled", false);
|
||||
|
||||
// Is support for mix-blend-mode enabled?
|
||||
pref("layout.css.mix-blend-mode.enabled", true);
|
||||
|
||||
// Is support for scrollbar-color property enabled?
|
||||
pref("layout.css.scrollbar-color.enabled", true);
|
||||
|
||||
|
@ -62,6 +62,5 @@ ${helpers.single_keyword(
|
||||
gecko_constant_prefix="NS_STYLE_BLEND",
|
||||
animation_value_type="discrete",
|
||||
flags="CREATES_STACKING_CONTEXT",
|
||||
gecko_pref="layout.css.mix-blend-mode.enabled",
|
||||
spec="https://drafts.fxtf.org/compositing/#propdef-mix-blend-mode",
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user