diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-12-18 11:03:55 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-12-18 11:03:55 -0700 |
commit | 1f342638c46d6b43bca4cfbd405aceedc0465a85 (patch) | |
tree | dd6530af6b23cfe07cd1c0bcd8d7e1598c4024e7 /components/script | |
parent | 7df37847d3a0a02da6917c669fe62a5e4af7efcd (diff) | |
parent | 135ee60f5a4f8676c32bef837a8c1152cd7610e4 (diff) | |
download | servo-1f342638c46d6b43bca4cfbd405aceedc0465a85.tar.gz servo-1f342638c46d6b43bca4cfbd405aceedc0465a85.zip |
auto merge of #4424 : saneyuki/servo/glob_style, r=SimonSapin
#4406
Diffstat (limited to 'components/script')
-rw-r--r-- | components/script/dom/element.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs index ec97ee451e5..da1ff1d408f 100644 --- a/components/script/dom/element.rs +++ b/components/script/dom/element.rs @@ -369,7 +369,7 @@ impl RawLayoutElementHelpers for Element { attribute: UnsignedIntegerAttribute) -> Option<u32> { match attribute { - UnsignedIntegerAttribute::BorderUnsignedIntegerAttribute => { + UnsignedIntegerAttribute::Border => { if self.is_htmltableelement() { let this: &HTMLTableElement = mem::transmute(self); this.get_border() @@ -379,7 +379,7 @@ impl RawLayoutElementHelpers for Element { None } } - UnsignedIntegerAttribute::ColSpanUnsignedIntegerAttribute => { + UnsignedIntegerAttribute::ColSpan => { if self.is_htmltablecellelement() { let this: &HTMLTableCellElement = mem::transmute(self); this.get_colspan() @@ -397,7 +397,7 @@ impl RawLayoutElementHelpers for Element { unsafe fn get_simple_color_attribute_for_layout(&self, attribute: SimpleColorAttribute) -> Option<RGBA> { match attribute { - SimpleColorAttribute::BgColorSimpleColorAttribute => { + SimpleColorAttribute::BgColor => { if self.is_htmlbodyelement() { let this: &HTMLBodyElement = mem::transmute(self); this.get_background_color() |