layout/reftests/first-letter/23605-5.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 <!DOCTYPE html>
michael@0 2 <!--
michael@0 3 See http://lists.w3.org/Archives/Public/www-style/2000Jan/0017.html and
michael@0 4 http://www.w3.org/TR/CSS21/selector.html#first-letter
michael@0 5 'If the letters that would form the first-letter are not in the same element,
michael@0 6 such as "'T" in <p>'<em>T..., the UA may create a first-letter
michael@0 7 pseudo-element from one of the elements, both elements, or simply not create
michael@0 8 a pseudo-element.'
michael@0 9 So it's not necessarily a bug if this test fails, but I'm including it anyway
michael@0 10 to track whether the behaviour changes. The current behaviour at the time of
michael@0 11 creating the test is that only the first element is included in the
michael@0 12 pseudo-element.
michael@0 13 -->
michael@0 14 <html>
michael@0 15 <head>
michael@0 16 <style>
michael@0 17 p:first-letter { color: red; }
michael@0 18 </style>
michael@0 19 </head>
michael@0 20 <body>
michael@0 21 <p>[<a href="http://www.mozilla.org/">A link to mozilla.org</a> is the
michael@0 22 beginning of this paragraph.]</p>
michael@0 23 </body>
michael@0 24 </html>

mercurial