[Webkit-unassigned] [Bug 15256] Impossible to place an editable selection inside empty elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 27 16:35:03 PDT 2014


David Gatwood <dgatwood at mac.com> changed:

           What    |Removed                     |Added
 Attachment #238624|0                           |1
        is obsolete|                            |

--- Comment #42 from David Gatwood <dgatwood at mac.com>  2014-09-27 16:34:58 PST ---
Created an attachment (id=238794)
 --> (https://bugs.webkit.org/attachment.cgi?id=238794&action=review)
A more complete patch

Here's a more complete patch.  This patch incorporates the Blink changes, plus additional tweaks to the visible position code and cursor rendering code so that cursors within empty elements show up in the right place, provided that the empty element has a ::before pseudoelement.  (Note that if an element doesn't have both a ::before and ::after pseudoelement, it isn't visually distinct anyway, so although the selection gets stored and retrieved without modification, in practice, the cursor isn't really inside the element in any useful sense of the word.)

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