OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 :visited { color: red } | 4 :visited { color: red } |
5 :visited #l1 { color: green } | 5 :visited #l1 { color: green } |
6 :visited > #l2 { color: green } | 6 :visited > #l2 { color: green } |
7 :visited span :visited { color: green } | 7 :visited span :visited { color: green } |
8 :link + #span1 { color: green } | 8 :link + #span1 { color: green } |
9 :visited + #span1 { color: red } | 9 :visited + #span1 { color: red } |
10 :link ~ #span2 { color: green } | 10 :link ~ #span2 { color: green } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 Test that indirect adjacent selector doesn't match visited style. | 46 Test that indirect adjacent selector doesn't match visited style. |
47 The link should be red, with red underlining. | 47 The link should be red, with red underlining. |
48 The span should be green. | 48 The span should be green. |
49 </p> | 49 </p> |
50 <p> | 50 <p> |
51 <a href="">Link</a> | 51 <a href="">Link</a> |
52 <span id=span2>Span</span> | 52 <span id=span2>Span</span> |
53 </p> | 53 </p> |
54 </body> | 54 </body> |
55 </html> | 55 </html> |
OLD | NEW |