[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
Thu Mar 4 23:10:44 PST 2010


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


Tony Chang (Google) <tony at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jparent at google.com,
                   |                            |ojan at chromium.org,
                   |                            |tony at chromium.org




--- Comment #2 from Tony Chang (Google) <tony at chromium.org>  2010-03-04 23:10:43 PST ---
A couple observations:
- WebKit currently only deletes what you can select.  You can only select a
region based on where you can place a cursor.  Since you can't place a cursor
before the first list item, you can't delete it by selecting it.
- In Firefox, if I only have a single list item, I end up with the same
problem.  Since I can't select outside the list item, I can only delete text
within the list item.  I can however use Select All to select and remove the
list.
- In Firefox, it seems to special case deleting more than one list item at a
time.  If I'm deleting 2+ list items and all the text is being removed, the
bullet is also removed.
- In IE, I can't seem to select before the first list item, so I can't delete
it in IE either.  Ctrl+A does work and allows me to delete the whole document. 
IE does not special case the deleting of 2+ list items that Firefox does.


In conclusion, I think this is working as expected.  Firefox is the only
browser that seems to allow selecting and deleting the first bullet, and it's
only in some cases.  perhaps Select All should work, but I think that'll be
tricky since selections in webkit are based on visible positions and there's no
way to get the cursor before the first list item.

-- 
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