diff options
author | Daniel Carl <danielcarl@gmx.de> | 2015-04-26 23:30:36 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2015-04-26 23:39:29 +0200 |
commit | a58e134dcb9e820476a6ce0924002447ca0f8cc2 (patch) | |
tree | ee04833dbbd021f88d860dfa3d0ae30af55838fd /tests | |
parent | af19c0c481e44fbb873d60c33cd1724747faa949 (diff) |
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`.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/manual/201-editable-focus-in-iframes.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/manual/201-editable-focus-in-iframes.html b/tests/manual/201-editable-focus-in-iframes.html new file mode 100644 index 0000000..d02c0fb --- /dev/null +++ b/tests/manual/201-editable-focus-in-iframes.html @@ -0,0 +1,9 @@ +<html> +<head> +<title>Track Focu/Blur also within iFrames</title> +</head> +<body> +<iframe style="border: 1px solid #000; width: 500px; height: 500px;" src="./112-editable-focus.html"></iframe> +</body> +</html> + |