mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add reftest for bug 676538 (text-decoration offsets on block, child inline, and grandchild inline).
This commit is contained in:
parent
634b38b6b7
commit
b646a65f01
23
layout/reftests/text-decoration/676538-1-ref.html
Normal file
23
layout/reftests/text-decoration/676538-1-ref.html
Normal file
@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<title>text-decoration alignment</title>
|
||||
<meta charset=UTF-8>
|
||||
<style>
|
||||
|
||||
span.block { position: absolute; top: 0; left: 0; }
|
||||
span.dec { text-decoration: underline }
|
||||
span.hide { color: transparent }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p style="position: relative">
|
||||
<span class="block" style="margin-top: 16px"><span class="hide"></span><span class="dec" style="color:black ">x<span class="hide">xx</span></span></span>
|
||||
<span class="block" style="margin-top: 08px"><span class="hide">x</span><span class="dec" style="color:fuchsia">x<span class="hide">x</span></span></span>
|
||||
<span class="block" style="margin-top: 00px"><span class="hide">xx</span><span class="dec" style="color:aqua ">x<span class="hide"></span></span></span>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
22
layout/reftests/text-decoration/676538-1.html
Normal file
22
layout/reftests/text-decoration/676538-1.html
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<title>text-decoration alignment</title>
|
||||
<meta charset=UTF-8>
|
||||
<style>
|
||||
|
||||
p, span { text-decoration: underline }
|
||||
span { vertical-align: 8px }
|
||||
p > span { color: fuchsia }
|
||||
p > span > span { color: aqua }
|
||||
|
||||
em { font-style: normal; font-size: 5em }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>x<span>x<span>x</span></span></p>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -96,3 +96,4 @@ fails == underline-block-propagation-2-quirks.html underline-block-propagation-2
|
||||
== decoration-css21-block.html decoration-css21-block-ref.html
|
||||
!= inline-baseline-almost-standards.html inline-baseline-almost-standards-ref.html
|
||||
!= inline-baseline-quirks.html inline-baseline-quirks-ref.html
|
||||
== 676538-1.html 676538-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user