Index: LayoutTests/fast/ruby/percentage-height-child-crash.html |
diff --git a/LayoutTests/fast/ruby/percentage-height-child-crash.html b/LayoutTests/fast/ruby/percentage-height-child-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c19d418a2c95075264402aaf08e67fc0d49f02a8 |
--- /dev/null |
+++ b/LayoutTests/fast/ruby/percentage-height-child-crash.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<p>PASS if no crash or assertion failure.</p> |
+<ruby style="display:block;"> |
+ <rt> </rt> |
+ <div style="height:50%;"></div> |
+ <rt id="elm" style="display:none;"> </rt> |
+ |
+</ruby> |
+<script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ document.body.offsetTop; |
+ document.getElementById("elm").style.display = "block"; |
+</script> |