[Webkit-unassigned] [Bug 232615] New: [GTK] Delete with backspace does not remove all elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 2 02:54:41 PDT 2021


            Bug ID: 232615
           Summary: [GTK] Delete with backspace does not remove all
           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: mcrha at redhat.com
                CC: wenson_hsieh at apple.com

Created attachment 443076

  --> https://bugs.webkit.org/attachment.cgi?id=443076&action=review

test HTML file

Coming from a downstream bug report:

I'm using webkit2gtk3-2.34.0.

When deleting content, not every element can be deleted, which leads to broken structure.

a) save the attached test file
b) open it in the MiniBrowser:

   $ /usr/libexec/webkit2gtk-4.0/MiniBrowser --editor-mode /tmp/evocp.html

c) place the cursor before the "last div", at the end of the email address
d) hold Backspace until all the text above the "last div" is deleted

Expected: Everything is deleted
Currently: some elements are left at the top

Alternative steps:
c) Atrl+A followed by Delete

The same outcome as before.

When I remove the "last div" from the HTML structure, it works as expected, everything can be deleted on the first shot.


The upstream bug exhibits an interesting drawing issue too, see the screenshots there. I'm not able to reproduce that part in the MiniBrowser, even the HTML structure seems to be exactly the same.

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/20211102/09274240/attachment-0001.htm>

More information about the webkit-unassigned mailing list