summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-display/display-contents-details.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-display/display-contents-details.html')
-rw-r--r--testing/web-platform/tests/css/css-display/display-contents-details.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-display/display-contents-details.html b/testing/web-platform/tests/css/css-display/display-contents-details.html
new file mode 100644
index 0000000000..0dcda91ab3
--- /dev/null
+++ b/testing/web-platform/tests/css/css-display/display-contents-details.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Display: display:contents and HTML details and summary elements</title>
+<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
+<link rel="help" href="https://drafts.csswg.org/css-display/#unbox-html">
+<link rel="match" href="display-contents-pass-ref.html">
+<style>
+ html { font-kerning: none; font-feature-settings: "kern" off; }
+ details, summary {
+ all: initial;
+ border: 10px solid red;
+ display: contents;
+ }
+</style>
+<p>You should see the word PASS below.</p>
+P<details open><summary>A</summary><span>S</span></details>S