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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html

Issue 2695093007: [Typed CSSOM] Get computed values for custom properties
Patch Set: Fix unregistered props and registered but unset props Created 3 years, 10 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 | « no previous file | third_party/WebKit/LayoutTests/typedcssom/computedstyle/custom-properties.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html b/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html
index 504b5318f992280d17333294d852ea1ce08ff00d..4f159d4518035b7e098c7ab84c64b6d8d47fc622 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html
@@ -34,6 +34,10 @@ test(function() {
}, 'Unsupported and unserializable property returns null.');
test(function() {
+ assert_throws(null, function() { computedStyleMap.get('bananas'); });
+}, 'get() throws for an invalid property.');
+
+test(function() {
assert_false(computedStyleMap.has('max-zoom'));
}, 'has() return false for an unsupported property.');
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/typedcssom/computedstyle/custom-properties.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698