Implement RemoveProperty, SetProperty, and supported property indices.

This commit is contained in:
Josh Matthews 2014-12-11 19:54:47 -05:00
parent acf86a65e4
commit 9d82e06e64
6 changed files with 173 additions and 70 deletions

View file

@ -40,7 +40,7 @@ macro_rules! css_setter(
impl CSS2Properties {
fn new_inherited(owner: JSRef<HTMLElement>) -> CSS2Properties {
CSS2Properties {
cssstyledeclaration: CSSStyleDeclaration::new_inherited(Some(owner)),
cssstyledeclaration: CSSStyleDeclaration::new_inherited(owner),
}
}