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

Re: [css3-regions][css3-transforms] Fixed positioned element with transformed parent flowed in regions

From: Simon Fraser <smfr@me.com>
Date: Thu, 05 Sep 2013 16:55:58 -0700
Cc: "www-style@w3.org" <www-style@w3.org>, Alan Stearns <stearns@adobe.com>
Message-id: <64D5DB4C-CAA8-45E8-B869-9AA5F07D4F3E@me.com>
To: Mihnea-Vlad Ovidenie <mihnea@adobe.com>
On Sep 5, 2013, at 2:26 AM, Mihnea-Vlad Ovidenie <mihnea@adobe.com> wrote:

> The "CSS Transforms" spec ([1]) states that the transformed elements are
> acting as containing blocks for their fixed positioned descendants.
> The "CSS Regions" spec ([2]) states that a fixed positioned element
> collected in a named flow is positioned/sized relative to the viewport.
> 
> Let's assume that I want to flow into a region a fixed positioned element
> that has a transformed ancestor, like in the following case:
> 
> <div id="transformed" style="transform: translate(80px, 80px);">
>    <div id="fixed" style="position: fixed; flow-into: article;"></div>
> </div>
> 
> Note that I am only flowing the #fixed element without its parent.
> 
> Is the #fixed element positioned/sized relative to the viewport instead of
> its transformed ancestor? I would say so, but I would like to hear more
> opinions on this.

I agree.

Simon
Received on Thursday, 5 September 2013 23:56:21 UTC

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