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

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

Issue 2532283002: Minor test cleanup of table-cell-changes-to-colgroup.html (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 | « third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup.html ('k') | no next file » | 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-expected.html
diff --git a/third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup-expected.html b/third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup-expected.html
index 6ec4c6783c60c145cc5cd79142491760721ea101..4f5c1170af2b700ea04b2b8d74abc12af5e39ab6 100644
--- a/third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup-expected.html
+++ b/third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup-expected.html
@@ -1,18 +1,20 @@
<!doctype html>
<style>
-.c7 { background: white; direction: rtl; }
-.c7[class*="c7"] { display: table-column-group; }
-.c13 { display: table-cell; border-style: ridge; will-change: transform; }
+.tableColumnGroup {
+ display: table-column-group;
+}
+.tableCell {
+ display: table-cell;
+ border-style: ridge;
+ will-change: transform;
+}
</style>
<script>
-var nodes = Array();
-nodes[1] = document.createElement('label');
-nodes[1].setAttribute('class', 'c7');
-document.documentElement.appendChild(nodes[1]);
-nodes[2] = document.createElement('colgroup');
-nodes[2].setAttribute('class', 'c11');
-document.documentElement.appendChild(nodes[2]);
-nodes[3] = document.createElement('aside');
-nodes[3].setAttribute('class', 'c13');
-document.documentElement.appendChild(nodes[3]);
+function createAndAppendWithClass(targetType, targetClass) {
+ var targetElement = document.createElement(targetType);
+ targetElement.setAttribute('class', targetClass);
+ document.documentElement.appendChild(targetElement);
+}
+createAndAppendWithClass('label', 'tableCell');
+createAndAppendWithClass('aside', 'tableColumnGroup');
</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698