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

Unified Diff: third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup.html

Issue 2522923003: Reference table row via the cell for row background display item client. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup.html
diff --git a/third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup.html b/third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup.html
new file mode 100644
index 0000000000000000000000000000000000000000..85dacd6580c065efc681a4ba07c719ab428b8e6e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup.html
@@ -0,0 +1,26 @@
+<!doctype html>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<!-- Test passes if it does not crash on an ASAN build. -->
+<style>
+.c7 { background: white; direction: rtl; }
+.c7[class*="c7"] { display: table-column-group; }
+.c13 { display: table-cell; border-style: ridge; will-change: transform; }
Xianzhu 2016/11/23 00:56:25 Are all of the CSS properties necessary for reprod
wkorman 2016/11/23 02:05:22 I spent time taking some out, I was able to pull a
+</style>
+<script>
+var nodes = Array();
+nodes[1] = document.createElement('label');
+nodes[1].setAttribute('class', 'c13');
+document.documentElement.appendChild(nodes[1]);
+nodes[2] = document.createElement('colgroup');
+nodes[2].setAttribute('class', 'c13');
+document.documentElement.appendChild(nodes[2]);
+nodes[3] = document.createElement('aside');
+nodes[3].setAttribute('class', 'c13');
+document.documentElement.appendChild(nodes[3]);
Xianzhu 2016/11/23 00:56:25 Can the script be replaced with direct HTML?
wkorman 2016/11/23 02:05:22 Have tried a number of ways without success. Main
+if (window.testRunner)
+ testRunner.waitUntilDone();
+runAfterLayoutAndPaint(function() {
+ nodes[2].setAttribute('class', 'c11');
+ nodes[1].setAttribute('class', 'c7');
Xianzhu 2016/11/23 00:56:25 Please replace nodes[<n>] and c<n> with meaningful
wkorman 2016/11/23 02:05:22 Done.
+}, true);
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698