Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 @namespace url(test);
6 div {
7 background-color: green;
8 }
9 div[dir=RTL ]
10 {background-color: red !important;
11 }
12 </style>
13 <script>
14 function f() {
15 var elem = document.createElementNS("test","div");
16 elem.setAttribute("dir","rtl");
17 elem.appendChild(document.createTextNode("text"));
18 document.getElementsByTagName("body")[0].appendChild(elem); }
19 </script>
20 </head>
21 <body onload="f();">
22 </body>
23 </html>