1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
5 <title>block-flow parser test
</title>
7 function print(message
)
9 var paragraph
= document
.createElement("li");
10 paragraph
.appendChild(document
.createTextNode(message
));
11 document
.getElementById("console").appendChild(paragraph
);
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
)
23 elem
.style
.webkitBlockFlow
= blockFlowValues
[i
];
24 print("-webkit-block-flow:" + elem
.style
.webkitBlockFlow
);
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>
37 <p><ol id=console
></ol></p>