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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/change-table-border-width.html

Issue 2358663003: [css-tables] Set needsLayout on cells when table border width changes (Closed)
Patch Set: refactor some code into LayoutTable::markAllCellsWidthsDirty... Created 4 years, 3 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/change-table-border-width.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/change-col-border-width.html b/third_party/WebKit/LayoutTests/fast/table/change-table-border-width.html
similarity index 60%
copy from third_party/WebKit/LayoutTests/fast/table/change-col-border-width.html
copy to third_party/WebKit/LayoutTests/fast/table/change-table-border-width.html
index 7866ae066077586bc862dd6b4f682800a29f725b..deb3663d94886d056d8860bed55064e01f7ed8c1 100644
--- a/third_party/WebKit/LayoutTests/fast/table/change-col-border-width.html
+++ b/third_party/WebKit/LayoutTests/fast/table/change-table-border-width.html
@@ -9,18 +9,17 @@
<script src="../../resources/check-layout.js"></script>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script type="text/javascript">
- function shrinkColumnBorder() {
- theColumn.style.borderWidth = "4px";
+ function shrinkTableBorder() {
+ theTable.style.borderWidth = "4px";
checkLayout("div");
}
- runAfterLayoutAndPaint(shrinkColumnBorder, true);
+ runAfterLayoutAndPaint(shrinkTableBorder, true);
</script>
<p>Changing a collapsed border's width should change the width of the table and the width of a shrink-to-fit containing block.</p>
<p>There should be a square with a 4px inner blue border and a 1px outer black border.</p>
-<p>Firefox 50.0a1 (nightly 2016-07-14) fails this, so it should probably be upstreamed, except it uses chrome-specific `runAfterLayoutAndPaint`.</p>
+<p>Firefox 52.0a1 (2016-09-20) fails this, so it should probably be upstreamed, except it uses chrome-specific `runAfterLayoutAndPaint`.</p>
<div style="float:left; border: 1px solid black" data-expected-width=60>
- <table style="border-collapse:collapse" data-expected-width=58 data-expected-height=58>
- <col style="border:18px solid lightblue" id="theColumn">
+ <table id=theTable style="border:18px solid lightblue; border-collapse:collapse" data-expected-width=58 data-expected-height=58>
<tr>
<td></td>
</tr>

Powered by Google App Engine
This is Rietveld 408576698