mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Add parsing of double values in style attributes
This commit is contained in:
parent
84ab7e9fe8
commit
48b2e9c055
11 changed files with 132 additions and 14 deletions
|
@ -410,7 +410,7 @@ impl VirtualMethods for HTMLTableElement {
|
|||
}
|
||||
atom!("cellspacing") => {
|
||||
self.cellspacing.set(mutation.new_value(attr).and_then(|value| {
|
||||
parse_unsigned_integer(value.chars())
|
||||
parse_unsigned_integer(value.chars()).ok()
|
||||
}));
|
||||
},
|
||||
_ => {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue