Source code
Revision control
Copy as Markdown
Other Tools
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# The descriptors of the @font-family rule.
[font-family]
type = "FamilyName"
[src]
type = "SourceList"
[font-style]
type = "FontStyle"
[font-weight]
type = "FontWeightRange"
[font-stretch]
type = "FontStretchRange"
[font-display]
type = "FontDisplay"
[unicode-range]
type = "Vec<cssparser::UnicodeRange>"
[font-feature-settings]
type = "FontFeatureSettings"
[font-variation-settings]
type = "FontVariationSettings"
gecko_pref = "layout.css.font-variations.enabled"
[font-language-override]
type = "FontLanguageOverride"
[ascent-override]
type = "MetricsOverride"
[descent-override]
type = "MetricsOverride"
[line-gap-override]
type = "MetricsOverride"
[size-adjust]
type = "specified::NonNegativePercentage"