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

Side by Side Diff: LayoutTests/fast/css/variables/cssom-computed-style-expected.txt

Issue 21006006: Add forEach() to CSSVariablesMap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and review changes Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
1 Computed variables declaration: [object CSSVariablesMap] 1 This tests Javascript access to CSS variables via getComputedStyle.
2 Create variable: NoModificationAllowedError: Failed to set the 'create' property on a computed 'CSSStyleDeclaration': computed styles are read-only.
3 Count variables: 3
4 Count empty variables: 0
5 Read stylesheet variable: pass
6 Read inherited variable: pass
7 Read inline variable: pass
8 Read non-existent variable: pass
9 Update variable: NoModificationAllowedError: Failed to set the 'inline' property on a computed 'CSSStyleDeclaration': computed styles are read-only.
10 Delete variable: Not deleted
11 Clear variables: NoModificationAllowedError: Failed to clear variables from a co mputed 'CSSStyleDeclaration': computed styles are read-only.
12 Set cssText: NoModificationAllowedError: Failed to set the 'cssText' property on a computed 'CSSStyleDeclaration': computed styles are read-only.
13 Read deleted variable: pass
14 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS computedStyle.var.toString() is "[object CSSVariablesMap]"
7 PASS computedStyle.var === computedStyle.var is true
8 PASS computedStyle.var.set("create", "test") threw exception NoModificationAllow edError: Failed to set the 'create' property on a computed 'CSSStyleDeclaration' : computed styles are read-only..
9 PASS computedStyle.var.size is 3
10 PASS computedBodyStyle.var.size is 0
11 PASS computedStyle.var.get("stylesheet") is "pass"
12 PASS computedStyle.var.get("inherited") is "pass"
13 PASS computedStyle.var.get("inline") is "pass"
14 PASS computedBodyStyle.var.get("non-existent") is ""
15 PASS forEachIterations[0] is ["pass", "inherited", "[object CSSVariablesMap]"]
16 PASS forEachIterations[1] is ["pass", "inline", "[object CSSVariablesMap]"]
17 PASS forEachIterations[2] is ["pass", "stylesheet", "[object CSSVariablesMap]"]
18 PASS forEachIterations.length is 3
19 PASS emptyVarForEachIterations.length is 0
20 PASS computedStyle.var.set("inline", "fail") threw exception NoModificationAllow edError: Failed to set the 'inline' property on a computed 'CSSStyleDeclaration' : computed styles are read-only..
21 PASS computedStyle.var.clear() threw exception NoModificationAllowedError: Faile d to clear variables from a computed 'CSSStyleDeclaration': computed styles are read-only..
22 PASS computedStyle.var.delete("inline") is false
23 PASS computedStyle.var.get("inline") is "pass"
24 PASS successfullyParsed is true
25
26 TEST COMPLETE
27
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/variables/cssom-computed-style.html ('k') | LayoutTests/fast/css/variables/cssom-foreach.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698