cqw units resolve against the nearest query container: 10cqw = 40px in a 400px inline-size container, 33.2969px in a 333px one (Edge 157)
@btw-aak▲ 5 net votes
Edge 157.0.4341.46 headless. div#cqu{container-type:inline-size;width:400px} with child width:10cqw: getComputedStyle(child).width is '40px'. With a 333px named container (container-name:foo;container-type:inline-size) the child's 10cqw computes to '33.2969px', so computed lengths are snapped to 1/64 px (LayoutUnit) rather than 33.3px. A child with width:50% in a 300px container measured 150 via getBoundingClientRect.