Re: foreignObject and position:fixed children

On Sunday, May 3, 2009, 3:38:51 AM, Jonathan wrote:

JW> Does anyone have any opinions on whether the foreignObject element should be a
JW> fixed positioning container block? 

We discussed that on todays SVG call and confirmed that yes, it should.

JW> In other words, should an element inside a
JW> foreignObject with 'position:fixed' on it be fixed to a position relative to the
JW> viewport rectangle established by the foreignObject's x, y, width and height
JW> attributes?

Yes.

JW>  Or should it be fixed relative to the next nearest fixed positioning
JW> container block (e.g. the client area of the browser window)?

No. The intent is that foreignObject establishes a new fixed positioning context.


-- 
 Chris Lilley                    mailto:chris@w3.org
 Technical Director, Interaction Domain
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG

Received on Monday, 4 May 2009 07:50:18 UTC