]> source.dussan.org Git - jquery.git/commit
Core: Make isAttached work with iOS 10.0-10.2
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 29 Apr 2019 17:54:12 +0000 (19:54 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Apr 2019 17:54:12 +0000 (19:54 +0200)
commit7dddb19ca4bca9685adb734c76dcf72c3f610007
tree4aaf9854dc5f2d13ad4335031fec13c9117994ef
parent6c1e7dbf7311ae7c0c31ba335fe216185047ae5f
Core: Make isAttached work with iOS 10.0-10.2

The test for Shadow DOM v1 support has been changed to rely on the presence of
`documentElement.getRootNode` as iOS 10.0-10.2 supports `attachShadow` but
doesn't support `getRootNode`.

No new test is necessary - iOS 10.0 fails lots of our test suite because of
this bug.

Fixes gh-4356
Closes gh-4360
src/core/isAttached.js
test/unit/css.js
test/unit/effects.js