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

Unified Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-display-3/support/acid.css

Issue 2588093003: Import display: contents tests from csswg-test. (Closed)
Patch Set: Rebased Created 4 years 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/imported/csswg-test/css-display-3/support/acid.css
diff --git a/third_party/WebKit/LayoutTests/imported/csswg-test/css-display-3/support/acid.css b/third_party/WebKit/LayoutTests/imported/csswg-test/css-display-3/support/acid.css
new file mode 100644
index 0000000000000000000000000000000000000000..62d1aca2e5147cb849f8a36d616cf7143e9cf055
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/csswg-test/css-display-3/support/acid.css
@@ -0,0 +1,59 @@
+html, body {
+ color: black;
+ background-color: white;
+ font-size: 16px;
+ padding: 0;
+ margin: 0;
+}
+
+body { color: red; }
+
+.table {
+ display: table;
+ border-collapse: collapse;
+ border: blue solid 1pt;
+}
+
+.itable { display: inline-table; }
+.caption { display: table-caption; }
+.cell {
+ display: table-cell;
+ border: inherit;
+}
+.row {
+ display: table-row;
+ border: green dashed 1pt;
+}
+.rowg { display: table-row-group; }
+.head { display: table-header-group; }
+.foot { display: table-footer-group; }
+.col { display: table-column; }
+.colg { display: table-column-group; }
+.flex { display: flex; }
+.iflex { display: inline-flex; }
+.li { display: list-item; }
+.ib { display: inline-block; }
+.inline { display: inline; }
+.columns { columns: 2; height: 4em; }
+.contents {
+ display: contents;
+ align-items: inherit;
+ justify-items:inherit;
+}
+.c1 { color: lime; }
+.c2 { background: blue; color: pink; }
+.c3 { color: teal; }
+.c4 { color: green; }
+.c5 { color: silver; }
+.c6 { color: cyan; }
+.c7 { color: magenta; }
+.c8 { color: yellow; }
+.c9 { color: grey; }
+.c10{ color: black; }
+.b { background: inherit; }
+
+/** This is the only difference between references and non-reference styles */
+.ref .c2 { background: transparent; }
+.ref .b { background:blue; }
+.ref div.contents { display: block; }
+.ref span.contents { display: inline; }

Powered by Google App Engine
This is Rietveld 408576698