[Webkit-unassigned] [Bug 41423] spelling underline gets lost on backspace

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 8 09:33:49 PDT 2010


Tony Chang <tony at chromium.org> changed:

           What    |Removed                     |Added
                 CC|                            |tony at chromium.org

--- Comment #18 from Tony Chang <tony at chromium.org>  2010-09-08 09:33:49 PST ---
(In reply to comment #17)
> > Out of curiosity, what happens if you don't remove the markers?  What is the benefit of removing the markers?
> There would be no observable difference.
> Markers are hold in the Document object using a hash map, 
> and nobody cleanup the map entry even after the DOM node is gone.
> I think it is a kind of a leak.
> Although memory  for marked-deleted node goes back to the system 
> when once Document is deleted, it stays in WebCore during the document is alive.

That makes sense.  Thanks for explaining.  I agree that it is good to clear the markers rather than wait until the document is destroyed.

When you commit, please watch the Snow Leopard bots.  I'm not sure if the text will trigger a grammar marker or not (maybe it's not enabled by default on the bot?).

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