summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-decoration/text-decoration-propagation-1-standards.html
blob: bba9d57f20d9400523fe075e5f9a6c3ccf3ef6c9 (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
<!DOCTYPE html>
<title>text-decoration</title>

<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>