mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-05 14:57:30 +09:00
[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`.
This commit is contained in:
parent
2537698cd2
commit
cda9951c24
6 changed files with 45 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue