[Webkit-unassigned] [Bug 257615] New: Fix getBBox() returning (0, 0) bug when width or height is zero

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 1 12:33:09 PDT 2023


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

            Bug ID: 257615
           Summary: Fix getBBox() returning (0,0) bug when width or height
                    is zero
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: sabouhallawa at apple.com, zimmermann at kde.org

Hi Team,

While going through Blink commit, I came across another failing test case:

Test Case: https://bug-93290-attachments.webkit.org/attachment.cgi?id=156745

^ From our own bug 93290.

*** Safari Technology Preview 171 & Firefox Nightly 115 ***

bbox size is: 0 by 0

*** Chrome Canary 116 ***

bbox size is: 0 by 100

___________________


Although, we fixed it in bug 93290 but the code is not today as was changed in the bug. (Might be reverted).

Blink Commit: https://src.chromium.org/viewvc/blink?view=revision&revision=170097

^ I did local testing and now we match 'Chrome'.

___________________

FAIL - https://jsfiddle.net/9wdL6xjf/show & https://jsfiddle.net/f2m7kh69/show etc.

_____________________

Bounding Box Spec: https://svgwg.org/svg2-draft/coords.html#BoundingBoxes & https://svgwg.org/svg2-draft/types.html#__svg__SVGGraphicsElement__getBBox

________________________

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230601/638e3537/attachment-0001.htm>


More information about the webkit-unassigned mailing list