Permalink
Show file tree
Hide file tree
3 comments
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
When the width/height computed unit is not pixels, return that instea…
…d. Fixes #10782. - Reordered some of css.js in preparation for jshint undef.
- Loading branch information
Showing
2 changed files
with
101 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9bea216
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is still a problem in dimensions for inner/outerwidth where a hidden div is partially pixels, partially percents. I think we should address that.
9bea216
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea we talked about that. We don't want to put in too much code for these edge cases, but this is an improvement for .css('width/height'). Feel free to continue tackling tho!
9bea216
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fine. We should then at least document that known issue.... of course, I'll continue to try to find an efficient, smaller solution :-)