Index: third_party/WebKit/LayoutTests/fast/table/inner-percent-width-affects-outer-floated-div.html |
diff --git a/third_party/WebKit/LayoutTests/fast/table/inner-percent-width-affects-outer-floated-div.html b/third_party/WebKit/LayoutTests/fast/table/inner-percent-width-affects-outer-floated-div.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d73bdb4f280f8934a551511e7058d554ae2b0894 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/table/inner-percent-width-affects-outer-floated-div.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<p>There should be a blue square below. Inner table's percent-driven width |
+should affect the shrink-to-fit div.</p> |
+<div style="float:left; background:blue;" data-expected-width=200 id="outerDiv"> |
+ <table cellspacing="0" cellpadding="0"> |
+ <td style="width:20%;"> |
+ <div style="width:40px; height:200px;"></div> |
+ </td> |
+ <td></td> |
+ </table> |
+</div> |
+<script src="../../resources/check-layout.js"></script> |
+<script> |
+checkLayout('#outerDiv'); |
+</script> |