Bug 17993

Summary: REGRESSION (r31081): Clicking in wordpress editor causes strange behavior and de-selection
Product: WebKit Reporter: Kevin Ballard <kevin>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit
Priority: P2 Keywords: InRadar, Regression
Version: 528+ (Nightly build)   
Hardware: Macintosh   
OS: OS X 10.5   
Attachments:
Description Flags
Cached wp-admin page demonstrating this problem none

Description Kevin Ballard 2008-03-21 15:04:06 PDT
In WordPress 2.3.3 with the visual editor turned off, clicking in the main text area causes weird behavior including the following: selection moved back to start of text area, text area deselected, text area selected but painting as if deselected, and keypresses or clicks ignored. This behavior continues until you select a range of text and start typing, at which point it seems to behave like a normal textarea again.

Editing the wp-admin.css file to comment out the following rule:

#postdivrich #content, #postdivrich #content:active {
	border: 1px solid #ccc;
}

seems to make this behavior stop. However, using that rule in a simple test page does not trigger this behavior.

This is a regression, as Safari 3.1 and earlier nightly builds with Safari 3.0 did not exhibit this behavior.
Comment 1 Kevin Ballard 2008-03-21 15:06:44 PDT
Created attachment 19939 [details]
Cached wp-admin page demonstrating this problem
Comment 2 Dave Hyatt 2008-03-21 15:08:26 PDT
Yes, I ran into this while trying to post new blog entries.  i had to go back to 3.1. :(
Comment 3 Adam Roben (:aroben) 2008-03-21 15:12:19 PDT
<rdar://problem/5813692>
Comment 4 Adele Peterson 2008-03-21 16:26:03 PDT
looks like this broke somewhere between 31071 and 31093.  I'll try to narrow it down more.
Comment 5 Adele Peterson 2008-03-21 16:30:38 PDT
between 31078 and 31081...
Comment 6 Adele Peterson 2008-03-21 16:32:22 PDT
http://trac.webkit.org/projects/webkit/changeset/31080 is editing related, and
http://trac.webkit.org/projects/webkit/changeset/31081 is text control related.  Could be either...
Comment 7 Adele Peterson 2008-03-31 12:45:37 PDT
I've confirmed its r31081.
Comment 8 Adele Peterson 2008-04-01 11:21:22 PDT
hmm- i should've started on a reduction sooner.  The test case no longer works.
Comment 9 Adele Peterson 2008-06-16 16:51:17 PDT
I have a setup of Wordpress 2.3.3 now, but I still can't reproduce.  We may have to close this one out.
Comment 10 Robert Blaut 2008-12-27 12:55:02 PST
(In reply to comment #9)
> I have a setup of Wordpress 2.3.3 now, but I still can't reproduce.  We may
> have to close this one out.
> 

So why it isn't still closed?