From e11c14131b2e6b4dfedce7f57517442091803f9e Mon Sep 17 00:00:00 2001 From: Rune Lillesveen Date: Thu, 15 Sep 2016 14:34:17 +0200 Subject: [PATCH 1/4] Reference tests for display:contents. --- ...display-contents-before-after-001-ref.html | 5 +++++ .../display-contents-before-after-001.html | 19 ++++++++++++++++ .../display-contents-before-after-002.html | 18 +++++++++++++++ .../display-contents-block-001-ref.html | 5 +++++ css-display-3/display-contents-block-001.html | 21 ++++++++++++++++++ ...display-contents-first-letter-001-ref.html | 5 +++++ .../display-contents-first-letter-001.html | 17 ++++++++++++++ .../display-contents-first-line-001-ref.html | 5 +++++ .../display-contents-first-line-001.html | 16 +++++++++++++ .../display-contents-inline-001-ref.html | 5 +++++ .../display-contents-inline-001.html | 16 +++++++++++++ .../display-contents-replaced-001-ref.html | 16 +++++++++++++ .../display-contents-replaced-001.html | 19 ++++++++++++++++ .../display-contents-td-001-ref.html | 7 ++++++ css-display-3/display-contents-td-001.html | 13 +++++++++++ .../display-contents-tr-001-ref.html | 7 ++++++ css-display-3/display-contents-tr-001.html | 18 +++++++++++++++ css-display-3/support/swatch-orange.png | Bin 0 -> 84 bytes 18 files changed, 212 insertions(+) create mode 100644 css-display-3/display-contents-before-after-001-ref.html create mode 100644 css-display-3/display-contents-before-after-001.html create mode 100644 css-display-3/display-contents-before-after-002.html create mode 100644 css-display-3/display-contents-block-001-ref.html create mode 100644 css-display-3/display-contents-block-001.html create mode 100644 css-display-3/display-contents-first-letter-001-ref.html create mode 100644 css-display-3/display-contents-first-letter-001.html create mode 100644 css-display-3/display-contents-first-line-001-ref.html create mode 100644 css-display-3/display-contents-first-line-001.html create mode 100644 css-display-3/display-contents-inline-001-ref.html create mode 100644 css-display-3/display-contents-inline-001.html create mode 100644 css-display-3/display-contents-replaced-001-ref.html create mode 100644 css-display-3/display-contents-replaced-001.html create mode 100644 css-display-3/display-contents-td-001-ref.html create mode 100644 css-display-3/display-contents-td-001.html create mode 100644 css-display-3/display-contents-tr-001-ref.html create mode 100644 css-display-3/display-contents-tr-001.html create mode 100644 css-display-3/support/swatch-orange.png diff --git a/css-display-3/display-contents-before-after-001-ref.html b/css-display-3/display-contents-before-after-001-ref.html new file mode 100644 index 0000000000..b7e36422aa --- /dev/null +++ b/css-display-3/display-contents-before-after-001-ref.html @@ -0,0 +1,5 @@ + + +CSS Reftest Reference +

You should see the word PASS below.

+PASS diff --git a/css-display-3/display-contents-before-after-001.html b/css-display-3/display-contents-before-after-001.html new file mode 100644 index 0000000000..8a3d918762 --- /dev/null +++ b/css-display-3/display-contents-before-after-001.html @@ -0,0 +1,19 @@ + + +CSS Display: Generated ::before and ::after on display:contents + + + + +

You should see the word PASS below.

+
S
+
diff --git a/css-display-3/display-contents-before-after-002.html b/css-display-3/display-contents-before-after-002.html new file mode 100644 index 0000000000..8ca1603445 --- /dev/null +++ b/css-display-3/display-contents-before-after-002.html @@ -0,0 +1,18 @@ + + +CSS Display: Generated ::before and ::after with display:contents + + + + +

You should see the word PASS below.

+
AS
diff --git a/css-display-3/display-contents-block-001-ref.html b/css-display-3/display-contents-block-001-ref.html new file mode 100644 index 0000000000..59dfd0592b --- /dev/null +++ b/css-display-3/display-contents-block-001-ref.html @@ -0,0 +1,5 @@ + + +CSS Reftest Reference +

You should see the word PASS and no red below.

+
PASS
diff --git a/css-display-3/display-contents-block-001.html b/css-display-3/display-contents-block-001.html new file mode 100644 index 0000000000..2dbe2a01f2 --- /dev/null +++ b/css-display-3/display-contents-block-001.html @@ -0,0 +1,21 @@ + + +CSS Display: display:contents in block layout + + + + +

You should see the word PASS and no red below.

+
+
+
PASS
+
+
diff --git a/css-display-3/display-contents-first-letter-001-ref.html b/css-display-3/display-contents-first-letter-001-ref.html new file mode 100644 index 0000000000..d101ea4173 --- /dev/null +++ b/css-display-3/display-contents-first-letter-001-ref.html @@ -0,0 +1,5 @@ + + +CSS Reftest Reference +

You should see the word PASS in green and no red below.

+
PASS
diff --git a/css-display-3/display-contents-first-letter-001.html b/css-display-3/display-contents-first-letter-001.html new file mode 100644 index 0000000000..c07c8c09ba --- /dev/null +++ b/css-display-3/display-contents-first-letter-001.html @@ -0,0 +1,17 @@ + + +CSS Display: display:contents and ::first-letter + + + + + +

You should see the word PASS in green and no red below.

+
+
PASS
+
diff --git a/css-display-3/display-contents-first-line-001-ref.html b/css-display-3/display-contents-first-line-001-ref.html new file mode 100644 index 0000000000..d101ea4173 --- /dev/null +++ b/css-display-3/display-contents-first-line-001-ref.html @@ -0,0 +1,5 @@ + + +CSS Reftest Reference +

You should see the word PASS in green and no red below.

+
PASS
diff --git a/css-display-3/display-contents-first-line-001.html b/css-display-3/display-contents-first-line-001.html new file mode 100644 index 0000000000..1750c737db --- /dev/null +++ b/css-display-3/display-contents-first-line-001.html @@ -0,0 +1,16 @@ + + +CSS Display: display:contents and ::first-line + + + + + +

You should see the word PASS in green and no red below.

+
+
PASS
+
diff --git a/css-display-3/display-contents-inline-001-ref.html b/css-display-3/display-contents-inline-001-ref.html new file mode 100644 index 0000000000..e3f03428a6 --- /dev/null +++ b/css-display-3/display-contents-inline-001-ref.html @@ -0,0 +1,5 @@ + + +CSS Reftest Reference +

You should see the word PASS and no red below.

+PASS diff --git a/css-display-3/display-contents-inline-001.html b/css-display-3/display-contents-inline-001.html new file mode 100644 index 0000000000..86fa151348 --- /dev/null +++ b/css-display-3/display-contents-inline-001.html @@ -0,0 +1,16 @@ + + +CSS Display: display:contents in inline layout + + + + +

You should see the word PASS and no red below.

+ + P
AS
S +
diff --git a/css-display-3/display-contents-replaced-001-ref.html b/css-display-3/display-contents-replaced-001-ref.html new file mode 100644 index 0000000000..938dd25c5b --- /dev/null +++ b/css-display-3/display-contents-replaced-001-ref.html @@ -0,0 +1,16 @@ + + +CSS Reftest Reference + +

You should see five form inputs, and an orange image, with green border below.

+ + + + + + diff --git a/css-display-3/display-contents-replaced-001.html b/css-display-3/display-contents-replaced-001.html new file mode 100644 index 0000000000..22d3995feb --- /dev/null +++ b/css-display-3/display-contents-replaced-001.html @@ -0,0 +1,19 @@ + + +CSS Display: display:contents and replaced elements + + + + +

You should see five form inputs, and an orange image, with green border below.

+ + + + + + diff --git a/css-display-3/display-contents-td-001-ref.html b/css-display-3/display-contents-td-001-ref.html new file mode 100644 index 0000000000..56332a9813 --- /dev/null +++ b/css-display-3/display-contents-td-001-ref.html @@ -0,0 +1,7 @@ + + +CSS Reftest Reference +

You should see the word PASS without extra spacing below.

+ + +
PASS
diff --git a/css-display-3/display-contents-td-001.html b/css-display-3/display-contents-td-001.html new file mode 100644 index 0000000000..f7c8b2fbe9 --- /dev/null +++ b/css-display-3/display-contents-td-001.html @@ -0,0 +1,13 @@ + + +CSS Display: Children of multiple td elements with display:contents wrapped in single anonymous table cell + + + + +

You should see the word PASS without extra spacing below.

