layout/reftests/css-parsing/pseudo-elements-1.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 <!doctype html><style>
michael@0 2 div { float: left }
michael@0 3 /* Pseudo elements can appear only at the end of the selector. */
michael@0 4 .good { color: red }
michael@0 5 .bad { color: green }
michael@0 6 #good1::first-letter { color: green }
michael@0 7 #good2::first-letter, #good3 { color: green }
michael@0 8 #good4, #good5::first-letter { color: green }
michael@0 9 div > #good6::first-letter, #good7 { color:green }
michael@0 10 div #good7 > ::first-letter, #good8 { color:green }
michael@0 11
michael@0 12 #bad1::first-letter *, #bad2 { color: red }
michael@0 13 #bad4, #bad3::first-letter * { color: red }
michael@0 14 div::first-line #bad5, #bad6 { color: red }
michael@0 15 #bad7, div::first-line #bad8 { color: red }
michael@0 16 #bad9, div ::first-line>#bad10 { color:red }
michael@0 17 </style><div
michael@0 18 ><div class="good" id="good1">T</div
michael@0 19 ><div class="good" id="good2">h</div
michael@0 20 ><div class="good" id="good3">e</div
michael@0 21 ><div class="good" id="good4">r</div
michael@0 22 ><div class="good" id="good5">e</div
michael@0 23 ><div class="good" id="good6">s</div
michael@0 24 ><div class="good" id="good7">h</div
michael@0 25 ><div class="good" id="good8">o</div
michael@0 26 ><div class="bad" id="bad1" >u</div
michael@0 27 ><div class="bad" id="bad2" >l</div
michael@0 28 ><div class="bad" id="bad3" >d</div
michael@0 29 ><div class="bad" id="bad4" >b</div
michael@0 30 ><div class="bad" id="bad5" >e</div
michael@0 31 ><div class="bad" id="bad6" >n</div
michael@0 32 ><div class="bad" id="bad7" >o</div
michael@0 33 ><div class="bad" id="bad8" >r</div
michael@0 34 ><div class="bad" id="bad9" >e</div
michael@0 35 ><div class="bad" id="bad10">d</div
michael@0 36 ></div>

mercurial