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

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

Issue 367663002: Make [TreatNullAs=NullString] DOMString arguments nullable instead (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 | Source/core/dom/DOMImplementation.idl » ('j') | 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 0073e9e49801d9096d9c035c9a6b31f11489a11d..45127b629cb599448ae07106cd61b4ec4843cf5c 100644
--- a/Source/core/css/CSSStyleDeclaration.idl
+++ b/Source/core/css/CSSStyleDeclaration.idl
@@ -29,13 +29,13 @@
[RaisesException] DOMString? removeProperty([Default=Undefined] optional DOMString propertyName);
DOMString? getPropertyPriority([Default=Undefined] optional DOMString propertyName);
[RaisesException] void setProperty([Default=Undefined] optional DOMString propertyName,
- [TreatNullAs=NullString,Default=Undefined] optional DOMString value,
- [TreatNullAs=NullString] optional DOMString priority = null);
+ [Default=Undefined] optional DOMString? value,
+ optional DOMString? priority = null);
readonly attribute unsigned long length;
getter DOMString item([Default=Undefined] optional unsigned long index);
[Custom=PropertyGetter|PropertyEnumerator|PropertyQuery] getter (DOMString or float) (DOMString name);
- [Custom] setter void (DOMString propertyName, [TreatNullAs=NullString] DOMString propertyValue);
+ [Custom] setter void (DOMString propertyName, DOMString? propertyValue);
readonly attribute CSSRule parentRule;
// Deprecated as of 2003: http://lists.w3.org/Archives/Public/www-style/2003Oct/0347.html
« no previous file with comments | « no previous file | Source/core/dom/DOMImplementation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698