blob: 3b410c60b2ad6f92b38919887ac58522c351e4d9 [file] [log] [blame]
<!DOCTYPE html>
<head>
<title>This test that ruby before/after element does not cause an unexpected downcast.</title>
<style>
ruby:after {
content:"foo";
}
ruby:before {
content:"bar";
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<br><ruby id="foo"></ruby>PASS if no assert or crash in debug build.
<script>
setTimeout(function() { document.getElementById("foo").appendChild(document.createElement("rt")); }, 0);
</script>
</body>
</html>