1. 1

And here is the spec draft: https://wicg.github.io/ResizeObserver/

This is amazing news as it will make element-level media queries much easier, which is something I, and I think others too, have struggled by employing dirty hacks like listening to window resize and having an interval to check the element’s dimensions periodically.

  1.