Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core-dropdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@
// 1) document.client[Width|Height] always reliable when available, including Safari2
// 2) document.documentElement.client[Width|Height] reliable in standards mode DOCTYPE, except for Safari2, Opera<9.5
// 3) document.body.client[Width|Height] is gives correct result when #2 does not, except for Safari2
// 4) When document.documentElement.client[Width|Height] is unreliable, it will be size of <html> element either greater or less than desired view size
// 4) When document.documentElement.client[Width|Height] is unreliable, it will be size of html element either greater or less than desired view size
// https://bugzilla.mozilla.org/show_bug.cgi?id=156388#c7
// 5) When document.body.client[Width|Height] is unreliable, it will be size of <body> element less than desired view size
// 5) When document.body.client[Width|Height] is unreliable, it will be size of body element less than desired view size
function viewSize() {
// This algorithm avoids creating test page to determine if document.documentElement.client[Width|Height] is greater then view size,
// will succeed where such test page wouldn't detect dynamic unreliability,
Expand Down