Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl |
| diff --git a/third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl b/third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl |
| index 630aea05009f1dbaef3ba42e49a8107af367189b..2867c40bc7149ba502579ec920acef7ae618a4de 100644 |
| --- a/third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl |
| +++ b/third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl |
| @@ -31,7 +31,7 @@ |
| DOMString getPropertyPriority(DOMString property); |
| // TODO(foolip): The value and priority arguments should have |
| // [TreatNullAs=EmptyString] and should not be nullable. |
|
foolip
2016/12/14 12:07:00
Can remove the TODO now. Tests needed.
lunalu1
2016/12/14 13:59:04
Done.
|
| - [CEReactions, RaisesException] void setProperty(DOMString property, DOMString? value, optional DOMString? priority = null); |
| + [CEReactions, RaisesException] void setProperty(DOMString property, [TreatNullAs=EmptyString] DOMString value, [TreatNullAs=EmptyString] optional DOMString priority = ""); |
| // void setPropertyValue(DOMString property, [TreatNullAs=EmptyString] DOMString value); |
| // void setPropertyPriority(DOMString property, [TreatNullAs=EmptyString] DOMString priority); |
| [CEReactions, RaisesException] DOMString removeProperty(DOMString property); |