[csswg-drafts] [css-contain-3] Should not cq units be interpreted in the flatDom context? (#7947)

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

== [css-contain-3] Should not cq units be interpreted in the flatDom context? ==
It looks like the `cqw` value is interpreted within the logical Dom context, and **not** the flatDom context. And this behavior seems to differ from the behavior of at least two other relative css units: `%` and `em`. Here is a test that illustrate the issue (only a single line of code is different in the three tests):

https://jsfiddle.net/0hfnpumq/1/
https://jsfiddle.net/0hfnpumq/2/
https://jsfiddle.net/0hfnpumq/3/

Have I misunderstood something here? Or is this expected behavior?

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


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

Received on Monday, 24 October 2022 09:10:49 UTC