summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-decoration/text-decoration-propagation-1-quirks.html
blob: 18b0e893ab1a6ab0b30f8821c8352b1f0e72ead8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<title>text-decoration</title>
<style>
 *{
     text-decoration-skip-ink: none;
 }
</style>
<h1>text-decoration on a block</h1>

<div style="text-decoration: underline">

  text directly in parent

  <div>text in block</div>

  <div style="float:left; clear: left">text in float</div>
  <div style="clear:left"></div>

  <div style="display:inline-block">text in<br>inline-block</div>
  <div style="display:inline-table">text in<br>inline-table</div>

  <div style="height: 2em">
    <div style="position: absolute">text in abs-pos</div>
  </div>

</div>

<h1>text-decoration on an inline</h1>

<div style="text-decoration: underline; display: inline">

  text directly in parent

  <div>text in block</div>

  <div style="float:left; clear: left">text in float</div>
  <div style="clear:left"></div>

  <div style="display:inline-block">text in<br>inline-block</div>
  <div style="display:inline-table">text in<br>inline-table</div>

  <div style="height: 2em">
    <div style="position: absolute">text in abs-pos</div>
  </div>

</div>