slot-fallback-content-006-ref.html (810B)
1 <!DOCTYPE html> 2 <meta charset="utf-8" > 3 <meta name="author" title="Di Zhang" href="mailto:dizhangg@chromium.org"> 4 <meta name="assert" content="Imperatively assigned node overwrites fallback contents, when dynamically created."> 5 <title>Shadow DOM: Slots and fallback contents</title> 6 7 <p>Test passes if there are two lines of text "B", "A" below.</p> 8 9 <div> 10 <div>B</div> 11 <div>A</div> 12 </div> 13 14 <p>Test passes if there are two lines of text "D", "C" below.</p> 15 16 <div> 17 <div>D</div> 18 <div>C</div> 19 </div> 20 21 <p>Test passes if there are two lines of text "F", "E" below.</p> 22 23 <div> 24 <div>F</div> 25 <div>E</div> 26 </div> 27 28 <p>Test passes if there is one line of text "SLOT4" below.</p> 29 30 <div> 31 <div>SLOT4</div> 32 </div> 33 34 <p>Test passes if there is one line of text "SLOT5" below.</p> 35 36 <div> 37 <div>SLOT5</div> 38 </div>