Re: [svgwg] overflow="auto" should be treated as hidden rather than visible

@DavidBruchmann 

There's definitely a use case for having a non-JS option for being able to zoom & pan large SVG charts and maps!  For scrolling only, you can fake it with an inline SVG or SVG image inside a `<div>`. But zoom currently requires custom JS. Which means that there are no consistent interaction behaviors (particularly re accessibility) for users going from one site to the next.  And if an author hasn't added JS zoom & pan, the user is stuck zooming the entire web page if they need a higher magnification.

The original SVG specs assumed that SVG elements in an interactive environment would have zoom & pan controls by default: there are attributes to explicitly turn these off!  But they haven't existed in practice since the Adobe plug-in days.  

Anyway, the SVG 2 spec was written to leave the option open for browsers to jump on board with native zoom & pan controls.  But we also needed guidance for the current situation. So that's why it is worded as "if scroll/pan is available", do this, otherwise do that.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/329#issuecomment-311871151 using your GitHub account

Received on Thursday, 29 June 2017 06:06:40 UTC