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

Side by Side Diff: LayoutTests/fast/css/nested-at-rules-expected.txt

Issue 973623002: Fix serialization of content property to always quote (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add another method Created 5 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 nested at-rules. 1 Test nested at-rules.
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 rules = document.styleSheets[1].cssRules 6 rules = document.styleSheets[1].cssRules
7 PASS rules.length is 2 7 PASS rules.length is 2
8 PASS rules[0].type is CSSRule.STYLE_RULE 8 PASS rules[0].type is CSSRule.STYLE_RULE
9 PASS rules[1].type is CSSRule.MEDIA_RULE 9 PASS rules[1].type is CSSRule.MEDIA_RULE
10 PASS rules[1].cssRules.length is 2 10 PASS rules[1].cssRules.length is 2
11 PASS rules[1].cssRules[0].type is CSSRule.MEDIA_RULE 11 PASS rules[1].cssRules[0].type is CSSRule.MEDIA_RULE
12 PASS rules[1].cssRules[0].cssRules.length is 3 12 PASS rules[1].cssRules[0].cssRules.length is 3
13 PASS rules[1].cssRules[0].cssRules[0].type is CSSRule.FONT_FACE_RULE 13 PASS rules[1].cssRules[0].cssRules[0].type is CSSRule.FONT_FACE_RULE
14 PASS rules[1].cssRules[0].cssRules[1].type is CSSRule.PAGE_RULE 14 PASS rules[1].cssRules[0].cssRules[1].type is CSSRule.PAGE_RULE
15 PASS rules[1].cssRules[0].cssRules[2].type is CSSRule.STYLE_RULE 15 PASS rules[1].cssRules[0].cssRules[2].type is CSSRule.STYLE_RULE
16 PASS rules[1].cssRules[0].cssRules[0].parentStyleSheet is document.styleSheets[1 ] 16 PASS rules[1].cssRules[0].cssRules[0].parentStyleSheet is document.styleSheets[1 ]
17 PASS rules[1].cssRules[0].cssRules[1].parentStyleSheet is document.styleSheets[1 ] 17 PASS rules[1].cssRules[0].cssRules[1].parentStyleSheet is document.styleSheets[1 ]
18 PASS rules[1].cssRules[0].cssRules[2].parentStyleSheet is document.styleSheets[1 ] 18 PASS rules[1].cssRules[0].cssRules[2].parentStyleSheet is document.styleSheets[1 ]
19 PASS rules[1].cssRules[1].type is CSSRule.MEDIA_RULE 19 PASS rules[1].cssRules[1].type is CSSRule.MEDIA_RULE
20 PASS rules[1].cssRules[1].cssRules.length is 1 20 PASS rules[1].cssRules[1].cssRules.length is 1
21 PASS rules[1].cssRules[1].cssRules[0].type is CSSRule.MEDIA_RULE 21 PASS rules[1].cssRules[1].cssRules[0].type is CSSRule.MEDIA_RULE
22 rules[1].cssRules[1].insertRule('@media all { @page :left { top: 0; } }', 1) 22 rules[1].cssRules[1].insertRule('@media all { @page :left { top: 0; } }', 1)
23 PASS rules[1].cssRules[1].cssRules.length is 2 23 PASS rules[1].cssRules[1].cssRules.length is 2
24 PASS rules[1].cssRules[1].cssRules[1].type is CSSRule.MEDIA_RULE 24 PASS rules[1].cssRules[1].cssRules[1].type is CSSRule.MEDIA_RULE
25 PASS rules[1].cssRules[1].cssRules[1].cssRules[0].type is CSSRule.PAGE_RULE 25 PASS rules[1].cssRules[1].cssRules[1].cssRules[0].type is CSSRule.PAGE_RULE
26 PASS getComputedStyle(document.getElementById('t0')).content is "APPLIED" 26 PASS getComputedStyle(document.getElementById('t0')).content is "'APPLIED'"
27 PASS getComputedStyle(document.getElementById('t1')).content is "UNTOUCHED" 27 PASS getComputedStyle(document.getElementById('t1')).content is "'UNTOUCHED'"
28 PASS successfullyParsed is true 28 PASS successfullyParsed is true
29 29
30 TEST COMPLETE 30 TEST COMPLETE
31 31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698