The latest version supporting Node.js is 3.1.2; some workarounds are not needed
for this version. For example, in jsdom 3.1.2 a document created via
document.implementation.createHTMLDocument( "" ) has a body.
(partially cherry-picked from 95c0a10e15)
Fixes gh-2153
Closes gh-2154
IE10+ may return not exactly the offset.top value set in an offset callback
if parent has fractional top offset itself. Checking for being close to the
desired result fixes the test error.
(cherry-picked from 62ae2d0fb7)
Fixes gh-2147
QUnit update broke couple traversing and manipulation tests, since new qunit
added another form to the test-suite while some of
jQuery selectors weren't specific
(cherry-picked from 8b6aeae52d)
Ref db31206d36
Android 2.3 resize the iframe by its content meaning it's not possible
to scroll the iframe only its parent element.
It seems (not confirmed) in android 4.0 it's not possible to scroll
iframes from the code
(cherry-picked from 0c466438d1)
Fixes gh-1981
Ref 4ab8603669
Take advantage of html serialization for html wrappers - saves 26 bytes
Plus add additional test for "col" element
(cherry-picked from 0ea342a6a6)
Closes gh-2031
Fixes gh-2002
This hack turns out to be needed by Android 4.0-4.3.
Add a support test so that the hack is invoked only where needed.
Refs 3747cc642a
Refs gh-1815
Refs gh-1820
Refs gh-1842
Closes gh-2061
IE8 supports only HTML elements it knows about, but if user uses custom
elements a.k.a. tag-hyphenated, we assume it doesn't try to use them with IE8
Ref 5d522f5c74
DragEvent is a superset of MouseEvent, so we want to fix up mouse
properties like pageX and pageY.
Fixes gh-1925
(cherry picked from commit 389b2ab3b93bfd68ca6c6153a43e11d93ab9ec71)
* IE8 need a doctype, otherwise IE will scroll it, but will
still show old values. It wasn't noticable before, since IE8 will
update values if in the dev tools you swtich to "Quirks mode"
and then back again, then this tab will always show the correct values
even if you update it
* iPhone resize the iframe by its content regardless of
the width, height values, meaning it's not possible to scroll
the iframe only its parent element
Ref ae30fb6c27
Most browsers were put in order newest to oldest, Android was
treated differently; this has been fixed.
Also, browsers that share test results between different versions were
grouped together.
(refs 43faf6d1f9)
The hook is still defined; not using it could cause issues in IE<11.
Backport the test from the master branch.
Also, IE10 no longer throws when value not set but it still doesn't trim the
value. IE11 has all those issues fixed; support comments are updated.
(cherry-picked from f6302b0b53)
Fixes gh-1902
Closes gh-1901