- From: Kang-Hao (Kenny) Lu <kanghaol@oupeng.com>
- Date: Sun, 13 Oct 2013 18:03:57 +0800
- To: WWW Style <www-style@w3.org>
There was a question of "why 'overflow: hidden' establishes BFCs"[1] asked a while ago on this list and it was revealed - because 'overflow: hidden' has an invisible scrollbar, a fact that I doubt more than 5% of all Web developers know, and a float should not intrude into a scrollable element or otherwise the interaction is complicated. I've since wondered if we can have a 'overflow: hidden' equivalent that has no layout but painting effect (and that floats can intrude into it). Perhaps 'clip' was meant to achieve this but that property seems to already fail largely. Before reading into the draft, I thought this draft is about this, but the draft doesn't mention BFC... So... can we make 'overflow: clip' not establish a BFC, or is this already planned? The fact that 'overflow: hidden' affects layout is just really very confusing to Web developers. This behaivor has been the main way how Web developers get to known what a BFC is, I believe :) I don't know if spec-wise or implementation-wise not establing BFC contradicts the requirement to make the element a containling block root. If that's the case, I would like to requst another overflow-clipping value. [1] http://lists.w3.org/Archives/Public/www-style/2012Apr/thread#msg23 Cheers, Kenny -- Web Specialist, Opera Sphinx Game Force, Oupeng Browser, Beijing Try Oupeng: http://www.oupeng.com/
Received on Sunday, 13 October 2013 10:04:25 UTC