mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove HTMLTableElement::width struct field
This commit is contained in:
parent
73314ab10c
commit
71aa2392f8
2 changed files with 8 additions and 11 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue