aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-display
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2018-01-31 09:13:41 -0500
committerJosh Matthews <josh@joshmatthews.net>2018-01-31 12:24:47 -0500
commit0e1caebaf4671498ee05abc24027ce0da3b5e601 (patch)
treea7f7a718f32ceb363def49ceee022368d9e952d7 /tests/wpt/web-platform-tests/css/css-display
parentc88dc51d03a81e9e405688ccd2baae75d61ffffd (diff)
downloadservo-0e1caebaf4671498ee05abc24027ce0da3b5e601.tar.gz
servo-0e1caebaf4671498ee05abc24027ce0da3b5e601.zip
Update web-platform-tests to revision 10168e9a5d44efbc6e7d416d1d454eb9c9f1396c
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-display')
-rw-r--r--tests/wpt/web-platform-tests/css/css-display/display-contents-fieldset-nested-legend-ref.html6
-rw-r--r--tests/wpt/web-platform-tests/css/css-display/display-contents-fieldset-nested-legend.html24
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-display/display-contents-fieldset-nested-legend-ref.html b/tests/wpt/web-platform-tests/css/css-display/display-contents-fieldset-nested-legend-ref.html
new file mode 100644
index 00000000000..6f547b3201c
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-display/display-contents-fieldset-nested-legend-ref.html
@@ -0,0 +1,6 @@
+<!doctype html>
+<meta charset="utf-8">
+<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
+<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
+<title>CSS Test Reference</title>
+<fieldset style="color: green">P<legend style="padding: 0">legend</legend>ASS</fieldset>
diff --git a/tests/wpt/web-platform-tests/css/css-display/display-contents-fieldset-nested-legend.html b/tests/wpt/web-platform-tests/css/css-display/display-contents-fieldset-nested-legend.html
new file mode 100644
index 00000000000..a3bd2fc9983
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-display/display-contents-fieldset-nested-legend.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<meta charset="utf-8">
+<link rel="match" href="display-contents-fieldset-nested-legend-ref.html">
+<link rel="help" href="https://drafts.csswg.org/css-display/#unbox">
+<link rel="help" href="https://drafts.csswg.org/css-display/#valdef-display-contents">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1427292">
+<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
+<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
+<title>CSS Test: display: contents on legend</title>
+<style>
+fieldset {
+ color: red;
+}
+.contents {
+ display: contents;
+ color: green;
+ border: 10px solid red;
+}
+</style>
+<fieldset><legend class="contents">P<legend>legend</legend>ASS</legend></fieldset>