diff options
Diffstat (limited to 'components/layout/wrapper.rs')
-rw-r--r-- | components/layout/wrapper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs index 53677273832..c197c60242a 100644 --- a/components/layout/wrapper.rs +++ b/components/layout/wrapper.rs @@ -594,7 +594,7 @@ impl<'le> TElement<'le> for LayoutElement<'le> { fn has_nonzero_border(self) -> bool { unsafe { match self.element - .get_unsigned_integer_attribute_for_layout(UnsignedIntegerAttribute::BorderUnsignedIntegerAttribute) { + .get_unsigned_integer_attribute_for_layout(UnsignedIntegerAttribute::Border) { None | Some(0) => false, _ => true, } |