RE: How does the svg element handle CSS border and background-color?


I think then if I read what you wrote before (and try not to inflame those that have contributed to this discussion thus far):

SVG should be considered part of the CSS styling Box Model when in HTML and should receive events

Doug/WG: Can we write that down somewhere as a start at least?

-----Original Message-----
From: Ian Hickson [] 
Sent: Monday, August 23, 2010 4:42 PM
To: Patrick Dengler
Cc: Tony Schreiner; Kevin Ar18;
Subject: RE: How does the svg element handle CSS border and background-color?

On Mon, 23 Aug 2010, Patrick Dengler wrote:
> At the last SVG Face to Face, we were debating how and where to answer 
> these questions about SVG embedded in HTML.  I am not sure from your 
> answer below whether you intend to visit this in the HTML working 
> group, or whether you expect us to define this within the SVG Working Group.
> At the very least, at the SVG Face-to-Face, a few vendors agreed to 
> push some tests up somewhere so we could make sure we agree on the 
> scenarios to start.
> Are there areas in the spec that clearly define the expected behavior 
> as we move forward with SVG in HTML?  I think that we need to think of 
> it beyond foreign content and more like stylable, scriptable, vector 
> graphics integrated into web pages.

What isn't defined? I thought we'd resolved all the SVG/CSS integration points a while back. There's nothing special about HTML here, as far as I can tell. It's just a DOM, styled with CSS. You'd have the same problems defining how things interact with just random XML and CSS, no?

If there are specific things that need defining then I'm definitely happy to help define them. I'm just not aware of anything being left undefined any more.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 26 August 2010 21:51:25 UTC