Re: [csswg-drafts] Add a new media query feature: client-width and client-height, which equal to (viewport size - scrollbar size) (#2933)

@coreyworrell loops in css and loops in js are different beasts. Js is an imperative language, so if you follow an bunch of steps, and then need to start again, and repeat forever, it may be stupid, but at least it is clear what that means. CSS is a declarative language, which describes the results, not the step to get there. The kind of loop we're talking here are circular logic and internal contradictions, not infinitely repeating steps. It's not stupid code as JS loops could be, it's meanignless / ambiguous / self-contradictory code, which browsers couldn't possibly implement, because nobody knows what it is supposed to mean.

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

Received on Monday, 4 February 2019 23:46:28 UTC