Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: third_party/WebKit/LayoutTests/shadow-dom/focus-shadowhost-display-none-expected.txt

Issue 1774113002: Move Shadow DOM V1 tests from fast/dom/shadow to shadow-dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Check if shadow host with display:none CSS rule for :focus works. crbug.com/4828 30 1 Check if shadow host with display:none CSS rule for :focus works. crbug.com/4828 30
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 when shadow host itself is focused, it should match display:none, lose focus the n becomes display:block again. 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" 7 PASS window.getComputedStyle(host).display is "none"
8 PASS document.activeElement is host 8 PASS document.activeElement is host
9 PASS root.activeElement is null 9 PASS root.activeElement is null
10 PASS successfullyParsed is true 10 PASS successfullyParsed is true
11 11
12 TEST COMPLETE 12 TEST COMPLETE
13 PASS window.getComputedStyle(host).display is "block" 13 PASS window.getComputedStyle(host).display is "block"
14 PASS document.activeElement is document.body 14 PASS document.activeElement is document.body
15 PASS root.activeElement is null 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. 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" 17 PASS window.getComputedStyle(host).display is "none"
18 PASS document.activeElement is host 18 PASS document.activeElement is host
19 PASS root.activeElement is input 19 PASS root.activeElement is input
20 PASS window.getComputedStyle(host).display is "block" 20 PASS window.getComputedStyle(host).display is "block"
21 PASS document.activeElement is document.body 21 PASS document.activeElement is document.body
22 PASS root.activeElement is null 22 PASS root.activeElement is null
23 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698