Skip to content

unicode-range descriptor should serialize codepoint hex digits as ASCII case-insensitive? #14263

Open

Description

@Ahmad-S792

Hi,

While doing a fix in WebKit - WebKit/WebKit#63049, I tried my best to interpretate specification but I couldn't find a reference to the above title.

Test Case: https://jsfiddle.net/shxey5q7/

*** Safari ***

PASS - Codepoint hex digits are ASCII case-insensitive

Fails all other as of right now.

*** Chrome Canary 153 ***

Pass all.

*** Firefox Nightly 155 ***

Pass all.


Idea for this issue is to figure out what is the expectations because per Anne, all idents are lowercased and it is not directly clarified here - https://drafts.csswg.org/cssom/#serializing-css-values

Couldn't find anything in CSS Fonts as well.

So just wanted to raise to get clarification.

Thanks!

Activity

  1. Ahmad-S792 commented on Aug 4, 2026

    @Ahmad-S792
    Author

    @annevk and @fantasai - FYI

  2. svgeesus commented on Aug 4, 2026

    @svgeesus
    Collaborator

    In 13.2. Serializing font-related at-rules:

    Unless specifically noted for individual descriptors, the descriptors defined for at-rules in this module follow the principles of CSSOM § 6.7.2 Serializing CSS Values.

    Then in 4.5. Character range: the unicode-range descriptor there is, as you said, nothing about serialization. So I would expect CSSOM to fully define it.

  3. added
    css-fonts-4
    cssom-1
    on Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    css-fonts-4cssom-1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions