Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(788)

Unified Diff: LayoutTests/fast/ruby/percentage-height-child-crash.html

Issue 1171703002: Don't let anonymous boxes impede percentage resolution on children. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>&nbsp;</rt>
+ <div style="height:50%;"></div>
+ <rt id="elm" style="display:none;">&nbsp;</rt>
+ &nbsp;
+</ruby>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ document.body.offsetTop;
+ document.getElementById("elm").style.display = "block";
+</script>
« no previous file with comments | « LayoutTests/fast/ruby/percentage-height-child.html ('k') | LayoutTests/fast/ruby/percentage-height-child-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698