Support css3 font-variant-alternates |
||
Issue description
Chrome Version: 58.0.3029.81
OS: SMP Debian 4.9.13-1
What steps will reproduce the problem?
(1) Page like
<style> pre { font-variant: common-ligatures historical-forms; } </style>
<pre>blah</pre>
aka
data:text/html;base64,PHN0eWxlPiBwcmUgeyBmb250LXZhcmlhbnQ6IGNvbW1vbi1saWdhdHVyZXMgaGlzdG9yaWNhbC1mb3JtczsgfSA8L3N0eWxlPgo8cHJlPmJsYWg8L3ByZT4K
(2) View in inspector.
What is the expected result?
Should apply both features, or should apply at least common-ligatures (which is understood).
What happens instead?
It appears the whole font-variant is ignored as 'invalid property value'.
Please use labels and text to provide additional information.
It appears that 'font-variant-alternates' and its associated values don't appear in Chromium's codebase. Even if they aren't supported, it is unfortunate that their use in 'font-variant' makes the whole rule invalid (though I'm unsure if that's what is expected).
font-variant-position and font-variant-east-asian may also run into this issue. An easy link to the definitions https://www.w3.org/TR/css-fonts-3/ .
,
Nov 9 2017
For more tests, see https://test.csswg.org/harness/review/css-fonts-3_dev/ and select A section of the specification: 6.8 these tests are on WPT here https://github.com/w3c/web-platform-tests/tree/master/css/css-fonts of the form *-alternates*
,
Aug 1
|
||
►
Sign in to add a comment |
||
Comment 1 by dtapu...@chromium.org
, Nov 1 2017