aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlhrelement.rs
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2015-11-27 12:19:29 -0800
committerEli Friedman <eli.friedman@gmail.com>2015-11-27 15:42:34 -0800
commitc02c0576c821a95fa4a68c29d410566e99487dc9 (patch)
tree463220c6095eafc255f4b2e804fd2c67496afe07 /components/script/dom/htmlhrelement.rs
parent3720e4d5ef09d710deaf846c74356ccea8d7afce (diff)
downloadservo-c02c0576c821a95fa4a68c29d410566e99487dc9.tar.gz
servo-c02c0576c821a95fa4a68c29d410566e99487dc9.zip
Compute attribute name atoms at compile-time.
Diffstat (limited to 'components/script/dom/htmlhrelement.rs')
-rw-r--r--components/script/dom/htmlhrelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlhrelement.rs b/components/script/dom/htmlhrelement.rs
index 20e852ca021..84c409506e8 100644
--- a/components/script/dom/htmlhrelement.rs
+++ b/components/script/dom/htmlhrelement.rs
@@ -38,13 +38,13 @@ impl HTMLHRElement {
impl HTMLHRElementMethods for HTMLHRElement {
// https://html.spec.whatwg.org/multipage/#dom-hr-color
- make_getter!(Color);
+ make_getter!(Color, "color");
// https://html.spec.whatwg.org/multipage/#dom-hr-color
make_legacy_color_setter!(SetColor, "color");
// https://html.spec.whatwg.org/multipage/#dom-hr-width
- make_getter!(Width);
+ make_getter!(Width, "width");
// https://html.spec.whatwg.org/multipage/#dom-hr-width
make_dimension_setter!(SetWidth, "width");