Share supported CSS properties between style and CSSStyleDeclaration

Avoids duplicated code when implementing the CSS properties accessors in
CSSStyleDeclaration WebIDL. Servo internal CSS properties are not
accessible.

CSS property "float" is unnacessible because we currently lack support
for BinaryName IDL annotation (#4435).

Fixes #4429, #4430.
This commit is contained in:
Bruno de Oliveira Abinader 2015-01-14 14:01:52 -04:00
parent d747a33df9
commit dc008977f9
4 changed files with 46 additions and 97 deletions

View file

@ -35,6 +35,7 @@ extern crate script_traits;
extern crate "plugins" as servo_plugins;
extern crate "net" as servo_net;
extern crate "util" as servo_util;
#[phase(plugin, link)]
extern crate style;
extern crate "msg" as servo_msg;
extern crate url;