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

Unified Diff: Source/core/css/CSSStyleDeclaration.idl

Issue 796573003: Make CSSStyleDeclaration function arguments non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test Created 6 years 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/dom/script-tests/non-numeric-values-numeric-parameters.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSStyleDeclaration.idl
diff --git a/Source/core/css/CSSStyleDeclaration.idl b/Source/core/css/CSSStyleDeclaration.idl
index b1c354cddf6b058fe6a38576ca104fc474b9152a..4def0755528ded19e7d79236cb94336da647bca6 100644
--- a/Source/core/css/CSSStyleDeclaration.idl
+++ b/Source/core/css/CSSStyleDeclaration.idl
@@ -25,15 +25,15 @@
] interface CSSStyleDeclaration {
[RaisesException=Setter] attribute DOMString? cssText;
- DOMString? getPropertyValue([Default=Undefined] optional DOMString propertyName);
- [RaisesException] DOMString? removeProperty([Default=Undefined] optional DOMString propertyName);
- DOMString? getPropertyPriority([Default=Undefined] optional DOMString propertyName);
- [RaisesException] void setProperty([Default=Undefined] optional DOMString propertyName,
- [Default=Undefined] optional DOMString? value,
+ DOMString? getPropertyValue(DOMString propertyName);
+ [RaisesException] DOMString? removeProperty(DOMString propertyName);
+ DOMString? getPropertyPriority(DOMString propertyName);
+ [RaisesException] void setProperty(DOMString propertyName,
+ DOMString? value,
optional DOMString? priority = null);
readonly attribute unsigned long length;
- getter DOMString item([Default=Undefined] optional unsigned long index);
+ getter DOMString item(unsigned long index);
[Custom=(PropertyGetter,PropertyEnumerator,PropertyQuery)] getter (DOMString or float) (DOMString name);
[Custom] setter void (DOMString propertyName, DOMString? propertyValue);
readonly attribute CSSRule parentRule;
« no previous file with comments | « LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698