Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 182ce24b14ccce403419f13fab55dddf33a6dbd1
      
https://github.com/WebKit/WebKit/commit/182ce24b14ccce403419f13fab55dddf33a6dbd1
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2026-10-08 (Thu, 08 Oct 2026)

  Changed paths:
    M LayoutTests/platform/mac-tahoe-wk2-lbse-text/TestExpectations
    M Source/WebCore/rendering/svg/RenderSVGContainer.cpp
    M Source/WebCore/rendering/svg/RenderSVGText.cpp

  Log Message:
  -----------
  [LBSE] Support pointer-events: bounding-box on SVG text
https://bugs.webkit.org/show_bug.cgi?id=326409

Reviewed by Rob Buis.

LBSE only hit-tested the glyphs of SVG text, ignoring pointer-events:
bounding-box. Fall back to the text bounding box when no glyph is hit.

This exposed a second bug: if no child of a layered container is hit in
DOM order, RenderSVGContainer::nodeAtPoint() tests the children again,
ignoring their transforms. Transformed children were already tested
correctly in DOM order, so skip them there.

* LayoutTests/platform/mac-tahoe-wk2-lbse-text/TestExpectations:
* Source/WebCore/rendering/svg/RenderSVGContainer.cpp:
(WebCore::RenderSVGContainer::nodeAtPoint):
* Source/WebCore/rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::nodeAtPoint):

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



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

Reply via email to