[Webkit-unassigned] [Bug 240834] New: Confusing inconsistencies when programmatically applying edit commands to `display:none` elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 23 15:38:37 PDT 2022


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

            Bug ID: 240834
           Summary: Confusing inconsistencies when programmatically
                    applying edit commands to `display:none` elements
           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: thorton at apple.com
                CC: wenson_hsieh at apple.com

Created attachment 459689

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

repro case

See attached test case. WebKit has an odd behavior where if you try to `insertText` into a contenteditable display:none element, it rejects the editing command, but if you try to do the same into a *child* of the contenteditable display:none element, it works.

*Also* interestingly, while the other browser engines behave internally consistently, they do not agree about the correct behavior:

Blink rejects the editing command in both cases.
Gecko allows the editing command in both cases.

-- 
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/20220523/9f2da7e4/attachment.htm>


More information about the webkit-unassigned mailing list