Closed Serhioromano closed 10 years ago
I test like this
equal($textarea.outerHeight(), $textarea.siblings('pre').height());
And I get
On Chrome MAC OS X Maverick.
But Safari and Firefox works nice.
If you compare both outerheight()
s, it should pass:
equal($textarea.outerHeight(), $textarea.siblings('pre').outerHeight());
Fixed by #42. Thanks @Serhioromano and @domchristie
@Serhioromano OK. So to bring back the discussion to the pull request (rather than line-notes).
The tests you’ve written look good, I just feel that we should be testing the
outerHeight
properties of the textarea and clone, so that the clone accurately mimics the textarea.When I updated the tests (with
outerHeight
) and ran them in Chrome, Firefox, and IE10, they all passed. Are you able to get theouterHeight
test to fail? If so, on what browser?