[Webkit-unassigned] [Bug 232133] New: ASSERT(node) triggered after surroundNodeRangeWithElement for node without editable style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 21 23:28:24 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=232133

            Bug ID: 232133
           Summary: ASSERT(node) triggered after
                    surroundNodeRangeWithElement for node without editable
                    style
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gnavamarino at apple.com
                CC: wenson_hsieh at apple.com

There are cases where if the last styled node was not parent node of a current text node, but we wish to style the text node we will add a style span to surround the text node. We do this via createStyleSpanElement. However, in order to properly insert the span within the current node, it requires the parent node to have editable style and renderer.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211022/6ab7a57c/attachment.htm>


More information about the webkit-unassigned mailing list