From 13a641cf32df50d41b51d4e85bfc76f45a742fdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Thu, 16 Nov 2017 15:37:25 +0100 Subject: [PATCH] Bug 1417924: Don't test green -
green
-
green
-
-
green
-
-
-
- diff --git a/layout/reftests/css-display/display-contents-style-inheritance-1-ref.html b/layout/reftests/css-display/display-contents-style-inheritance-1-ref.html index 56b5fbbd505f..37649f545aff 100644 --- a/layout/reftests/css-display/display-contents-style-inheritance-1-ref.html +++ b/layout/reftests/css-display/display-contents-style-inheritance-1-ref.html @@ -34,9 +34,5 @@ b { font-weight:normal; }
1px green left border
1px green left border
2px green left border
-
- -
This text should be green green green green greengreen green
- diff --git a/layout/reftests/css-display/display-contents-style-inheritance-1-stylechange.html b/layout/reftests/css-display/display-contents-style-inheritance-1-stylechange.html index 058db87d5c67..0f68aa5b09b9 100644 --- a/layout/reftests/css-display/display-contents-style-inheritance-1-stylechange.html +++ b/layout/reftests/css-display/display-contents-style-inheritance-1-stylechange.html @@ -26,6 +26,8 @@ function runTest() { elms[i].classList.remove('test'); elms[i].classList.add('test2'); } + // FIXME(emilio): This basically does a full subtree restyle, and could hide + // bugs in the previous parts of the test. document.body.lang = 'foo'; document.body.offsetWidth; @@ -51,17 +53,5 @@ function runTest() {
1px green left border
1px green left border
2px green left border
-
- -This text should be green -
green
-
green
-
green
-
-
green
-
green
-
-
green
- diff --git a/layout/reftests/css-display/display-contents-style-inheritance-1.html b/layout/reftests/css-display/display-contents-style-inheritance-1.html index c4796a769080..3dab318b95df 100644 --- a/layout/reftests/css-display/display-contents-style-inheritance-1.html +++ b/layout/reftests/css-display/display-contents-style-inheritance-1.html @@ -35,17 +35,5 @@ b { border:inherit; font-weight:normal; }
1px green left border
1px green left border
2px green left border
-
- -
This text should be green
-
green
-
green
-
green
-
-
green
-
green
-
-
green
- diff --git a/layout/reftests/css-display/reftest.list b/layout/reftests/css-display/reftest.list index 9313330b6a81..3d0c1b3044ee 100644 --- a/layout/reftests/css-display/reftest.list +++ b/layout/reftests/css-display/reftest.list @@ -7,9 +7,9 @@ fuzzy-if(Android,8,604) == display-contents-acid-dyn-2.html display-contents-aci fuzzy-if(Android,8,604) == display-contents-acid-dyn-3.html display-contents-acid-ref.html == display-contents-generated-content.html display-contents-generated-content-ref.html == display-contents-generated-content-2.html display-contents-generated-content-ref.html -fails-if(styloVsGecko||stylo) pref(layout.css.scoped-style.enabled,true) == display-contents-style-inheritance-1.html display-contents-style-inheritance-1-ref.html -fails-if(styloVsGecko||stylo) pref(layout.css.scoped-style.enabled,true) == display-contents-style-inheritance-1-stylechange.html display-contents-style-inheritance-1-ref.html -fuzzy-if(winWidget,12,100) skip-if(styloVsGecko||stylo) pref(layout.css.scoped-style.enabled,true) == display-contents-style-inheritance-1-dom-mutations.html display-contents-style-inheritance-1-ref.html +== display-contents-style-inheritance-1.html display-contents-style-inheritance-1-ref.html +== display-contents-style-inheritance-1-stylechange.html display-contents-style-inheritance-1-ref.html +fuzzy-if(winWidget,12,100) == display-contents-style-inheritance-1-dom-mutations.html display-contents-style-inheritance-1-ref.html == display-contents-tables.xhtml display-contents-tables-ref.xhtml == display-contents-tables-2.xhtml display-contents-tables-ref.xhtml == display-contents-tables-3.xhtml display-contents-tables-3-ref.xhtml