summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/shadow-dom/slot-fallback-content-006-ref.html
blob: 85d53bf53bc687ea282b4713828215a297a65e6d (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
26
27
28
29
30
31
32
33
34
35
36
37
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>