Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / international / block-flow-parser-test.html
blob5c1d1e13d88a8ea1254999e5016d2e18ded0c787
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4 <head>
5 <title>block-flow parser test</title>
6 <script>
7 function print(message)
9 var paragraph = document.createElement("li");
10 paragraph.appendChild(document.createTextNode(message));
11 document.getElementById("console").appendChild(paragraph);
13 function test()
15 if (window.testRunner)
16 testRunner.dumpAsText();
18 var blockFlowValues = ["tb", "rl", "lr", "bt"];
19 var pElems = document.getElementsByTagName("div");
20 for ( i = 0 ; i < pElems.length ; ++i )
22 var elem = pElems[i];
23 elem.style.webkitBlockFlow = blockFlowValues[i];
24 print("-webkit-block-flow:" + elem.style.webkitBlockFlow);
27 </script>
28 </head>
29 <body onload="test()">
30 <p>block-flow parser test</p>
31 <div>-webkit-block-flow:tb</div>
32 <div>-webkit-block-flow:rl</div>
33 <div>-webkit-block-flow:lr</div>
34 <div>-webkit-block-flow:bt</div>
35 <p>Okay if -webkit-block-flow values above and below are the same.</p>
36 <hr>
37 <p><ol id=console></ol></p>
38 </body>
39 </html>