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

Side by Side Diff: LayoutTests/fast/dom/shadow/host-pseudo-class-css-text-expected.txt

Issue 212383002: Drop empty list :host() and :host-context(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 Test for cssText of ':host()' rule. 1 Test for cssText of ':host()' rule.
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 PASS document.getElementById('style1').sheet.cssRules.item(0).cssText is ".foo:h ost(div,body.mytheme,p#myid,.bar::before,span:hover) > div { display: block; }" 6 PASS document.getElementById('style1').sheet.cssRules.item(0).cssText is ".foo:h ost(div,body.mytheme,p#myid,.bar::before,span:hover) > div { display: block; }"
7 PASS document.getElementById('style1').sheet.cssRules.item(1).cssText is ":host { display: block; }" 7 PASS document.getElementById('style1').sheet.cssRules.item(1).cssText is ":host { display: block; }"
8 PASS document.getElementById('style1').sheet.cssRules.item(2).cssText is ":host { display: block; }" 8 PASS document.getElementById('style1').sheet.cssRules.item(2).cssText is ":host( *) { display: block; }"
9 PASS document.getElementById('style1').sheet.cssRules.item(3).cssText is ":host( *) { display: block; }"
10 PASS document.getElementById('style-invalid').sheet.cssRules.length is 0 9 PASS document.getElementById('style-invalid').sheet.cssRules.length is 0
11 PASS successfullyParsed is true 10 PASS successfullyParsed is true
12 11
13 TEST COMPLETE 12 TEST COMPLETE
14 13
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/host-pseudo-class-css-text.html ('k') | Source/core/css/CSSGrammar.y » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698