Bug 12606

Summary: Clicking a div surrounding a contenteditable div should not focus the contenteditable div
Product: WebKit Reporter: Sam Weinig <sam>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ahmad.saleem792, ap, dev+webkit, frances_c, jasneet, rniwa
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   

Sam Weinig
Reported 2007-02-04 19:31:13 PST
Were the test editing/selection/contenteditable-click-outside.html to work (there is currently a bug in the test in that it uses eventSender.moveTo() not eventSender.mouseMoveTo()) it would show that clicking the surrounding div focuses the inner contenteditable one. You can see this by trying the bug manually and clicking inside the yellow.
Attachments
Frances Cornwall
Comment 1 2024-08-13 16:53:47 PDT
Frances Cornwall
Comment 2 2024-08-13 16:56:09 PDT
*** Bug 18272 has been marked as a duplicate of this bug. ***
Ahmad Saleem
Comment 3 2024-08-13 17:58:07 PDT
I am not sure - this test was on WPT. Although this test does not exist in our repo as well and when it was deleted and whether it was reproducing on latest shipping or beta or STP would be more useful to know.
Note You need to log in before you can comment on or make changes to this bug.