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

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 UTC