W3C home > Mailing lists > Public > www-style@w3.org > October 2013

Re: Proposal for "overflow:clip" for stronger painting isolation

From: Kang-Hao (Kenny) Lu <kanghaol@oupeng.com>
Date: Fri, 18 Oct 2013 05:57:59 +0800
Message-ID: <52605D67.8010307@oupeng.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>, Bruno Racineux <bruno@hexanet.net>
CC: WWW Style <www-style@w3.org>
(2013/10/18 5:35), Tab Atkins Jr. wrote:
> On Thu, Oct 17, 2013 at 2:23 PM, Bruno Racineux <bruno@hexanet.net> wrote:
>> Does this proposal address "clearing the float" at all?
>>
>> I would be ideal is there was a native solution for this by now, rather
>> than the 'clearfix' hacks.
>>
>> And while 'overflow:hidden' helps, it's not a comprehensive solution to
>> clear-fixing.
> 
> This is basically a more powerful/comprehensive overflow:hidden, so it
> addresses float clearing as well as overflow:hidden does.

I suppose this reads

  'overflow: clip' doesn't address "clearing the float"

? I am not criticizing the proposal as the use cases might just be
parallel, but the above sentence is just vague and diffucult to parse,
at least to me.

The use case Bruno has is to specify 'clearfix' on an element without
refering to the parent element and a pseudo-element, I think. Was there
a previous discussion about this on the list? Is this problem solved by
switching to flex layout? If not, why?


Cheers,
Kenny
-- 
Web Specialist, Opera Sphinx Game Force, Oupeng Browser, Beijing
Try Oupeng: http://www.oupeng.com/
Received on Thursday, 17 October 2013 21:58:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:36 UTC