[webkit-changes] [WebKit/WebKit] 1a680e: REGRESSION(283211 at main): Crash in SVGTextChunk

Antti Koivisto noreply at github.com
Wed Sep 11 11:24:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1a680e85bf547648de71a7ff67671cf0da2b5de3
      https://github.com/WebKit/WebKit/commit/1a680e85bf547648de71a7ff67671cf0da2b5de3
  Author: Antti Koivisto <antti at apple.com>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    A LayoutTests/fast/svg/svg-text-segment-crash-expected.txt
    A LayoutTests/fast/svg/svg-text-segment-crash.html
    M Source/WebCore/rendering/svg/SVGTextChunk.cpp

  Log Message:
  -----------
  REGRESSION(283211 at main): Crash in SVGTextChunk
https://bugs.webkit.org/show_bug.cgi?id=279521
rdar://135587580

Reviewed by Alan Baradlay.

* LayoutTests/fast/svg/svg-text-segment-crash-expected.txt: Added.
* LayoutTests/fast/svg/svg-text-segment-crash.html: Added.
* Source/WebCore/rendering/svg/SVGTextChunk.cpp:
(WebCore::SVGTextChunk::SVGTextChunk):

Turns out empty boxes don't end up on the map so we need to check the lookups.

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



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


More information about the webkit-changes mailing list