Check for dom focus/blur event on window object cleared (#201).
authorDaniel Carl <danielcarl@gmx.de>
Sun, 26 Apr 2015 21:30:36 +0000 (23:30 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sun, 26 Apr 2015 21:39:29 +0000 (23:39 +0200)
commita58e134dcb9e820476a6ce0924002447ca0f8cc2
treeee04833dbbd021f88d860dfa3d0ae30af55838fd
parentaf19c0c481e44fbb873d60c33cd1724747faa949
Check for dom focus/blur event on window object cleared (#201).

This allows us to track also focus changes within frames and iframes also  if
they are loaded dynamically. The previous logic added the event listeners to
the document on WEBKIT_LOAD_FINISHED, but if there where later created iframes
in the dom, these where not observers for focus events.
This is only a first attempt to fix the focus issue and does break the logic
behind `set strict-focus=on`.
src/dom.c
src/dom.h
src/main.c
tests/manual/201-editable-focus-in-iframes.html [new file with mode: 0644]