5 window
.testRunner
.dumpAsText();
7 var textAlign
= window
.getComputedStyle(document
.getElementById("div")).textAlign
;
8 if (textAlign
== "start")
9 document
.body
.innerText
= "SUCCESS";
11 document
.body
.innerText
= "FAILURE. text-align was " + textAlign
+ ", it should have been start";
15 <body onLoad=
"runTest();">
16 <div id=
"div" style=
"direction:rtl;">test
</div>