blob: 9c11c425e11e1b503e95de01fe58c3ad0dc27bd4 [file] [log] [blame]
<!-- webkit-test-runner [ InlineFormattingContextIntegrationEnabled=false ] -->
<html>
<head>
<title>This test that we don't crash on a null text node with marker on it.</title>
<style>
div:before {
content: "foobar";
display: table;
}
</style>
</head>
<body>
<div>Pass if no crash or assert.</div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
if (window.internals) {
var findOptions = ['CaseInsensitive', 'AtWordStarts', 'TreatMedialCapitalAsWordStart', 'WrapAround'];
internals.countMatchesForText('assert', findOptions, 'mark');
}
document.body.offsetHeight;
</script>
</body>
</html>