In this example .child should not turn red:
.parent {
float: left;
max-width: 50px;
}
.child:container(width > 100px) {
color: red;
}
If a parent element between the container and the element has a max-width set, the containers width should be capped at that value.
In this example
.childshould not turn red:If a parent element between the container and the element has a
max-widthset, the containers width should be capped at that value.