aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dom_utils.coffee
diff options
context:
space:
mode:
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)