[Webkit-unassigned] [Bug 24789] Select all in an editable document and then delete should put editing back into the same state as a new message

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 24 16:32:50 PDT 2009


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


ojan at chromium.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jparent at google.com




------- Comment #3 from ojan at chromium.org  2009-03-24 16:32 PDT -------
This patch seems good to me. Although, it should look at the
rootEditableElement, or whatever it's called, instead of the body element so
that it also works for contentEditable nodes.

In the long-term, we'll need to be careful that this test still works as we
rewire VisiblePositions/Positions. As long as a layout test accompanies the fix
though, I think we'd be good.

Would be good to also have tests that test making a selection with the
mouse/keyboard that selects all the content of an editable element, then
deletes so that we can document that it's either the same or different than
select all + delete. It's not clear to me whether it should be the same, but at
the very least, we should know if it is and if that behavior changes in the
future.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list