diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-03-14 13:59:53 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-03-14 13:59:53 -0400 |
commit | bef4dbc067e2bb735920d9c5026fea35e25e92c6 (patch) | |
tree | b93fa40bc1a27a4fc42dde947d686cc90574d4fd | |
parent | e6104b3029d640fea970b187a74d921489938310 (diff) | |
download | pentadactyl-bef4dbc067e2bb735920d9c5026fea35e25e92c6.tar.gz |
Closes issue #443.
-rw-r--r-- | common/content/events.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/content/events.js b/common/content/events.js index f962fe81..d3fd363f 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -1482,8 +1482,11 @@ var Events = Module("events", { isHidden: function isHidden(elem, aggressive) { for (let e = elem; e instanceof Element; e = e.parentNode) { if (util.computedStyle(e).visibility !== "visible" || - aggressive && e.boxObject && e.boxObject.height === 0) + aggressive && !/set$/.test(e.localName) + && e.boxObject && e.boxObject.height === 0) return true; + else if (e.namespaceURI == XUL && e.localName === "panel") + break; } return false; }, |