- From: Robert Longson <longsonr@gmail.com>
- Date: Mon, 24 Jun 2013 22:13:08 +0100
- To: Paul LeBeau <paul.lebeau@gmail.com>
- Cc: www-svg <www-svg@w3.org>
- Message-ID: <CAOu7Uv4a=kAGp-8_5P4e_cCHN18n+bRY7qkV-ykvdBBKORrhmg@mail.gmail.com>
Paul, >From http://www.w3.org/TR/SVG/linking.html#ViewElement Any view specification attributes included on the given ‘view’<http://www.w3.org/TR/SVG/linking.html#ViewElement>element override the corresponding view specification attributes on the closest ancestor ‘svg’ <http://www.w3.org/TR/SVG/struct.html#SVGElement>element. So you have an <svg> with a viewBox of the view. And inner <svg> elements are overflow: hidden per http://www.w3.org/TR/SVG/masking.html#OverflowProperty So I think Batik is wrong and the rest of us are right Robert. On 24 June 2013 18:50, Paul LeBeau <paul.lebeau@gmail.com> wrote: > Yes sorry. I should have supplied an example in my original post. > > Try the following example which is from the IE documentation [1]: > > http://www.paullebeau.com/svg2/test_view.svg > > The green border is a <rect> with width and height set to 100%. If you > view the above URL in Chrome, FF or IE and click on the "[double size]" or > "[half size]" link you should see that the border is surrounding the view > rather than the document. > > You can also see that the contents are clipped to the view despite their > being nothing in the document that says to do that. > > Paul > > > [1] http://msdn.microsoft.com/en-nz/library/ie/ff972134(v=vs.85).aspx > > > On 25 June 2013 05:15, Robert Longson <longsonr@gmail.com> wrote: > >> Paul, >> >> Do you have examples showing these issues? >> >> Robert. >> > > > >
Received on Monday, 24 June 2013 21:13:36 UTC