On Jul 26, 2010, at 6:32 PM, Ojan Vafai wrote:
> On Mon, Jul 26, 2010 at 12:06 AM, Darin Adler <[email protected]> wrote:
> You mention activeElementId, but there must be other side effects that matter.
>
> The only other side effects I can think of are the focus outline (which could
> probably be tested via getComputedStyle?) and clearing the selection.
Style changes specified using the :focus pseudo-style is another type of side
effect.
> This sequence doesn’t sound too terrible to me. But I don’t fully understand
> the proposal. At the time the focusin event fires we won’t yet know what item
> is getting focus?
>
> I think we do know this and it wouldn't be too hard to implement. It's just a
> question of what we think the best behavior is. Specifically, in
> Document::setFocusedNode, we know both the new focused node and the old
> focused node when firing these events.
The “we” I meant is the JavaScript code on the webpage.
-- Darin
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev