Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / international / text-combine-parser-test.html
blobad2678dfb923fdff6e5ee0070329f525ea417cd1
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>text-combine parser test</title>
5 <script>
6 function print(message)
8 var paragraph = document.createElement("li");
9 paragraph.appendChild(document.createTextNode(message));
10 document.getElementById("console").appendChild(paragraph);
12 function test()
14 if (window.testRunner)
15 testRunner.dumpAsText();
17 var textCombineValues = ["none", "horizontal"];
18 var pElems = document.getElementsByTagName("div");
19 for ( i = 0 ; i < pElems.length ; ++i )
21 var elem = pElems[i];
22 elem.style.webkitTextCombine = textCombineValues[i];
23 print("-webkit-text-combine:" + elem.style.webkitTextCombine);
26 </script>
27 </head>
28 <body onload="test()">
29 <p>text-combine parser test</p>
30 <div>-webkit-text-combine:none</div>
31 <div>-webkit-text-combine:horizontal</div>
32 <p>Okay if -webkit-text-combine values above and below are the same.</p>
33 <hr>
34 <p><ol id=console></ol></p>
35 </body>
36 </html>