Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / inherited-properties-rare-text.html
blobfe2d0c56565e06ff99172bea2472365e0fd9925f
1 <script>
2 if (window.testRunner)
3 testRunner.dumpAsText();
4 </script>
5 <style>
6 .a { -webkit-font-feature-settings: 'dlig'; -webkit-font-smoothing: antialiased; -webkit-text-orientation: upright; }
7 </style>
8 <div class=a>
9 <div id=test1></div>
10 </div>
11 <div id=test2></div>
12 <script>
13 function test(e, p) {
14 var testDiv = document.getElementById(e);
15 var value = window.getComputedStyle(testDiv).getPropertyValue(p);
16 document.write(e + " " + p + ": " + value + "<br>");
19 test('test1', '-webkit-font-feature-settings');
20 test('test2', '-webkit-font-feature-settings');
21 test('test1', '-webkit-font-smoothing');
22 test('test2', '-webkit-font-smoothing');
23 test('test1', '-webkit-text-orientation');
24 test('test2', '-webkit-text-orientation');
25 </script>