I'm trying to make a very simple page where you click on a <td> in order to change the color. However, I find that if I handle the "ondblclick", a bunch of the td is selected as what normally happens when you double click on a line. However, this breaks the expected functionality that I'm looking for, since my <td>s don't have any text in them to select. Oddly though, if I only have one <td> in a table, it works as expected. -e
Created attachment 5008 [details] html page demonstrating the selection issue
I can reproduce this, good testcase.
(In reply to comment #0) > my <td>s don't have any text in them to select. The attached test case has nbsp's there, but I could still reproduce this issue after removing them. Moving to HTML Editing component (selection-related).
Very annoying. Basically you can use Ondblclick without selecting the text. I'll add a even more basic example. In my case, I have a dynamically filled unordered list where clicking on the list-items selects parts of the body. Unfortunately, I couldn't reproduce this behaviour in a simple example yet. This works fine in Firefox.
Sorry... Basically you CAN'T use Ondblclick without selecting the text.
Created attachment 21457 [details] Doubleclick issue also without tables
This still seems to be an issue!
<rdar://problem/96301537>