diff --git a/lib/commons/dom/is-offscreen.js b/lib/commons/dom/is-offscreen.js
index <HASH>..<HASH> 100644
--- a/lib/commons/dom/is-offscreen.js
+++ b/lib/commons/dom/is-offscreen.js
@@ -13,6 +13,11 @@ dom.isOffscreen = function (element) {
 	if (coords.bottom < 0) {
 		return true;
 	}
+	
+	if (coords.left === 0 && coords.right === 0) {
+		//This is an edge case, an empty (zero-width) element that isn't positioned 'off screen'.
+		return false;
+	}
 
 	if (dir === 'ltr') {
 		if (coords.right <= 0) {
Handle the edge case of a zero width element with a right bound of 0

This was causing some tests to fail