aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlfontelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlfontelement.rs')
-rw-r--r--components/script/dom/htmlfontelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlfontelement.rs b/components/script/dom/htmlfontelement.rs
index e5e6755d48e..c8faf248f41 100644
--- a/components/script/dom/htmlfontelement.rs
+++ b/components/script/dom/htmlfontelement.rs
@@ -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) {