[Webkit-unassigned] [Bug 133046] New: SVGSVGElement::selfHasRelativeLengths probably can return bogus results for width and height

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 18 02:32:02 PDT 2014


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

           Summary: SVGSVGElement::selfHasRelativeLengths probably can
                    return bogus results for width and height
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: krit at webkit.org
                CC: zimmermann at kde.org, pdr at google.com


width and height are presentation attributes and can be set in an style sheet. Setting the style in a style sheet does not affect the presentation attribute style. SVGSVGElement::selfHasRelativeLengths currently checks baseVal of width and height on the presentation attribute style only. It must check the computed value instead.

The problem: selfHasRelativeLengths does not depend on RenderObjects at the moment. Since width and height are computed in RenderStyle, we probably should move this whole logic to RenderObject (the individual renderers) somehow.

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