Bug 13946

Summary: REGRESSION: Clicking a <button> clears the selection in contenteditable areas
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Blocker CC: darin, justin.garcia
Priority: P1 Keywords: HasReduction, InRadar, Regression
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Testcase none

Timothy Hatcher
Reported 2007-05-30 21:25:33 PDT
Clicking a <button> (which has a user agent rule of -webkit-user-select: ignore) clears the selection in contenteditable areas. This makes it impossible to create a editing toolbar. Note that non-editable selections aren't cleared in the document.
Attachments
Testcase (352 bytes, text/html)
2007-05-30 21:26 PDT, Timothy Hatcher
no flags
Timothy Hatcher
Comment 1 2007-05-30 21:26:01 PDT
Created attachment 14797 [details] Testcase
Dave Hyatt
Comment 2 2007-05-30 22:11:52 PDT
This is a regression I believe from when this first went in to open source...
Justin Garcia
Comment 3 2007-05-31 02:00:28 PDT
I'll take this one.
Timothy Hatcher
Comment 4 2007-05-31 11:17:45 PDT
Adele Peterson
Comment 5 2007-08-30 17:25:48 PDT
Fixed in r24334 and r24336
Note You need to log in before you can comment on or make changes to this bug.