layout/reftests/bugs/507762-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>
     3 <head>
     4 <style>
     5 div {
     6 background-color: red;
     7 }
     8 div[dir=ltr] 
     9 {background-color: green !important;
    10 }
    11 </style>
    12 <script>
    13 function f() {
    14 var elem = document.createElement("div");
    15 elem.setAttribute("dir","LTR");
    16 elem.appendChild(document.createTextNode("text"));
    17 document.getElementsByTagName("body")[0].appendChild(elem); }
    18 </script>
    19 </head>
    20 <body onload="f();">
    21 </body>
    22 </html>

mercurial