From cf98ee0a14bc9cc1322c06a0e28d05c812079615 Mon Sep 17 00:00:00 2001 From: Vitor Menezes Date: Wed, 3 Aug 2011 11:30:58 -0700 Subject: [PATCH] Bug 403524: Merging codepaths introduced some reftest failures; we need to fix them (r=dbaron) It would appear that shadows were expected to render above underlines, violating the CSS3 spec for text-shadow (http://dev.w3.org/csswg/css3-text/#text-shadow). The text-overflow reftest relied on our previous standards-mode decoration implementation, which drew strikethroughs after drawing the contents of the box, regardless of whether there was any text; the reference thus no longer needs to artificially introduce the decoration. --- .../standards-decorations-ref.html | 2 +- .../decorations-multiple-zorder-ref.html | 30 +++++++++---------- .../standards-decor-noblur-ref.html | 15 ++++------ .../text-shadow/standards-decor-noblur.html | 2 +- 4 files changed, 21 insertions(+), 28 deletions(-) diff --git a/layout/reftests/text-overflow/standards-decorations-ref.html b/layout/reftests/text-overflow/standards-decorations-ref.html index 02757b630674..b88c3f08148a 100644 --- a/layout/reftests/text-overflow/standards-decorations-ref.html +++ b/layout/reftests/text-overflow/standards-decorations-ref.html @@ -63,7 +63,7 @@ m { font-size:20px; color:blue; }
0123 56789012
1 56789012345
-
 
+
… 
 
 
diff --git a/layout/reftests/text-shadow/decorations-multiple-zorder-ref.html b/layout/reftests/text-shadow/decorations-multiple-zorder-ref.html index 000c19e825f7..f071413f714d 100644 --- a/layout/reftests/text-shadow/decorations-multiple-zorder-ref.html +++ b/layout/reftests/text-shadow/decorations-multiple-zorder-ref.html @@ -1,25 +1,23 @@ - + +
testforquirks
-
testforquirks
- -
test
-
test
- - +
testforquirks
-
testforquirks
- -
testfor
-
testfor
- - +
testforquirks
-
testforquirks
- -
testforquirks
+ + + +
testforquirks
+
test
+ +
testforquirks
+
testfor
+ +
testforquirks
testforquirks
diff --git a/layout/reftests/text-shadow/standards-decor-noblur-ref.html b/layout/reftests/text-shadow/standards-decor-noblur-ref.html index 319fb94db6bf..8a962a41e923 100644 --- a/layout/reftests/text-shadow/standards-decor-noblur-ref.html +++ b/layout/reftests/text-shadow/standards-decor-noblur-ref.html @@ -9,13 +9,8 @@ color: rgba(0, 0, 0, 0); } -
Hello
-
Hello
-
Hello
-
Hello
-
Hello
-
Hello
-
Hello
-
Hello
-
Hello
-
Hello
+
Hello
+
Hello
+
Hello
+
Hello
+
Hello
diff --git a/layout/reftests/text-shadow/standards-decor-noblur.html b/layout/reftests/text-shadow/standards-decor-noblur.html index cf9594519d41..8b5c3a1b3cb7 100644 --- a/layout/reftests/text-shadow/standards-decor-noblur.html +++ b/layout/reftests/text-shadow/standards-decor-noblur.html @@ -1,4 +1,4 @@ - +
Hello