[csswg-drafts] [css-backgrounds-3] Use lowercase `currentcolor` for initial property values (#7629)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-backgrounds-3] Use lowercase `currentcolor` for initial property values ==
[`border-color`](https://drafts.csswg.org/css-backgrounds-3/#border-color) and especially its sub-properties are defined with `currentColor` (camel case) as their initial value, instead of `currentcolor` (lowercase). 

This prevents simplifying the serialization of `border`, `border-color`, `border-<side>`, when making use of the definitions extracted from the spec by `w3c/webref` to compare the `initial` longhand value to the longhand declaration values used to serialize these shorthands.

`currentcolor` always appear lowercase in CSS Color 4. Also, I think it is more accurate to define `initial` fields to a value that matches their serialization as a component of a specified value (keywords serialize to lowercase), not as an input with arbitrary case.

Please tell me if you want me to create a PR, if you agree.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7629 using your GitHub account


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

Received on Friday, 19 August 2022 17:11:23 UTC