Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c93f90c3bb072ff0adb52b7d1485ba8a2f4726c9
      
https://github.com/WebKit/WebKit/commit/c93f90c3bb072ff0adb52b7d1485ba8a2f4726c9
  Author: Diego De La Toba <[email protected]>
  Date:   2026-03-26 (Thu, 26 Mar 2026)

  Changed paths:
    M 
LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html
    M LayoutTests/platform/mac-wk2/TestExpectations

  Log Message:
  -----------
  [Tahoe Debug] 
editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html 
is a flaky text failure.
rdar://173282462
https://bugs.webkit.org/show_bug.cgi?id=310683

Reviewed by Ryosuke Niwa.

The test is flaky because the editing commands (Transpose, CreateLink, Undo) 
leave
the DOM in a restructured state where text content from the SVG <tspan> element
(%uef5f%u9776%u638a) non-deterministically appears in the text dump. Since the
test only verifies that these operations don't cause a crash, it is safe to 
remove
the SVG element from the DOM after the test completes to ensure deterministic 
output.

Fix in 
LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html:

Added one line after the test() function to remove the SVG element before the 
test
runner captures the text dump.

* 
LayoutTests/editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html:
* LayoutTests/platform/mac-wk2/TestExpectations:

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



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

Reply via email to