You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think WebKit's preference would be to lowercase the function names just as we do with identifiers, but there are some tests currently that test otherwise.
Perhaps serialization of case-insensitive identifier-like values in lowercase could be included in the general serialization principles (step 2), which are not yet included in CSSOM (#5642).
Function names are defined as case-insensitive. However, dashed function (mixin) names were defined as case-sensitive <dashed-ident> before (fe94b66). 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. 😕
https://drafts.csswg.org/cssom/#serializing-css-values does not appear to describe how functions, such as
scalex()
are serialized.I guess it should explicitly defer to https://drafts.csswg.org/css-transforms/#serialization-of-transform-functions (and other places?) but that is also very vague.
The text was updated successfully, but these errors were encountered: