[webkit-changes] [WebKit/WebKit] 41bc44: [Win] ASSERTION FAILED: document().settings().laye...

Nikolas Zimmermann noreply at github.com
Wed Dec 6 12:23:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 41bc442b986402bb968b224a67317cfc07cc85b0
      https://github.com/WebKit/WebKit/commit/41bc442b986402bb968b224a67317cfc07cc85b0
  Author: Nikolas Zimmermann <nzimmermann at igalia.com>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M Source/WebCore/rendering/svg/RenderSVGText.cpp

  Log Message:
  -----------
  [Win] ASSERTION FAILED: document().settings().layerBasedSVGEngineEnabled() in a subsequent test of fast/svg/svg_should_not_crash.html
https://bugs.webkit.org/show_bug.cgi?id=264710

Reviewed by Fujii Hironori.

Fix a wrong assertion, that verifies that LBSE is enabled when 'RenderSVGText::nodeAtPoint' is called.
If LBSE is disabled, we need to forward the call to the base class RenderSVGBlock::nodeAtPoint instead.

Covered by existing tests.

* Source/WebCore/rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::nodeAtPoint):

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




More information about the webkit-changes mailing list