New issue
Advanced search Search tips

Issue 716567 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Support css3 font-variant-alternates

Project Member Reported by bunge...@chromium.org, Apr 28 2017

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/ .
 
Components: Blink>Fonts

Comment 2 by ch...@w3.org, 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*
Status: Assigned (was: Available)

Sign in to add a comment