Re: [csswg-drafts] [css-contain] :root/body viewport propagation and containment (#5913)

I've done a [Blink implementation](https://chromium-review.googlesource.com/c/chromium/src/+/2851739) of the alternative [proposal](https://github.com/w3c/csswg-drafts/issues/5913#issuecomment-814726342) to see if it could work.

What I did was to cascade these properties in a separate step for `<body>`:

* direction
* overflow
* writing-mode
* display

where the three first are the ones propagated to the viewport which may affect layout, hence affects container queries, and `display` because the display property may affect whether the properties should propagate to the viewport or not in the first place.


-- 
GitHub Notification of comment by lilles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5913#issuecomment-827712594 using your GitHub account


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

Received on Tuesday, 27 April 2021 15:46:44 UTC