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

Re: [css3-transforms] Proposal for behavior of background-attachment:fixed inside transformed elements

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 28 Jun 2012 21:55:30 -0700
To: Simon Fraser <smfr@me.com>
Cc: www-style list <www-style@w3.org>
Message-ID: <20120629045530.GA18801@crum.dbaron.org>
On Wednesday 2012-06-27 09:40 -0700, Simon Fraser wrote:
> I have an alternative proposal: background-attachment:fixed
> behaves like background-attachment:scroll (the default) on any
> element that has a transform, or has an ancestor with a transform.
> This results in the background scrolling with the element, which
> is less surprising to authors for transformed elements, simple for
> UAs to implement, and allows UAs to do efficient scrolling
> (avoiding repaints) in more cases.

I agree with this.  It's probably better than what I suggested.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Friday, 29 June 2012 04:56:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT