mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Compute attribute name atoms at compile-time.
This commit is contained in:
parent
3720e4d5ef
commit
c02c0576c8
28 changed files with 152 additions and 187 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue