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

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

Issue 1952133006: [css-tables] Set table and cell widths dirty when row border width changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/change-row-border-width.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/change-row-border-width.html b/third_party/WebKit/LayoutTests/fast/table/change-row-border-width.html
new file mode 100644
index 0000000000000000000000000000000000000000..c8043a597fe8b4f615616a80d3a6947bc2247483
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/change-row-border-width.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<style>
+ td {
+ width: 50px;
+ height: 50px;
+ padding: 0px;
+ }
+</style>
+<script src="../../resources/check-layout.js"></script>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<script type="text/javascript">
+ runAfterLayoutAndPaint(function() {
+ document.getElementById("row").style.borderWidth = "4px";
+ checkLayout("table");
+ }, true);
+</script>
+There should be a square with a 4px blue border.
+<table style="border-collapse:collapse" data-expected-width=58 data-expected-height=58>
+ <tr style="border:18px solid lightblue" id="row">
+ <td />
+ </tr>
+</table>

Powered by Google App Engine
This is Rietveld 408576698