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

Re: foreignObject and position:fixed children

From: Chris Lilley <chris@w3.org>
Date: Wed, 3 Jun 2009 09:01:54 +0200
Message-ID: <2010061185.20090603090154@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? 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? Or should it be fixed relative to the next nearest fixed positioning
JW> container block (e.g. the client area of the browser window)?

Hi JWatt,

This was discussed during the 5 May SVG WG telcon

and we feel that foreignObject establishes (from the CSS layout point of view) a new fixed positioning containing block (indeed, and I just conferred with David Baron, a new canvas as well). So its similar to object or iframe in html, when the content inside the object/iframe is also html.

Its not clear which spec this should be reflected in. It seems to fall between CSS and SVG.... perhaps the one Doug is writing on integration issues.

Tracker, this relates to ACTION-2546

 Chris Lilley                    mailto:chris@w3.org
 Technical Director, Interaction Domain
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Wednesday, 3 June 2009 07:02:06 UTC

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