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

@ -47,13 +47,13 @@ impl HTMLFontElementMethods for HTMLFontElement {
make_legacy_color_setter!(SetColor, "color");
// https://html.spec.whatwg.org/multipage/#dom-font-face
make_getter!(Face);
make_getter!(Face, "face");
// https://html.spec.whatwg.org/multipage/#dom-font-face
make_atomic_setter!(SetFace, "face");
// https://html.spec.whatwg.org/multipage/#dom-font-size
make_getter!(Size);
make_getter!(Size, "size");
// https://html.spec.whatwg.org/multipage/#dom-font-size
fn SetSize(&self, value: DOMString) {