OLD | NEW |
| (Empty) |
1 Check if shadow host with display:none CSS rule for :focus works. crbug.com/4828
30 | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 when shadow host itself is focused, it should match display:none, lose focus the
n becomes display:block again. | |
7 PASS window.getComputedStyle(host).display is "none" | |
8 PASS document.activeElement is host | |
9 PASS root.activeElement is null | |
10 PASS successfullyParsed is true | |
11 | |
12 TEST COMPLETE | |
13 PASS window.getComputedStyle(host).display is "block" | |
14 PASS document.activeElement is document.body | |
15 PASS root.activeElement is null | |
16 when shadow host with delegatesFocus=true has focused element inside the shadow,
it should also match display:none, then lose focus and become display:block aga
in. | |
17 PASS window.getComputedStyle(host).display is "none" | |
18 PASS document.activeElement is host | |
19 PASS root.activeElement is input | |
20 PASS window.getComputedStyle(host).display is "block" | |
21 PASS document.activeElement is document.body | |
22 PASS root.activeElement is null | |
23 | |
OLD | NEW |