Re: the meaning overflow:auto for SVG elements

On May 26, 2012, at 10:56 PM, Cameron McCormack wrote:

> I think I remember this being brought up before, but I can't find 
> anything on the mailing list with a quick search.
> 
> SVG 1.1 says the the value "auto" for SVG elements means the same as 
> "visible", which is quite different from CSS boxes, where it means 
> "scroll if you have a scrolling mechanism, and hidden otherwise".  Given 
> that we don't allow scrolling viewports in SVG, shouldn't "auto" mean 
> "hidden" for us?
> 
> 
> Oh I just found the mail I was thinking of, from dbaron:
> 
>   http://lists.w3.org/Archives/Public/www-svg/2010Jul/0000.html
> 
> That never got a reply, and I said in 
> https://bugzilla.mozilla.org/show_bug.cgi?id=573387#c9 that I would 
> bring it up again.  I doubt anyone is relying on overflow:auto meaning 
> visible; Gecko still interprets it as hidden, although WebKit and Opera 
> do follow the current spec here.
> 
> Updated test attached.
> <o.svg>

Again, follow CSS3 and change SVG wording. This is less confusing for authors.

Greetings,
Dirk

Received on Sunday, 27 May 2012 13:39:58 UTC