OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | 3 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
4 </head> | 4 </head> |
5 <script src="../js/resources/js-test-pre.js"> </script> | 5 <script src="../../resources/js-test.js"> </script> |
6 <script> | 6 <script> |
7 window.jsTestIsAsync = true; | 7 window.jsTestIsAsync = true; |
8 | 8 |
9 function test() { | 9 function test() { |
10 document.forms.f.submit(); | 10 document.forms.f.submit(); |
11 } | 11 } |
12 </script> | 12 </script> |
13 <body onload="test()"> | 13 <body onload="test()"> |
14 <p>Test that when dir attribute is specified for non html element, it is not con
sidered for dirname attribute value in submission body.</p> | 14 <p>Test that when dir attribute is specified for non html element, it is not con
sidered for dirname attribute value in submission body.</p> |
15 <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0
400 400" dir="rtl"> | 15 <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0
400 400" dir="rtl"> |
(...skipping 10 matching lines...) Expand all Loading... |
26 if (document.location.href.match('\\?')) { | 26 if (document.location.href.match('\\?')) { |
27 shouldBeTrue('document.location.search.indexOf("nonHtmlAncestor.dir=ltr") !=
-1'); | 27 shouldBeTrue('document.location.search.indexOf("nonHtmlAncestor.dir=ltr") !=
-1'); |
28 finishJSTest(); | 28 finishJSTest(); |
29 } | 29 } |
30 | 30 |
31 successfullyParsed = true; | 31 successfullyParsed = true; |
32 </script> | 32 </script> |
33 </div> | 33 </div> |
34 </body> | 34 </body> |
35 </html> | 35 </html> |
OLD | NEW |