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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 23 17:14:16 PDT 2022


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

--- Comment #3 from Tim Horton <thorton at apple.com> ---
https://bugs.webkit.org/show_bug.cgi?id=133371 suggests that display:none things should be editable.

Humorously, while https://trac.webkit.org/changeset/160966/webkit progressed bug 133371 in the case where you're querying isContentEditable on a child of the display:hidden element, it still says NO if you query *exactly* the display:hidden element.

Also, both Chrome and Firefox say isContentEditable=true for all elements (the direct display:none element and the children). I believe that the fact that Chrome doesn't allow editing in my original test case does not have to do with editability, but rather with selection behavior in display:none, so not necessarily related to this bug.

All of this together, plus the fact that changing this only affects a single test, makes me think that aligning on the Firefox behavior is the way to go. I'm going to prepare a patch to do so. Please shout if you disagree!

-- 
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/20220524/0be1b13e/attachment.htm>


More information about the webkit-unassigned mailing list