[Webkit-unassigned] [Bug 48037] Triple click does not select whole line for mixed contenteditable regions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 25 20:16:40 PDT 2010


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





--- Comment #12 from Ryosuke Niwa <rniwa at webkit.org>  2010-10-25 20:16:39 PST ---
(In reply to comment #10)
> <div contenteditable>foo <span contenteditable="false">bar</span> baz</div>
> 
> the "bar" is just some uneditable inline entity within an editable block, so I don't see why the shouldn't cross it.  Another way of saying the same thing, I suppose, is "are foo/bar/baz in the same paragraph", the answer to which I assumed was yes.

In this case, new behavior seems to be desirable.  But how about
foo <div contenteditable>bar</div> baz
or
<div contenteditable>foo</div> bar <div contenteditable>baz</div>
With your patch, we extend the selection to foo & baz in these case as well.  I'm not sure if we should allow such weird selections.

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