(cherry-picked from fac67a9842)
Since we don't have this in off method and its a common perception
that this is a rudiment code
Ref gh-2248
Closes gh-2249
Android 2.3 is very slow & times out a lot in async tests, they have to be
restarted multiple times to settle. Long test execution is not a huge problem
as Android 2.3 is tested only periodically during the night, unstable tests
are a bigger problem. This might mitigate that.
In a regular scenario almost all tests should pass so increasing the timeout
for all browsers shouldn't have a huge impact on overall test time.
(cherry-picked from ff18d8e206)
Closes gh-2232
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