Index: third_party/WebKit/LayoutTests/fast/layout/subtree-layout-percent-height-assert.html |
diff --git a/third_party/WebKit/LayoutTests/fast/layout/subtree-layout-percent-height-assert.html b/third_party/WebKit/LayoutTests/fast/layout/subtree-layout-percent-height-assert.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f662d7ff53383d9b5532256eebae54f5f6fcb8a0 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/layout/subtree-layout-percent-height-assert.html |
@@ -0,0 +1,25 @@ |
+<!DOCTYPE html> |
+<style> |
+.scope { |
+ width: 200px; |
+ height: 200px; |
+ overflow: hidden; |
+} |
+</style> |
+<div class="scope"> |
+ <table> |
+ <tr> |
+ <img src="autumn.jpg" width="150" height="148"> |
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1"> |
+ <foreignObject width="100%" height="100%"> |
+ <div style="width:100%; height:100%;"></div> |
+ </foreignObject> |
+ </svg> |
+ </tr> |
+ </table> |
+</div> |
+<p>Test passes if it doesn't assert.</p> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+</script> |