- From: bmaurer via GitHub <sysbot+gh@w3.org>
- Date: Thu, 16 Feb 2017 21:33:27 +0000
- To: public-css-archive@w3.org
I see a few potential issues with that: 1. From the perspective of the layout engine I think we want to avoid resizing the element every time it moves out of the viewport. For example, that would often force the browser to scroll the page firing a scroll event. It'd also change the size of the scrollbars which would be confusing to the user. And you'd have to run resize observer. 2. It's pretty common to have JS code that queries the height of an element. EG imagine that for logging somebody wants to see the height of feed stories with videos in them. triggering resize on the querying of height makes the element mostly feel like it did before "layout-default" -- GitHub Notification of comment by bmaurer Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1043#issuecomment-280467980 using your GitHub account
Received on Thursday, 16 February 2017 21:33:34 UTC