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: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 27 Jun 2012 16:04:42 -0700
Message-ID: <CAAWBYDALOZq1wv4JJ+bxcQXY6w73gpc1PmwpmmAjAm8uqhcOBQ@mail.gmail.com>
To: robert@ocallahan.org
Cc: Simon Fraser <smfr@me.com>, www-style list <www-style@w3.org>
On Wed, Jun 27, 2012 at 2:53 PM, Robert O'Callahan <robert@ocallahan.org> wrote:
> On Thu, Jun 28, 2012 at 9:50 AM, Robert O'Callahan <robert@ocallahan.org>
> wrote:
>> On Thu, Jun 28, 2012 at 4:40 AM, Simon Fraser <smfr@me.com> wrote:
>>>
>>> David Baron suggested that the backgrounds are rendered as if there are
>>> no transforms, then the transforms applied. This would cause surprising
>>> behavior in some cases; for example, on an element with a 90deg rotation and
>>> a fixed background, the background would move sideways when scrolling
>>> vertically.
>>
>> Modulo a few bugs, this is what Firefox, Chrome and (I'm told) IE10
>> already do.
>
> Opera too.
>
> Let's just keep doing this. In Gecko at least, I think the bugs are not very
> hard to fix.

I'm with Simon.  It just looks stupid.  The background no longer
appears 'fixed' at all.  If we can't maintain the intended invariant,
we should just bail entirely, as Simon suggests.

~TJ
Received on Wednesday, 27 June 2012 23:05:38 GMT

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