[container-queries] Drop layout containment from container-type.
As per:
w3c/csswg-drafts#10544 (comment)
Drop layout containment from container-type.
Placed behind the flag:
ContainerTypeNoLayoutContainment
In case we need to switch it off.
Developers can opt into the old behaviour by adding "contain: layout"
to their container.
This solves a bunch of issues web developers have been having with
container queries including:
- Not allowing abspos/fixedpos to escape subtrees (useful for
tooltips etc). - Baseline aligning.
- Ensuring scrollable overflow to calculated in a more intuitive
manner.
Fixed: 355215704
Change-Id: I4c02984dac8c49f105bd442f058089ed5cc2cd3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5738176
Reviewed-by: David Grogan dgrogan@chromium.org
Commit-Queue: Ian Kilpatrick ikilpatrick@chromium.org
Cr-Commit-Position: refs/heads/main@{#1333234}