Index: LayoutTests/fast/runin/run-in-sibling-inline-block.html |
diff --git a/LayoutTests/fast/runin/run-in-sibling-inline-block.html b/LayoutTests/fast/runin/run-in-sibling-inline-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e9eb5f1ca2e95d9151ac7c446ee1b9605fdee223 |
--- /dev/null |
+++ b/LayoutTests/fast/runin/run-in-sibling-inline-block.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<html> |
+<style> |
+.inlineBlock { display: inline-block; } |
+.runin { display: run-in; } |
+</style> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+function boom() { |
+ figure = document.createElement('figure'); |
+ figure.setAttribute('class', 'runin'); |
+ document.documentElement.appendChild(figure); |
+ fieldSet = document.createElement('fieldset'); |
+ document.documentElement.appendChild(fieldSet); |
+ document.body.offsetTop; |
+ fieldSet.setAttribute('class', 'inlineBlock'); |
+} |
+window.onload = boom; |
+</script> |
+<body> |
+<div> |
+This test has PASSED if it did not crash. |
+</div> |
+</body> |
+</html> |