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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/alternate-stylesheets-expected.txt

Issue 2239353002: Ignored title in shadow should cause StyleSheet.title = null. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 Title attribute should be ignored for style elements in shadow trees. 1 Title attribute should be ignored for style elements in shadow trees.
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 getComputedStyle(root.querySelector('div')).color is "rgb(0, 128, 0)" 6 PASS getComputedStyle(root.querySelector('div')).color is "rgb(0, 128, 0)"
7 PASS getComputedStyle(alternate).color is "rgb(0, 128, 0)" 7 PASS getComputedStyle(alternate).color is "rgb(0, 128, 0)"
8 PASS host.shadowRoot.styleSheets[0].title is null
8 PASS successfullyParsed is true 9 PASS successfullyParsed is true
9 10
10 TEST COMPLETE 11 TEST COMPLETE
11 Should be green 12 Should be green
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698