W3C home > Mailing lists > Public > www-svg@w3.org > August 2010

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

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 24 Aug 2010 00:37:05 +0000 (UTC)
To: Kevin Ar18 <kevinar18@hotmail.com>
cc: patd@microsoft.com, tonyschr@microsoft.com, www-svg@w3.org
Message-ID: <Pine.LNX.4.64.1008240035180.20486@ps20323.dreamhostps.com>
On Mon, 23 Aug 2010, Kevin Ar18 wrote:
>
> I'm not sure if it is a spec issue or a misunderstanding, but the 
> browsers can't seem to agree on whether the svg element should act like 
> an invisible blocking layer to content underneath. Opera thinks it 
> should not block content underneat or dispatch events when using 
> position:absolute; but that it should trigger events when inline. 
> Firefox, thinks the svg element should act like an invisible layer 
> blocking access to items underneath. [...]
>
> Maybe this issue has nothing to do with html; maybe it needs some 
> clarification in CSS instead.

This sounds like something that should be defined in SVG and/or DOM Events 
(assuming you mean "blocking" for the purposes of mouse clicks), not in 
HTML. The same problem would occur without HTML being involved at all, 
e.g. if you just had a random XML element styled with CSS which then had 
SVG inside it.

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

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