summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/shadow-dom/slot-fallback-content-006-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/shadow-dom/slot-fallback-content-006-ref.html')
-rw-r--r--testing/web-platform/tests/shadow-dom/slot-fallback-content-006-ref.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/web-platform/tests/shadow-dom/slot-fallback-content-006-ref.html b/testing/web-platform/tests/shadow-dom/slot-fallback-content-006-ref.html
new file mode 100644
index 0000000000..85d53bf53b
--- /dev/null
+++ b/testing/web-platform/tests/shadow-dom/slot-fallback-content-006-ref.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<meta charset="utf-8" >
+<meta name="author" title="Di Zhang" href="mailto:dizhangg@chromium.org">
+<meta name="assert" content="Imperatively assigned node overwrites fallback contents, when dynamically created.">
+<title>Shadow DOM: Slots and fallback contents</title>
+
+<p>Test passes if there are two lines of text "B", "A" below.</p>
+
+<div>
+ <div>B</div>
+ <div>A</div>
+</div>
+
+<p>Test passes if there are two lines of text "D", "C" below.</p>
+
+<div>
+ <div>D</div>
+ <div>C</div>
+</div>
+
+<p>Test passes if there are two lines of text "F", "E" below.</p>
+
+<div>
+ <div>F</div>
+ <div>E</div>
+</div>
+
+<p>Test passes if there is one line of text "SLOT4" below.</p>
+
+<div>
+ <div>SLOT4</div>
+</div>
+
+<p>Test passes if there is one line of text "SLOT5" below.</p>
+
+<div>
+ <div>SLOT5</div>
+</div>