+ + +
PASS
diff --git a/css-display-3/display-contents-tr-001-ref.html b/css-display-3/display-contents-tr-001-ref.html new file mode 100644 index 0000000000..98eb3a0f75 --- /dev/null +++ b/css-display-3/display-contents-tr-001-ref.html @@ -0,0 +1,7 @@ + + +CSS Reftest Reference +

You should see the word PASS below.

+ + +
PASS
diff --git a/css-display-3/display-contents-tr-001.html b/css-display-3/display-contents-tr-001.html new file mode 100644 index 0000000000..16bbffcab5 --- /dev/null +++ b/css-display-3/display-contents-tr-001.html @@ -0,0 +1,18 @@ + + +CSS Display: td elements wrapped in single anonymous table-row with display:contents tr + + + + +

You should see the word PASS below.

+ + + + + + + +
PA
SS
diff --git a/css-display-3/support/swatch-orange.png b/css-display-3/support/swatch-orange.png new file mode 100644 index 0000000000000000000000000000000000000000..d3cd498b52bd88ea6c991f050f1ecb1cfdd136bb GIT binary patch literal 84 zcmeAS@N?(olHy`uVBq!ia0vp^{2;I(;rzSbh26A~kT^vIy dZY3uuFamkH42-|EgtdSy22WQ%mvv4FO#nq@5F-Ep literal 0 HcmV?d00001 From 2c3cd007b43f21115f93e616b5089a4f437bf0a3 Mon Sep 17 00:00:00 2001 From: Rune Lillesveen Date: Mon, 19 Sep 2016 13:24:44 +0200 Subject: [PATCH 2/4] fixup! Reference tests for display:contents. --- css-display-3/display-contents-replaced-001-ref.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css-display-3/display-contents-replaced-001-ref.html b/css-display-3/display-contents-replaced-001-ref.html index 938dd25c5b..048c1e2217 100644 --- a/css-display-3/display-contents-replaced-001-ref.html +++ b/css-display-3/display-contents-replaced-001-ref.html @@ -2,7 +2,7 @@ CSS Reftest Reference

You should see the word PASS and no red below.

-
+
PASS
diff --git a/css-display-3/display-contents-block-001-ref.html b/css-display-3/display-contents-block-002-ref.html similarity index 57% rename from css-display-3/display-contents-block-001-ref.html rename to css-display-3/display-contents-block-002-ref.html index 334ddd7a16..2e7105f919 100644 --- a/css-display-3/display-contents-block-001-ref.html +++ b/css-display-3/display-contents-block-002-ref.html @@ -2,5 +2,5 @@ CSS Reftest Reference -

You should see the word PASS and no red below.

-
PASS
+

You should see the word PASS with a 300px top margin below.

+
PASS
diff --git a/css-display-3/display-contents-block-002.html b/css-display-3/display-contents-block-002.html new file mode 100644 index 0000000000..2dd8a10b5e --- /dev/null +++ b/css-display-3/display-contents-block-002.html @@ -0,0 +1,20 @@ + + +CSS Display: margin collapsing through display:contents + + + + +

You should see the word PASS with a 300px top margin below.

+
+
+
PASS
+
+
diff --git a/css-display-3/display-contents-first-letter-001.html b/css-display-3/display-contents-first-letter-001.html index c07c8c09ba..eb645c9ee7 100644 --- a/css-display-3/display-contents-first-letter-001.html +++ b/css-display-3/display-contents-first-letter-001.html @@ -4,7 +4,7 @@ - + -

You should see the word PASS without extra spacing below.

- - +

You should see the word PASS below.

+
PASS
+ + +
PASS
diff --git a/css-display-3/display-contents-tr-001-ref.html b/css-display-3/display-contents-tr-001-ref.html deleted file mode 100644 index 337f10982f..0000000000 --- a/css-display-3/display-contents-tr-001-ref.html +++ /dev/null @@ -1,8 +0,0 @@ - - -CSS Reftest Reference - -

You should see the word PASS below.

- - -
PASS
diff --git a/css-display-3/display-contents-tr-001.html b/css-display-3/display-contents-tr-001.html index 16bbffcab5..11a491388e 100644 --- a/css-display-3/display-contents-tr-001.html +++ b/css-display-3/display-contents-tr-001.html @@ -3,7 +3,7 @@ CSS Display: td elements wrapped in single anonymous table-row with display:contents tr - +