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? 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 UTC