Bug 1348490 - Part 2. Enable reftests of ::moz-placeholder.
authorcku <cku@mozilla.com>
Sat, 20 May 2017 16:43:52 +0800
changeset 583031 7164462b31ca928d68d3db5e8b565cea27507a2c
parent 583030 b1b6e7cb6c90887e50e5b6b77f29981ab3b7ebe6
push id60276
push userbmo:cku@mozilla.com
push dateTue, 23 May 2017 16:05:54 +0000
bugs1348490
milestone55.0a1
Bug 1348490 - Part 2. Enable reftests of ::moz-placeholder. MozReview-Commit-ID: 5uk3q6CMbn5
layout/reftests/css-placeholder/input/reftest.list
layout/reftests/forms/input/number/reftest.list
--- a/layout/reftests/css-placeholder/input/reftest.list
+++ b/layout/reftests/css-placeholder/input/reftest.list
@@ -3,26 +3,26 @@
 # text colour without changing the caret which means that the tested page has
 # a black caret with a grey text and the reference has a grey caret with grey
 # text. The only thing that is doable is to make the caret grey in the tested
 # page but that would make the test moot because a failure wouldn't be seen.
 # A real way to fix this would be to be able to style the caret or to implement
 # ::value (bug 648643), depending of the ::value behaviour (it could change the
 # caret colour and the text colour or just the text colour).
 
-fails-if(stylo) == placeholder-simple.html placeholder-simple-ref.html
+== placeholder-simple.html placeholder-simple-ref.html
 # needs-focus == placeholder-focus.html placeholder-focus-ref.html
-needs-focus fails-if(stylo) == placeholder-blur.html placeholder-simple-ref.html
+needs-focus == placeholder-blur.html placeholder-simple-ref.html
 == placeholder-value.html placeholder-value-ref.html
 == placeholder-empty-string.html placeholder-empty-string-ref.html
-fails-if(stylo) == placeholder-add.html placeholder-simple-ref.html
+== placeholder-add.html placeholder-simple-ref.html
 == placeholder-removal.html input-ref.html
 == placeholder-value-set.html placeholder-value-ref.html
-fails-if(stylo) == placeholder-value-unset.html placeholder-simple-ref.html
-fails-if(stylo) == placeholder-value-reset.html placeholder-simple-ref.html
-fails-if(stylo) == placeholder-type-change-1.html placeholder-simple-ref.html
+== placeholder-value-unset.html placeholder-simple-ref.html
+== placeholder-value-reset.html placeholder-simple-ref.html
+== placeholder-type-change-1.html placeholder-simple-ref.html
 == placeholder-type-change-2.html placeholder-button-ref.html
 == placeholdershown.html placeholdershown-ref.html
-fails-if(stylo) == css-display.html placeholder-simple-ref.html
+== css-display.html placeholder-simple-ref.html
 # We can't check except by verifying that the output is different.
 # Same reasons as focus issues explained above.
-fails-if(stylo) != css-opacity.html placeholder-simple-ref.html
-fails-if(stylo) != css-text-align.html placeholder-simple-ref.html
+!= css-opacity.html placeholder-simple-ref.html
+!= css-text-align.html placeholder-simple-ref.html
--- a/layout/reftests/forms/input/number/reftest.list
+++ b/layout/reftests/forms/input/number/reftest.list
@@ -39,17 +39,17 @@ skip-if(Android) == number-max-height-2.
 fuzzy-if(skiaContent,2,5) needs-focus skip-if(stylo) == focus-handling.html focus-handling-ref.html
 
 # select
 fuzzy-if(skiaContent,1,1) skip-if(stylo) == number-selected.html number-selected-ref.html
 
 # pseudo-elements not usable from content:
 == number-pseudo-elements.html number-pseudo-elements-ref.html
 
-fails-if(stylo) == number-placeholder.html number-placeholder-ref.html
+== number-placeholder.html number-placeholder-ref.html
 
 # check that if the anonymous text control is reframed, we reframe the whole
 # number control (the fuzzy is for the top-right and bottom-left of the border
 # bevel which gets slightly different antialiasing after invalidation):
 fuzzy(128,4) == number-reframe-anon-text-field.html number-reframe-anon-text-field-ref.html
 
 == pseudo-classes.html about:blank