summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/shadow-dom/slot-fallback-content-004-ref.html
blob: 85d8f6ef2b7c3a80ae83a49e8d4300ca7235f358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<meta charset="utf-8" >
<meta name="author" title="Di Zhang" href="mailto:dizhangg@chromium.org">
<meta name="assert" content="Remove assigned light nodes of a slot, when dynamically created.">
<title>Shadow DOM: Slots and fallback contents</title>

<p>Test passes if there is one line of text "SLOT1" below.</p>

<div>
  <div>SLOT1</div>
</div>

<p>Test passes if empty.</p>

<p>Test passes if there is one line of text "SLOT3" below.</p>

<div>
  <div>SLOT3</div>
</div>

<p>Test passes if there is one line of text "SLOT4" below.</p>

<div>
  <div>SLOT4</div>
</div>