summaryrefslogtreecommitdiffstats
path: root/layout/style/nsComputedDOMStyle.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-11 23:59:53 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-02-11 23:59:53 +0100
commita399acd57cdad2935f3edf43925ecb020b5eff59 (patch)
tree22f1449c40ae66e20b73866e92382b57fda89dbd /layout/style/nsComputedDOMStyle.h
parent6184ed7555d622afdad9d888627e0084182ccaa8 (diff)
downloadUXP-a399acd57cdad2935f3edf43925ecb020b5eff59.tar
UXP-a399acd57cdad2935f3edf43925ecb020b5eff59.tar.gz
UXP-a399acd57cdad2935f3edf43925ecb020b5eff59.tar.lz
UXP-a399acd57cdad2935f3edf43925ecb020b5eff59.tar.xz
UXP-a399acd57cdad2935f3edf43925ecb020b5eff59.zip
[CSS] Add stub for font-variation-settings
This stub is added because websites insist on considering this very hardware-dependent and O.S.-variable low-level font-control as a "critical feature" which it isn't as there is 0 guarantee that font variation settings are supported or honored by any operating system used by the client. On top this is a WD status feature that sites shouldn't be using, and the feature itself is strongly discouraged for use in favor of standard CSS font manipulation keywords like `font-weight`.
Diffstat (limited to 'layout/style/nsComputedDOMStyle.h')
-rw-r--r--layout/style/nsComputedDOMStyle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/layout/style/nsComputedDOMStyle.h b/layout/style/nsComputedDOMStyle.h
index 7fbf49afe..e94d8dbf6 100644
--- a/layout/style/nsComputedDOMStyle.h
+++ b/layout/style/nsComputedDOMStyle.h
@@ -251,6 +251,7 @@ private:
already_AddRefed<CSSValue> DoGetColor();
already_AddRefed<CSSValue> DoGetFontFamily();
already_AddRefed<CSSValue> DoGetFontFeatureSettings();
+ already_AddRefed<CSSValue> DoGetFontVariationSettings();
already_AddRefed<CSSValue> DoGetFontKerning();
already_AddRefed<CSSValue> DoGetFontLanguageOverride();
already_AddRefed<CSSValue> DoGetFontSize();