W3C home > Mailing lists > Public > public-fx@w3.org > July to September 2010

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

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 24 Aug 2010 01:13:32 +0000 (UTC)
To: Kevin Ar18 <kevinar18@hotmail.com>
cc: fantasai.lists@inkedblade.net, public-fx@w3.org
Message-ID: <Pine.LNX.4.64.1008240112510.20486@ps20323.dreamhostps.com>
On Mon, 23 Aug 2010, Kevin Ar18 wrote:
> > From: ian@hixie.ch
> > > > As far as I can tell, HTML5 does not consider the SVG element to 
> > > > be this kind of replaced content: 
> > > > http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#replaced-elements
> > >
> > > I don't really know what "replaced element" means in HTML
> >
> > It's the CSS term -- that section is the part of HTML that defines how 
> > HTML maps to CSS.
> 
> Could you perhaps clarify why the HTML5 spec doesn't list the svg 
> element (and mathml) as a replaced element?

Because it's the HTML spec, not the HTML+SVG+MathML spec.


> Does it actually mean anything, or is the svg element specifically not 
> supposed to be treated like a CSS replaced element?

That's an SVG spec issue.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 24 August 2010 01:14:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 24 August 2010 01:14:03 GMT