Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e53a0bba5e47721f29a3e0770dcb207dcc4d712e
      
https://github.com/WebKit/WebKit/commit/e53a0bba5e47721f29a3e0770dcb207dcc4d712e
  Author: Ahmad Saleem <[email protected]>
  Date:   2025-10-31 (Fri, 31 Oct 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGraphicsElement.getBBox-05-expected.txt
    A LayoutTests/svg/custom/getBBox-use-expected.txt
    A LayoutTests/svg/custom/getBBox-use.html
    M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGContainer.h
    M 
Source/WebCore/rendering/svg/legacy/LegacyRenderSVGTransformableContainer.h
    M Source/WebCore/svg/SVGUseElement.cpp
    M Source/WebCore/svg/SVGUseElement.h

  Log Message:
  -----------
  Include additional translation in getBBox for SVGUseElement
https://bugs.webkit.org/show_bug.cgi?id=264010
rdar://118082623

Reviewed by Said Abou-Hallawa.

This patch aligns WebKit with Gecko / Firefox and Blink / Chromium.

Merge: 
https://chromium.googlesource.com/chromium/blink/+/99b52757a16d0a300b77c83c27c443d70ba78f9c

RenderObject::objectBoundingBox() can't be used, because the additional
translation is included in the local-to-parent transform.

* Source/WebCore/rendering/svg/legacy/LegacyRenderSVGContainer.h:
* Source/WebCore/rendering/svg/legacy/LegacyRenderSVGTransformableContainer.h:
* Source/WebCore/svg/SVGUseElement.cpp:
(WebCore::SVGUseElement::getBBox):
* Source/WebCore/svg/SVGUseElement.h:
* LayoutTests/svg/custom/getBBox-use.html: Added.
* LayoutTests/svg/custom/getBBox-use-expected.txt: Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGraphicsElement.getBBox-05-expected.txt:
 Progression

Canonical link: https://commits.webkit.org/302400@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to