W3C home > Mailing lists > Public > www-svg@w3.org > May 2009

Re: foreignObject and position:fixed children

From: Chris Lilley <chris@w3.org>
Date: Mon, 4 May 2009 09:50:08 +0200
Message-ID: <1554692857.20090504095008@w3.org>
To: Jonathan Watt <jwatt@jwatt.org>
CC: www-svg <www-svg@w3.org>
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?


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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:17 UTC