DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41970>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41970

           Summary: Percentages of viewport wrong if its width/height is
                    undefined
           Product: Batik
           Version: 1.7
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SVG Viewer
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


This SVG does not do what I expect (especially when resizing the window):

<?xml version="1.0" encoding="iso-8859-1"?>
<svg xmlns="http://www.w3.org/2000/svg"; viewBox="0 0 100 100"
 preserveAspectRatio="xMinYMid meet">
  <rect width="100" height="100"/>
  <rect fill="#c00" x="20%" y="20%" width="60%" height="60%"/>
</svg>

The spec is unclear: The width of the initial viewport is established by
the width of the outermost svg element, but the default value of this width
attribute is 100% (of the viewport width).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to