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

Side by Side Diff: LayoutTests/css3/filters/custom-with-at-rule-syntax/parsing-at-rule-valid-expected.txt

Issue 14065029: Improved parse error handling for CSSMQ. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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 at-rule parsing for @-webkit-filter. 1 Test at-rule parsing for @-webkit-filter.
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 6
7 ======================================== 7 ========================================
8 Filter at-rule tests. 8 Filter at-rule tests.
9 ======================================== 9 ========================================
10 10
(...skipping 28 matching lines...) Expand all
39 @-webkit-filter my-filter { width: 100px; height: 100px; } 39 @-webkit-filter my-filter { width: 100px; height: 100px; }
40 PASS cssRule.cssText is "@-webkit-filter my-filter { width: 100px; height: 100px ; }" 40 PASS cssRule.cssText is "@-webkit-filter my-filter { width: 100px; height: 100px ; }"
41 PASS cssRule.type is CSSRule.WEBKIT_FILTER_RULE 41 PASS cssRule.type is CSSRule.WEBKIT_FILTER_RULE
42 PASS cssRule instanceof WebKitCSSFilterRule is true 42 PASS cssRule instanceof WebKitCSSFilterRule is true
43 PASS cssRule.constructor === WebKitCSSFilterRule is true 43 PASS cssRule.constructor === WebKitCSSFilterRule is true
44 PASS cssRule.__proto__ === WebKitCSSFilterRule.prototype is true 44 PASS cssRule.__proto__ === WebKitCSSFilterRule.prototype is true
45 PASS declaration.getPropertyValue('width') is "100px" 45 PASS declaration.getPropertyValue('width') is "100px"
46 PASS declaration.getPropertyValue('height') is "100px" 46 PASS declaration.getPropertyValue('height') is "100px"
47 PASS declaration.length is 2 47 PASS declaration.length is 2
48 48
49 Empty rule, missing closing brace.
50 @-webkit-filter my-filter {
51 PASS cssRule.cssText is "@-webkit-filter my-filter { }"
52 PASS cssRule.type is CSSRule.WEBKIT_FILTER_RULE
53 PASS cssRule instanceof WebKitCSSFilterRule is true
54 PASS cssRule.constructor === WebKitCSSFilterRule is true
55 PASS cssRule.__proto__ === WebKitCSSFilterRule.prototype is true
56 PASS declaration.length is 0
57
49 ======================================== 58 ========================================
50 Nested filter at-rule tests. 59 Nested filter at-rule tests.
51 ======================================== 60 ========================================
52 61
53 Nested rule. 62 Nested rule.
54 @-webkit-filter parent-filter { @-webkit-filter child-filter { } } 63 @-webkit-filter parent-filter { @-webkit-filter child-filter { } }
55 PASS cssRule.cssText is "@-webkit-filter parent-filter { }" 64 PASS cssRule.cssText is "@-webkit-filter parent-filter { }"
56 PASS cssRule.type is 17 65 PASS cssRule.type is 17
57 PASS cssRule instanceof WebKitCSSFilterRule is true 66 PASS cssRule instanceof WebKitCSSFilterRule is true
58 PASS cssRule.constructor === WebKitCSSFilterRule is true 67 PASS cssRule.constructor === WebKitCSSFilterRule is true
(...skipping 24 matching lines...) Expand all
83 PASS cssRule.__proto__ === CSSMediaRule.prototype is true 92 PASS cssRule.__proto__ === CSSMediaRule.prototype is true
84 PASS cssRule.cssText is "@-webkit-filter child-filter { }" 93 PASS cssRule.cssText is "@-webkit-filter child-filter { }"
85 PASS cssRule.type is 17 94 PASS cssRule.type is 17
86 PASS cssRule instanceof WebKitCSSFilterRule is true 95 PASS cssRule instanceof WebKitCSSFilterRule is true
87 PASS cssRule.constructor === WebKitCSSFilterRule is true 96 PASS cssRule.constructor === WebKitCSSFilterRule is true
88 PASS cssRule.__proto__ === WebKitCSSFilterRule.prototype is true 97 PASS cssRule.__proto__ === WebKitCSSFilterRule.prototype is true
89 PASS successfullyParsed is true 98 PASS successfullyParsed is true
90 99
91 TEST COMPLETE 100 TEST COMPLETE
92 101
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698