aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dom_utils.coffee
diff options
context:
space:
mode:
authorJez Ng2012-09-08 16:37:05 -0400
committerJez Ng2012-09-08 16:37:05 -0400
commitadf8b7cc617279e50594477560ec7031e2ab68ea (patch)
treef43660994fb29770bd38e4b11cc11d828ecc0615 /lib/dom_utils.coffee
parent3e5bba24ede4f9392ff666634a0a8f05e21a02d1 (diff)
parente740ea52b646f1b7cd0ef13e15571b20adaa3bd8 (diff)
downloadvimium-adf8b7cc617279e50594477560ec7031e2ab68ea.tar.bz2
Merge branch 'next-release'
Diffstat (limited to 'lib/dom_utils.coffee')
-rw-r--r--lib/dom_utils.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dom_utils.coffee b/lib/dom_utils.coffee
index d4a4d379..e7fa9c2f 100644
--- a/lib/dom_utils.coffee
+++ b/lib/dom_utils.coffee
@@ -85,7 +85,8 @@ DomUtils =
if (clientRect.width == 0 || clientRect.height == 0)
for child in element.children
computedStyle = window.getComputedStyle(child, null)
- # Ignore child elements which are not floated and not absolutely positioned for parent elements with zero width/height
+ # Ignore child elements which are not floated and not absolutely positioned for parent elements with
+ # zero width/height
if (computedStyle.getPropertyValue('float') == 'none' && computedStyle.getPropertyValue('position') != 'absolute')
continue
childClientRect = @getVisibleClientRect(child)