-
Notifications
You must be signed in to change notification settings - Fork 743
Open
Description
I've found in some cases window.getComputedStyle() is returning empty strings for styles.paddingLeft/Right. The following line:
Line 85 in 8f69be0
parseFloat(styles.paddingLeft) + parseFloat(styles.paddingRight); |
should probably be changed to something like:
parseFloat(styles.paddingLeft || '0') + parseFloat(styles.paddingRight || '0')
Metadata
Metadata
Assignees
Labels
No labels