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

Unified Diff: LayoutTests/fast/css/variables/cssom-read-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, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/css/variables/cssom-read.html ('k') | LayoutTests/fast/css/variables/cssom-update.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/variables/cssom-read-expected.txt
diff --git a/LayoutTests/fast/css/variables/cssom-read-expected.txt b/LayoutTests/fast/css/variables/cssom-read-expected.txt
index 0f0e047014ef217ba003349d41196228360a8d6f..0baffaa7d23ad17b370261b44ed157999ec9334d 100644
--- a/LayoutTests/fast/css/variables/cssom-read-expected.txt
+++ b/LayoutTests/fast/css/variables/cssom-read-expected.txt
@@ -1,21 +1,16 @@
-Inline style CSS text: var-a: apple; var-b: banana;
+This tests Javascript read access to CSS variables in inline styles.
-Count vars: 2
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-Access vars directly:
-a: apple
-b: banana
-Access non existent var:
-z:
+PASS div.style.var.toString() is "[object CSSVariablesMap]"
+PASS div.style.var === div.style.var is true
+PASS div.style.cssText is "var-a: apple; var-b: banana;"
+PASS div.style.var.size is 2
+PASS div.style.var.get("a") is "apple"
+PASS div.style.var.get("b") is "banana"
+PASS div.style.var.get("nonexistant") is ""
+PASS successfullyParsed is true
-Setting c to carrot and d to dog...
-
-Count vars: 4
-
-Access vars directly:
-a: apple
-b: banana
-c: carrot
-d: dog
+TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/css/variables/cssom-read.html ('k') | LayoutTests/fast/css/variables/cssom-update.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698