blob: e1a1a8489bdf0010a48e49fc81d28b88ca7e585d [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<input value='foo'>
This test passes if it doesn't assert or crash.
</body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
const head = document.getElementsByTagName("head")[0];
let style = document.createElement("style");
style.innerHTML = "::first-letter { color:blue; }";
head.appendChild(style);
document.body.offsetLeft;
style = document.createElement("style");
style.innerHTML = "* { position: absolute; }";
head.appendChild(style);
</script>
</html>