summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-decoration/decoration-color-quirks-ref.html
blob: 0366b7ddba836904b6f077046e84b1bcf8f8f76f (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<style>
 *{
     text-decoration-skip-ink: none;
 }
</style>
<p style="color: #008000;
          text-decoration: underline line-through overline;">
  <span style="color: #0000FF;">This blue text has green decoration lines</span>
</p>
<p style="color: yellow;
          text-decoration: underline line-through overline;">
  <span style="color: red;">This red text has yellow decoration lines</span>
</p>
<p style="color: red; text-decoration: underline line-through overline;">
  <span style="color: #0000FF">This blue text has red lines</span>
</p>
<p style="color: orange;">
  This orange text has transparent lines
</p>
<p>
  Here is no decoration lines, but
  <span style="font-size: 2em;
               color: green;
               text-decoration: underline line-through overline;">
    <span style="color: blue;">
      this blue text has green decoration lines</span></span>,
  and here is no decoration lines too.
</p>
<p style="color: red;">
  This is red paragraph and here is no decoration lines, but
  <span style="font-size: 2em;
               color: green;
               text-decoration: underline line-through overline;">
    <span style="color: red;">here are green decoration lines</span></span>,
  and here is no decoration lines too.
</p>
<p style="color: purple;
          text-decoration: underline line-through overline;">
  This is purple paragraph and here are decoration lines of current color, but
  <span style="font-size: 2em;
               color: red;
               text-decoration: underline line-through overline;">
    <span style="color: purple;">here are red decoration lines</span></span>,
  and here are current color decoration lines.
</p>
<p style="color: green;
          text-decoration: underline line-through overline;">
  This is green paragraph and here are decoration lines of current color, and
  <span style="font-size: 2em;">
    here is specified red decoration color but has current color lines</span>,
  and here are current color decoration lines.
</p>
<p style="color: blue;">
  This is blue paragraph,
  <span style="font-size:2em;
               color: red;
               text-decoration: underline line-through overline;
               text-decoration-color: red;">
    here is red text with red decoration lines</span>,
  and here is blue text without decoration lines.
</p>
<p style="color: blue;">
  This is blue paragraph and decoration color is specified as green,
  <span style="font-size:2em;
               color: red;
               text-decoration: underline line-through overline;
               text-decoration-color: green;">
    here is red text with green decoration lines</span>,
  and here is blue text without decoration lines.
</p>
<p style="color: blue;
          text-decoration: underline line-through overline;">
  Here has blue decoration lines even though its color is specified as red
  before text-decoration.
</p>