layout/reftests/first-line/stress-4.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.

     1 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3 <head>
     4 <style>
     5 #a:first-child::first-line { }
     6 </style>
     7 <script>
     8   function runTest() {
     9     document.getElementById("a").removeAttribute('style');
    10     document.body.offsetWidth;
    11     document.documentElement.className = "";  
    12   }
    13 </script>
    14 </head><body onload="runTest()">
    16 <div style="position:absolute;">
    17   <span id="a" style="position:fixed;">
    18     <span>
    19       <span style="display:table;position:absolute;">
    20       </span>
    21     </span>
    22     Loading this should not crash Mozilla
    23   </span>
    24 </div>
    27 </body></html>

mercurial