OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 <script src="resources/shadow-dom.js"></script> | 5 <script src="resources/shadow-dom.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <div id="sandbox"> | 9 <div id="sandbox"> |
10 </div> | 10 </div> |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 shouldBe("childInShadowRoot2.focus(); shadowRoot1.activeElement", "shadowHost2")
; | 58 shouldBe("childInShadowRoot2.focus(); shadowRoot1.activeElement", "shadowHost2")
; |
59 shouldBe("childInShadowRoot2.focus(); shadowRoot2.activeElement", "childInShadow
Root2"); | 59 shouldBe("childInShadowRoot2.focus(); shadowRoot2.activeElement", "childInShadow
Root2"); |
60 | 60 |
61 evalAndLog("childInShadowRoot2.blur();"); | 61 evalAndLog("childInShadowRoot2.blur();"); |
62 shouldBe("document.activeElement", "document.body"); | 62 shouldBe("document.activeElement", "document.body"); |
63 shouldBe("shadowRoot1.activeElement", "null"); | 63 shouldBe("shadowRoot1.activeElement", "null"); |
64 shouldBe("shadowRoot2.activeElement", "null"); | 64 shouldBe("shadowRoot2.activeElement", "null"); |
65 | 65 |
66 var successfullyParsed = true; | 66 var successfullyParsed = true; |
67 </script> | 67 </script> |
68 <script src="../../js/resources/js-test-post.js"></script> | |
69 </body> | 68 </body> |
70 </html> | 69 </html> |
OLD | NEW |