DescriptionSet focused flag earlier than dispatching focus events.
Blink used to set focused flag on focused element after
dispatching focus events.
This caused mismatch with other
browsers, during event handler
document.querySelector(":focus")
doesn't match anything.
BUG=523126
TEST=fast/events/focus-querySelector-in-focus-event-handler.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201118
Patch Set 1 #Patch Set 2 : layout test only #Patch Set 3 : run with the fix #
Total comments: 2
Patch Set 4 : remove body tag. #
Messages
Total messages: 13 (6 generated)
|