[Webkit-unassigned] [Bug 76159] New: Extraneous vertical scrollbar when displaying SVG content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 12 02:24:07 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=76159

           Summary: Extraneous vertical scrollbar when displaying SVG
                    content
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pom at graougraou.com
                CC: zimmermann at kde.org


Created an attachment (id=122195)
 --> (https://bugs.webkit.org/attachment.cgi?id=122195&action=review)
A red SVG circle element filling the whole page; unwanted space at the bottom of the body

When displaying SVG content in an HTML document with a body with no margin (i.e., the CSS margin property is set to 0 on the body element), the SVG content fills up the page as expected: the SVG element has the same height as the window innerHeight; however, the body element is for some reason a few pixels taller (I measured 4px recently), causing a vertical scrollbar to appear. Please find attached a test document that showcases the problem.

The expected behavior is that html, body, and svg elements all have the same height, with the same value as window.innerHeight, and no scrollbar is displayed. This does not seem to be a problem caused by whitespace in the document or by the HTML vs. XHTML parser as far as I can tell. Google Chrome also shows the same behavior. As a workaround the "overflow: hidden" CSS property can be set on the body.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list