W3C home > Mailing lists > Public > www-svg@w3.org > May 2012

Re: the meaning overflow:auto for SVG elements

From: Dirk Schulze <dschulze@adobe.com>
Date: Sun, 27 May 2012 06:39:23 -0700
To: Cameron McCormack <cam@mcc.id.au>
CC: SVG public list <www-svg@w3.org>, "L. David Baron" <dbaron@dbaron.org>
Message-ID: <4572FA18-5E45-48E5-B1AE-0A7946EE01B1@adobe.com>

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 GMT

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