Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / text-align-webkit-match-parent-parse.html
bloba3623cc39be109d0ed5b14039e1ea5b105ea8bfb
1 <!DOCTYPE html>
3 <div id=test_div>
4 Test that text-align:-webkit-match-parent is parsed correctly. The test passes if the text "PASS" is displayed below.
5 </div>
7 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
11 var testDiv = document.getElementById('test_div');
12 testDiv.style.cssText = 'text-align:-webkit-match-parent';
13 if (testDiv.style.textAlign == "-webkit-match-parent")
14 document.write("PASS");
15 else
16 document.write("FAIL");
17 </script>