Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>CSS 2.1 Test Suite: :first-line</title> |
michael@0 | 5 | <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" /> |
michael@0 | 6 | <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> |
michael@0 | 7 | <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line"/> |
michael@0 | 8 | <meta name="flags" content="" /> |
michael@0 | 9 | <style> |
michael@0 | 10 | div, p { background: green; } |
michael@0 | 11 | div::first-line, p::first-line { background-color: red; } |
michael@0 | 12 | span.one { background: inherit; } |
michael@0 | 13 | span.two { background-color: inherit; } |
michael@0 | 14 | </style> |
michael@0 | 15 | </head> |
michael@0 | 16 | <body> |
michael@0 | 17 | <div><p><span class="one">One</span><span class="two">Two</span></p></div> |
michael@0 | 18 | </body> |