- From: Ferdinand Prantl via GitHub <noreply@w3.org>
- Date: Thu, 12 Jun 2025 21:35:14 +0000
- To: public-css-archive@w3.org
> > Wouldn't just checking a container element's offsetWidth when the window resizes be functionally the same as container query? > > no? container queries could not only check for a size.... ... and it should be possible to optimise container queries better than the resize observers. The `change` event on the container query is triggered only when it starts or stops matching. no need to throttle the observer event handlers, which can be triggered very often. -- GitHub Notification of comment by prantlf Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6205#issuecomment-2968218910 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 12 June 2025 21:35:15 UTC