<!DOCTYPE html> | |
<html> | |
<head> | |
<title>This tests that we can handle continuation when "display: contents" element becomes non-contents</title> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
</script> | |
</head> | |
<body> | |
<slot id=slot>PASS if no crash<span><div></div></span>or assert.</slot> | |
<script> | |
document.body.offsetHeight; | |
slot.style.display = "inline"; | |
</script> | |
</body> | |
</html> |