blob: 3afe5c6a5dd3aea2579dbbe3f41a06aee0472959 (
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
|
<!DOCTYPE html>
<html>
<body>
<div id="host">
<div>A</div>
<div>B</div>
<div>C</div>
<div>D</div>
<div>E</div>
<div id="F">F</div>
</div>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
var shadowRoot = host.createShadowRoot();
shadowRoot.innerHTML = '<content select="div[title]"></content>';
setTimeout(function() {
F.title = 'something';
if (window.testRunner)
testRunner.notifyDone();
}, 0);
</script>
</html>
|