aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/wrapper.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2014-12-18 11:03:55 -0700
committerbors-servo <metajack+bors@gmail.com>2014-12-18 11:03:55 -0700
commit1f342638c46d6b43bca4cfbd405aceedc0465a85 (patch)
treedd6530af6b23cfe07cd1c0bcd8d7e1598c4024e7 /components/layout/wrapper.rs
parent7df37847d3a0a02da6917c669fe62a5e4af7efcd (diff)
parent135ee60f5a4f8676c32bef837a8c1152cd7610e4 (diff)
downloadservo-1f342638c46d6b43bca4cfbd405aceedc0465a85.tar.gz
servo-1f342638c46d6b43bca4cfbd405aceedc0465a85.zip
auto merge of #4424 : saneyuki/servo/glob_style, r=SimonSapin
#4406
Diffstat (limited to 'components/layout/wrapper.rs')
-rw-r--r--components/layout/wrapper.rs2
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,
}