aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/CSSStyleDeclaration.webidl
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2014-12-11 19:54:47 -0500
committerJosh Matthews <josh@joshmatthews.net>2014-12-18 12:54:02 -0500
commit9d82e06e6479ec963b0c42d2abf6a6c912a0cea2 (patch)
tree5f1938eeb7459a69236e48689c92451ef6467fff /components/script/dom/webidls/CSSStyleDeclaration.webidl
parentacf86a65e4005b7f53786424e6ac32d0ffa45004 (diff)
downloadservo-9d82e06e6479ec963b0c42d2abf6a6c912a0cea2.tar.gz
servo-9d82e06e6479ec963b0c42d2abf6a6c912a0cea2.zip
Implement RemoveProperty, SetProperty, and supported property indices.
Diffstat (limited to 'components/script/dom/webidls/CSSStyleDeclaration.webidl')
-rw-r--r--components/script/dom/webidls/CSSStyleDeclaration.webidl14
1 files changed, 7 insertions, 7 deletions
diff --git a/components/script/dom/webidls/CSSStyleDeclaration.webidl b/components/script/dom/webidls/CSSStyleDeclaration.webidl
index 09079fe0fec..75b4bbeffc9 100644
--- a/components/script/dom/webidls/CSSStyleDeclaration.webidl
+++ b/components/script/dom/webidls/CSSStyleDeclaration.webidl
@@ -9,23 +9,23 @@
*/
interface CSSStyleDeclaration {
- [SetterThrows]
- attribute DOMString cssText;
+ //[SetterThrows]
+ // attribute DOMString cssText;
readonly attribute unsigned long length;
getter DOMString item(unsigned long index);
DOMString getPropertyValue(DOMString property);
- DOMString getPropertyPriority(DOMString property);
+ //DOMString getPropertyPriority(DOMString property);
[Throws]
void setProperty(DOMString property, [TreatNullAs=EmptyString] DOMString value,
[TreatNullAs=EmptyString] optional DOMString priority = "");
[Throws]
void setPropertyValue(DOMString property, [TreatNullAs=EmptyString] DOMString value);
- [Throws]
- void setPropertyPriority(DOMString property, [TreatNullAs=EmptyString] DOMString priority);
- [Throws]
+ //[Throws]
+ //void setPropertyPriority(DOMString property, [TreatNullAs=EmptyString] DOMString priority);
DOMString removeProperty(DOMString property);
// Not implemented yet:
// readonly attribute CSSRule? parentRule;
-// attribute DOMString cssFloat;
+ [SetterThrows]
+ attribute DOMString cssFloat;
};