Compute attribute name atoms at compile-time.

This commit is contained in:
Eli Friedman 2015-11-27 12:19:29 -08:00
parent 3720e4d5ef
commit c02c0576c8
28 changed files with 152 additions and 187 deletions

View file

@ -90,7 +90,7 @@ fn collect_text(element: &Element, value: &mut String) {
impl HTMLOptionElementMethods for HTMLOptionElement {
// https://html.spec.whatwg.org/multipage/#dom-option-disabled
make_bool_getter!(Disabled);
make_bool_getter!(Disabled, "disabled");
// https://html.spec.whatwg.org/multipage/#dom-option-disabled
make_bool_setter!(SetDisabled, "disabled");