Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / text-align-initial.html
blob824e14665350d264d1f75829ee350d9ad46b57cb
1 <head>
2 <script>
3 function runTest() {
4 if (window.testRunner)
5 window.testRunner.dumpAsText();
7 var textAlign = window.getComputedStyle(document.getElementById("div")).textAlign;
8 if (textAlign == "start")
9 document.body.innerText = "SUCCESS";
10 else
11 document.body.innerText = "FAILURE. text-align was " + textAlign + ", it should have been start";
13 </script>
14 </head>
15 <body onLoad="runTest();">
16 <div id="div" style="direction:rtl;">test</div>
17 </body>