Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1bb6cdcc3e064f19e32c9e1eddc033be1613fe93
https://github.com/WebKit/WebKit/commit/1bb6cdcc3e064f19e32c9e1eddc033be1613fe93
Author: Richard Robinson <[email protected]>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M Source/WebCore/css/MutableStyleProperties.cpp
Log Message:
-----------
REGRESSION(279662@main): [ iOS 18 ] 6 TestWebKitAPI.UnifiedTextReplacement
tests are constant failure
https://bugs.webkit.org/show_bug.cgi?id=275466
rdar://129560001
Reviewed by Megan Gardner.
When receiving replacement text from Writing Tools in the Smart Reply case, a
DocumentFragment is
created from the attributed string, which is then used in a
`ReplaceSelectionCommand` with `MatchStyle::Yes`.
In this case, if there are internal style attributes involved, then an
assertion failure will be reached.
Fix by removing this assertion, since it is perfectly valid to have internal
attributes in this case,
and the case is handled fine already anyways.
* Source/WebCore/css/MutableStyleProperties.cpp:
(WebCore::MutableStyleProperties::setProperty):
Canonical link: https://commits.webkit.org/280000@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes