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

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

From: François REMY <francois.remy.dev@outlook.com>
Date: Wed, 25 Sep 2013 22:49:38 +0200
Message-ID: <DUB120-W36E1DB15A965CA14985DBEA52F0@phx.gbl>
To: Florian Rivoal <florian@rivoal.net>, "www-style@w3.org" <www-style@w3.org>
> I would be more comfortable with this if it could be turned into an
> independent property that was orthogonal to overflow:hidden

Why not "paint-limit: [ [ content-box | border-box | margin-box ] <paint-limit-padding>? ] | none"? 

That would allow "overflow: visible; paint-limit: margin-box". The optional padding values (paint-limit-padding) would help extend the margin box or the border box by a few pixels if necessary, and would have the same syntax as a normal padding.

This can also serve as an hint for the browser to extend the layer size in case it does gpu compositing for the element (for example, when we expect to animate box-shadow...) 		 	   		  
Received on Wednesday, 25 September 2013 20:50:09 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:32 UTC