Handling of <view> element

Hi all

I have noticed that there seems to be some inconsistency among renderers on
how to handle <view> elements.  In particular, I have noticed two issues.


Issue #1: the viewBox

Chrome, Firefox and IE appear to render the document as if the viewBox of
the <view> has replaced the viewBox of the <svg>.  Meaning that a length of
"100%" spans the <view> rather than the <svg>.

In Batik, this doesn't happen. "100%" is calculated from the <svg> viewport.


Issue #2: clipping

Chrome, FF and IE clip to the <view> whereas Batik does not.


Neither the 1.1 or the 2 spec define exactly what is supposed to happen
(for either issue).  Is it perhaps worth clarifying this?  My personal view
is that Batik is correct.

Paul

Received on Sunday, 23 June 2013 21:39:29 UTC