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.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/htmlfontelement.rs b/components/script/dom/htmlfontelement.rs
index 03750d382b8..6b745617b94 100644
--- a/components/script/dom/htmlfontelement.rs
+++ b/components/script/dom/htmlfontelement.rs
@@ -50,7 +50,10 @@ impl HTMLFontElement {
}
impl HTMLFontElementMethods for HTMLFontElement {
+ // https://html.spec.whatwg.org/multipage/#dom-font-color
make_getter!(Color, "color");
+
+ // https://html.spec.whatwg.org/multipage/#dom-font-color
make_setter!(SetColor, "color");
}