gecko-dev/layout/reftests/text-shadow/standards-decor-noblur.html
Vitor Menezes cf98ee0a14 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.
2011-08-03 11:30:58 -07:00

5 lines
262 B
HTML

<!DOCTYPE HTML>
<!-- Shadows are painted below text AND its decorations -->
<div style="position: absolute; top: 20px; left: 20px; color: black; text-shadow: purple 4px 4px, red 7px 7px, green 10px 10px, grey 13px 13px; text-decoration: underline;">Hello</div>