blob: a3623cc39be109d0ed5b14039e1ea5b105ea8bfb [file] [log] [blame]
<!DOCTYPE html>
<div id=test_div>
Test that text-align:-webkit-match-parent is parsed correctly. The test passes if the text "PASS" is displayed below.
</div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var testDiv = document.getElementById('test_div');
testDiv.style.cssText = 'text-align:-webkit-match-parent';
if (testDiv.style.textAlign == "-webkit-match-parent")
document.write("PASS");
else
document.write("FAIL");
</script>