mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Further changes required by Servo
This commit is contained in:
parent
3da0e44d98
commit
1ad176f1bc
1 changed files with 1 additions and 3 deletions
|
@ -971,9 +971,7 @@ impl<'dom> LayoutElementHelpers<'dom> for LayoutDom<'dom, Element> {
|
|||
};
|
||||
|
||||
if let Some(border) = border {
|
||||
let width_value = specified::BorderSideWidth::Length(NonNegative(
|
||||
specified::Length::from_px(border as f32),
|
||||
));
|
||||
let width_value = specified::BorderSideWidth::from_px(border as f32);
|
||||
hints.push(from_declaration(
|
||||
shared_lock,
|
||||
PropertyDeclaration::BorderTopWidth(width_value.clone()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue