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

the meaning overflow:auto for SVG elements

From: Cameron McCormack <cam@mcc.id.au>
Date: Sun, 27 May 2012 15:56:10 +1000
Message-ID: <4FC1C1FA.7080005@mcc.id.au>
To: SVG public list <www-svg@w3.org>
CC: "L. David Baron" <dbaron@dbaron.org>
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:


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.

(image/svg+xml attachment: o.svg)

Received on Sunday, 27 May 2012 05:56:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:35 UTC