Re: [csswg-drafts] [cssom][css-transforms] Serializing of functions (#11556)

Perhaps serialization of case-insensitive identifier-like values in lowercase could be included in the general serialization principles, which are not yet included in CSSOM (#5642).

[Function names](https://drafts.csswg.org/css-values-4/#functional-notation) are defined as case-insensitive. However, dashed function (mixin) names were defined as case-sensitive `<dashed-ident>` before ([fe94b66](https://github.com/w3c/csswg-drafts/commit/fe94b66b70067a85dedc6884eb9ea428e957b44e#diff-9c4c1c5a9da867a8f9b01470f5918ee9a736bce6ba707c484a34c6e51f8dffb4L111)). So I am not sure that *all* function names should serialize in lowercase.

The inconsistency between `scaleX()` and other CSS functions like `linear-gradient()`, ie. between camel and kebab case, is unfortunate. :confused:

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11556#issuecomment-2609021821 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 23 January 2025 07:11:07 UTC