-
Notifications
You must be signed in to change notification settings - Fork 756
Closed
Labels
css-fonts-4Current WorkCurrent Work
Description
https://drafts.csswg.org/css-fonts-4/#font-stretch-prop says:
Computed Value: as specified.
I think the computed value should be a <percentage>, perhaps with a getComputedStyle quirk to keep the keyword serialization in the case where the percentage matches one of the keywords?
That being said, the following page shows 100% on Chrome, so it means that they managed to ship it without the quirk, which is simpler:
<!doctype html>
<div id="test" style="font-stretch: normal"></div>
<pre>
<script>
document.write(getComputedStyle(test).fontStretch);
</script>
</pre>I don't have Edge or Safari around to test this (Epiphany builds without var fonts).
We plan to implement Chrome's behavior here unless we need the old behavior for compat.
Metadata
Metadata
Assignees
Labels
css-fonts-4Current WorkCurrent Work