blob: be719969dce47345c5529b8551381dd2db64a568 [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.layoutTestController)
layoutTestController.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>