mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
ffab172cd7
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.
17 lines
676 B
HTML
17 lines
676 B
HTML
<!DOCTYPE HTML>
|
|
<style>
|
|
.underlined {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
span {
|
|
color: rgba(0, 0, 0, 0);
|
|
}
|
|
</style>
|
|
|
|
<div class="underlined" style="position: absolute; top: 33px; left: 33px; color: grey; z-index: 0;">Hello</div>
|
|
<div class="underlined" style="position: absolute; top: 30px; left: 30px; color: green; z-index: 1;">Hello</div>
|
|
<div class="underlined" style="position: absolute; top: 27px; left: 27px; color: red; z-index: 2;">Hello</div>
|
|
<div class="underlined" style="position: absolute; top: 24px; left: 24px; color: purple; z-index: 3;">Hello</div>
|
|
<div class="underlined" style="position: absolute; top: 20px; left: 20px; color: black; z-index: 4;">Hello</div>
|