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
http://www.w3.org/2009/05/04-svg-minutes.html#item05

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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:42 GMT