aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dom_utils.coffee
diff options
context:
space:
mode:
authorJez Ng2012-09-04 15:23:29 -0400
committerJez Ng2012-09-04 15:23:29 -0400
commiteb0955875ba6ba77a90b1e411c42be0df6de950d (patch)
tree45aac8cd0e19e209cf37c199a7c89b3972f63df9 /lib/dom_utils.coffee
parent525276bde9b99d05b133f96f21e1ac187c068bb6 (diff)
downloadvimium-eb0955875ba6ba77a90b1e411c42be0df6de950d.tar.bz2
Style fixes.
Errors were detected using coffeelint.
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)