[csswg-drafts] [css-all] expand all property sintax for non-inherited props (#11123)

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

== [css-all] expand all property sintax for non-inherited props ==
Currently we have:
all = initial | inherit | unset | revert | revert-layer

So, when do: * { all: inherit; } this force inherit in all properties, including non-inherited props like zoom.

I proposal a syntax like:
all = all-value | inherited non-inherited
inherited = all-value
non-inherited = all-value
all-value = initial | inherit | unset | revert | revert-layer

in this form, the propery has backwards compatibility with current behavior and allow a two keywords value, so we can do something like: * { all: inherit initial; } when the behavior expected is what all inherited props are inherit  and non inherited props are initial.


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


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

Received on Thursday, 31 October 2024 11:52:04 UTC