29 lines
669 B
HTML
29 lines
669 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
body * {
|
|
-webkit-writing-mode: vertical-lr;
|
|
-webkit-text-combine: horizontal;
|
|
}
|
|
#test {
|
|
height: 7px;
|
|
white-space: pre-wrap;
|
|
}
|
|
</style>
|
|
<script>
|
|
function runTest() {
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
document.body.offsetTop;
|
|
var testContainer = document.getElementById('test');
|
|
testContainer.parentNode.removeChild(testContainer);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload='runTest()'><p>Test passes if there's no crash.</p>
|
|
<!-- The empty scripts tags are needed to split the RenderCombineText and reproduce the bug. -->
|
|
<div id="test"><p>foo <script></script>
|
|
<script></script>
|
|
</p>
|
|
</div>
|
|
</body> |