[Webkit-unassigned] [Bug 41523] Crash in RenderObject::containingBlock when clearing selection in a display:none node.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 9 16:37:30 PDT 2010


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





--- Comment #11 from Darin Adler <darin at apple.com>  2010-07-09 16:37:30 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> > Don't you need the update in the range code path too?
> 
> What's the equivalent Range code path to clearing the selection? I tried deleteContents on Range, but that also clears the selection.

I don’t know the answer.

You’re thinking of this in terms of “clearing the selection”, but I’m thinking of it in terms of “this code assumes it can use the render tree, but that tree might be out of date with pending layout needed”. That seems to apply equally to the range-selection part of the code. I’ll see if I can think of anything concrete.

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