[Webkit-unassigned] [Bug 249643] New: [CSS Shapes] Clamp reference box to zero for the reference box calculation in the MarginBox case

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 20 03:59:18 PST 2022


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

            Bug ID: 249643
           Summary: [CSS Shapes] Clamp reference box to zero for the
                    reference box calculation in the MarginBox case
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com

Hi Team,

While going through Blink's commit, I came across following:

Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=192180

Webkit Source - https://searchfox.org/wubkat/source/Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp#116

If we can add clamping similar to Blink for the cases where due to negative margin on negative width/heights, we can fix assertion and crashes.

Appreciate if someone can confirm if it is worth fixing and I am happy to do PR.

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/20221220/923e9f37/attachment.htm>


More information about the webkit-unassigned mailing list