[Webkit-unassigned] [Bug 53082] New: SVG: "margin" style not properly applied to xhtml foreignObjects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 25 06:32:32 PST 2011


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

           Summary: SVG: "margin" style not properly applied to xhtml
                    foreignObjects
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P1
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: skylined at chromium.org
                CC: eric at webkit.org, zimmermann at kde.org


Created an attachment (id=80057)
 --> (https://bugs.webkit.org/attachment.cgi?id=80057&action=review)
SVG version - displays X too high

Chromium bug: http://code.google.com/p/chromium/issues/detail?id=70758

Repro = compare visually:
<?xml version="1.0" standalone="yes"?>
<html xmlns="http://www.w3.org/1999/xhtml">
  <body style="margin:50px">
    X
  </body>
</html>

and

<?xml version="1.0" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg">
  <foreignObject x="0" y="0" width="100%" height="100%">
    <body xmlns="http://www.w3.org/1999/xhtml" style="margin:50px">
      X
    </body>
  </foreignObject>
</svg>

The later (SVG) version does not apply the margin on the TOP, so the X is not displayed in the correct location.

-- 
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