Remove HTMLTableElement::width struct field

This commit is contained in:
Corey Farwell 2015-11-09 18:31:29 -05:00
parent 73314ab10c
commit 71aa2392f8
2 changed files with 8 additions and 11 deletions

View file

@ -238,7 +238,7 @@ macro_rules! make_dimension_setter(
use dom::element::Element;
use string_cache::Atom;
let element = self.upcast::<Element>();
let value = AttrValue::parse_dimension(value);
let value = AttrValue::from_dimension(value);
// FIXME(pcwalton): Do this at compile time, not at runtime.
element.set_attribute(&Atom::from_slice($htmlname), value)
}