Re: [csswg-drafts] [css-conditional] Applying styles based on an elements size (@media for elements) (#3852)

The best explanation of RO’s depth-based loop-breaking is probably here: https://github.com/WICG/ResizeObserver/issues/7

Note that it successfully breaks out of loops within frames, but not across sequences of successive frames.

(Also interesting to note that it’s basically what @ausi implemented in his cq-prollyfill library https://mobile.twitter.com/ausi/status/873464855843524608)

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

Received on Saturday, 18 May 2019 15:09:04 UTC