[Webkit-unassigned] [Bug 279124] New: Fix scrollIntoView(...) for SVG elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 4 05:10:08 PDT 2024


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

            Bug ID: 279124
           Summary: Fix scrollIntoView(...) for SVG elements
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat, WPTImpact
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: karlcow at apple.com, sabouhallawa at apple.com,
                    webkit-bug-importer at group.apple.com,
                    zimmermann at kde.org

Hi Team,

While going through WPT test failures, I came across another potential merge to fix CSSOM SVG test case.

WPT Test Case: https://wpt.fyi/results/css/cssom-view/scrollIntoView-svg-shape.html?label=experimental&label=master&aligned

WPT Live Link: http://wpt.live/css/cssom-view/scrollIntoView-svg-shape.html

Blink Commit: https://chromium.googlesource.com/chromium/src.git/+/5d6edb4f084778cf635640c4fafd65418af841f7

WebKit Source: https://searchfox.org/wubkat/rev/b36cbce69fddb7da33823f316bd8ead5bebee970/Source/WebCore/rendering/RenderElement.cpp (getTrailingCorner and getLeadingCorner)

** For leading corner ***

if (isSVGRenderer()) {
        point = localToAbsoluteQuad(strokeBoundingBox(), UseTransforms).boundingBox().minXMinYCorner();
        return true;
    }

** For trailing corner ***

if (isSVGRenderer()) {
        point = localToAbsoluteQuad(strokeBoundingBox(), UseTransforms).boundingBox().maxXMaxYCorner();
        return true;
    }

___

This compiles and it progresses all three test cases.

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/20240904/76b9fe98/attachment.htm>


More information about the webkit-unassigned mailing list