[Webkit-unassigned] [Bug 13624] REGRESSION: can select text of an input button

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 21 09:58:04 PDT 2012


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





--- Comment #17 from Ryosuke Niwa <rniwa at webkit.org>  2012-03-21 09:58:03 PST ---
(In reply to comment #16)
> (In reply to comment #15)
> > Finding rootEditableElement is very expensive. You should either call isContentEditable() or rendererIsEditable(). Call later if the layout is up-to-date whenever canBeSelectionLeaf is called.
> 
> To call isContentEditable(), i need to make sure this should not get call during layout is happening. I found needslayout() but I think it just tells weather present node's layout is complete or not but i have to check the complete layout is over or not. Can you please suggest the appropriate API i can use here.

I'm not sure what you mean... isContentEditable only triggers style recalc. If you're in the middle of a layout, then the style must be up to date.

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