[Webkit-unassigned] [Bug 11331] Selecting all of a list's items and deleting doesn't always delete the list

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 19 11:35:11 PDT 2011


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


Aryeh Gregor <ayg at aryeh.name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ayg at aryeh.name




--- Comment #3 from Aryeh Gregor <ayg at aryeh.name>  2011-08-19 11:35:11 PST ---
I tested in IE10PP2, Firefox 7.0a2, Chrome 15 dev, and Opera 11.50.  All except Firefox leave the list marker intact if you select using the mouse or arrow keys.  If you select using Ctrl+A, IE10PP2 removes the list marker as well.

I'm inclined to say IE is correct here: selecting with the mouse or arrows should select the text, while selecting with Ctrl+A should select the blocks, and deletion should behave differently in those two cases.

My editing spec currently is silent on what selections are created by various user actions, but it does mandate leaving the list item if the selection is in the Text nodes, and deleting it if the selection includes the <ol> itself.  In WebKit, of course, the selection can't include the <ol> itself here, it's clamped to the text.

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



More information about the webkit-unassigned mailing list