layout/reftests/bugs/362901-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <style>
michael@0 5 body { font-family: sans-serif; }
michael@0 6 .f::first-letter { color: green }
michael@0 7 </style>
michael@0 8 <script>
michael@0 9 window.onload = function() {
michael@0 10 var lst = document.getElementsByClassName("d");
michael@0 11 for (var i = 0; i < lst.length; ++i) {
michael@0 12 lst[i].insertBefore(document.createTextNode("Text"),
michael@0 13 lst[i].firstChild);
michael@0 14 }
michael@0 15 }
michael@0 16 </script>
michael@0 17 </head>
michael@0 18 <body>
michael@0 19 <div class="f">Text</div>
michael@0 20 <div class="f" style="overflow: auto">Text</div>
michael@0 21 <fieldset class="f">Text</fieldset>
michael@0 22 <table><tr><td class="f">Text</td></tr></table>
michael@0 23
michael@0 24 <div class="f d"></div>
michael@0 25 <div class="f d" style="overflow: auto"></div>
michael@0 26 <fieldset class="f d"></fieldset>
michael@0 27 <table><tr><td class="f d"></td></tr></table>
michael@0 28
michael@0 29 <div class="f d">More Text</div>
michael@0 30 <div class="f d" style="overflow: auto">More Text</div>
michael@0 31 <fieldset class="f d">More Text</fieldset>
michael@0 32 <table><tr><td class="f d">More Text</td></tr></table>
michael@0 33
michael@0 34 </body>
michael@0 35 </html>

mercurial