8000 [css-fonts] Missing serialisation for 0 ranged descriptors inside @font-face · Issue #7925 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-fonts] Missing serialisation for 0 ranged descriptors inside @font-face #7925

@tursunova

Description

@tursunova

In the spec there is no specification on whether 0 ranged font-stretch, font-style and font-weight descriptors inside @font-face rule should be simplified or not. E.g., if font-weight: 200 200; is specified inside @font-face then it's not clear on whether rule.style.getPropertyValue("font-weight") should return 200 or 200 200. Chrome and Safari are currently returning 200 200 while Firefox is returning just 200.

The issue was also discussed in the conversation in WPT PR #36489

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0