W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [CSS21] Overflow/clip and stacking contexts

From: Simon Fraser <smfr@me.com>
Date: Fri, 11 May 2012 13:21:57 -0700
Cc: www-style list <www-style@w3.org>
Message-id: <A9F2BE2E-0F9D-4A32-843C-676D00E92A33@me.com>
To: Simon Sapin <simon.sapin@kozea.fr>
On May 11, 2012, at 7:04 AM, Simon Sapin wrote:

> Hi,
> Can the 'overflow' and 'clip' properties create a new stacking context, like 'opacity'? If they can not, I have trouble seeing how to implement them while also implementing the proper painting order described in appendix E.
> In particular, several steps refer to descendants of a box that creates a stacking context. The overflow and clip properties that apply are not only that of each descendant, but also that of all their ancestors.
> I guess that would be possible, but the implementation gets much more complex.

This has been argued before <http://lists.w3.org/Archives/Public/www-style/2009Feb/0131.html> and I'm still very much in favor of having overflow create stacking context. I've spent many hundreds of developer hours on making overflow work correctly with accelerated compositing in WebKit, and much of that time could have been saved if overflow simply created a stacking context.

Received on Friday, 11 May 2012 20:22:35 UTC

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