[csswg-drafts] [css-transforms-1] The computed value of `transform` if the transformed element is display:none (#9121)

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

== [css-transforms-1] The computed value of `transform` if the transformed element is display:none ==
Just curious about where we define the computed values of `transform` property for `display:none` element (or in the `display:none` subtree).

Per this [WPT PR#36380](https://github.com/web-platform-tests/wpt/pull/36308), it expects the serialization of the computed value of `transform` property is `none` if we set this element `display:none` (or in the `display:none` subtree). However, I cannot find the specific words in the spec (e.g. [css-transforms-1](https://drafts.csswg.org/css-transforms/) and [css-display-3](https://drafts.csswg.org/css-display/)) to mention about this behavior.

Should we add this into the spec to specify this behavior because it seems this is only for `transform` property? How about `translate`/`rotate`/`scale` properties? Should they be consistent?

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


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

Received on Wednesday, 26 July 2023 23:00:51 UTC