18 lines
532 B
HTML
18 lines
532 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
WebKit Bug 88022 - Cleanup empty anonymous block continuation.<br />
|
|
Test passes if you see orange and purple text should be on the same line.
|
|
<a id="target"><b style="color: orange">ONE</b><b id="two" style="color: purple">TWO</b></a>
|
|
<script>
|
|
target = document.getElementById("target");
|
|
two = document.getElementById("two");
|
|
|
|
target.offsetTop; // force a layout
|
|
two.style.display = "block";
|
|
target.offsetTop; // force a layout
|
|
two.style.display = "inline";
|
|
</script>
|
|
</body>
|
|
</html>
|