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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/inner-percent-width-affects-outer-floated-div.html

Issue 1921973005: [css tables] Don't pass table width increase due to % columns to parents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge ToT Created 4 years, 7 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: 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>

Powered by Google App Engine
This is Rietveld 408576698