Media Queries are a Hack
What I think we're starting to need is a separation between CSS for visual styling (font-size, border-radius, background-color, etc.) and CSS for layout (float, margin-left, etc.).The first can only be done by CSS in the browser. But the second can be accomplished via CSS, or by JavaScript.As the web evolves, CSS for layout is increasingly not keeping pace. But it's not unreasonable to think that we could do away with it altogether.Is there anything preventing someone from creating totally new layout models, based on new formats, that are parsed in JavaScript, and essentially turn everything into div's with position:absolute? And get recalculated upon window resize etc.?This would completely free us from existing layout limitations of CSS, to do the exact kind of things like element queries, or whatever else we might think of.I'm just not really sure what the performance implications would be like.