- From: David Warring <david.warring@gmail.com>
- Date: Sat, 25 Oct 2014 08:03:41 +1300
- To: www-style@w3.org
- Message-ID: <CABE6GaY69mYcy4wSixVCe2Xdp3xsWnzeWVXrhY0NNz5PTqbdXw@mail.gmail.com>
A quibble about this example versus the property definition from the css-fonts draft: p { font-variant: discretionary-ligatures, character-variant(leo-B, leo-M, leo-N, leo-T, leo-U); } The property definition for font-variant <http://dev.w3.org/csswg/css-fonts/#descdef-font-variant> doesn't seem to allow lists. Name:font-variantValue:normal <http://dev.w3.org/csswg/css-fonts/#font-variant-normal-value> | none <http://dev.w3.org/csswg/css-fonts/#font-variant-none-value> | [ <common-lig-values> <http://dev.w3.org/csswg/css-fonts/#common-lig-values> || <discretionary-lig-values> <http://dev.w3.org/csswg/css-fonts/#discretionary-lig-values> || <historical-lig-values> <http://dev.w3.org/csswg/css-fonts/#historical-lig-values> || <contextual-alt-values> <http://dev.w3.org/csswg/css-fonts/#contextual-alt-values> || stylistic(<feature-value-name>) <http://dev.w3.org/csswg/css-fonts/#stylistic> || historical-forms <http://dev.w3.org/csswg/css-fonts/#historical-forms> || styleset(<feature-value-name> #) <http://dev.w3.org/csswg/css-fonts/#styleset> || character-variant(<feature-value-name> #) <http://dev.w3.org/csswg/css-fonts/#character-variant> || swash(<feature-value-name>) <http://dev.w3.org/csswg/css-fonts/#swash> || ornaments(<feature-value-name>) <http://dev.w3.org/csswg/css-fonts/#ornaments> || annotation(<feature-value-name>) <http://dev.w3.org/csswg/css-fonts/#annotation> || [ small-caps <http://dev.w3.org/csswg/css-fonts/#small-caps> | all-small-caps <http://dev.w3.org/csswg/css-fonts/#all-small-caps> |petite-caps <http://dev.w3.org/csswg/css-fonts/#petite-caps> | all-petite-caps <http://dev.w3.org/csswg/css-fonts/#all-petite-caps> | unicase <http://dev.w3.org/csswg/css-fonts/#unicase> | titling-caps <http://dev.w3.org/csswg/css-fonts/#titling-caps> ] || <numeric-figure-values> <http://dev.w3.org/csswg/css-fonts/#numeric-figure-values> || <numeric-spacing-values> <http://dev.w3.org/csswg/css-fonts/#numeric-spacing-values> || <numeric-fraction-values> <http://dev.w3.org/csswg/css-fonts/#numeric-fraction-values> || ordinal <http://dev.w3.org/csswg/css-fonts/#ordinal> || slashed-zero <http://dev.w3.org/csswg/css-fonts/#slashed-zero> || <east-asian-variant-values> <http://dev.w3.org/csswg/css-fonts/#east-asian-variant-values> || <east-asian-width-values> <http://dev.w3.org/csswg/css-fonts/#east-asian-width-values> || ruby <http://dev.w3.org/csswg/css-fonts/#ruby> ]Should the definition allow lists? I.E. 'Value: normal | none | [ <common-lig-values || ... || ruby ]# - David
Received on Saturday, 25 October 2014 12:12:21 UTC