<!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>