]> source.dussan.org Git - jquery.git/commit
Core: drop the document.implementation.createHTMLDocument usage
authorMichał Gołębiowski <m.goleb@gmail.com>
Wed, 2 Mar 2016 11:28:00 +0000 (12:28 +0100)
committerMichał Gołębiowski <m.goleb@gmail.com>
Wed, 2 Mar 2016 11:34:06 +0000 (12:34 +0100)
commit6403cf614fc2db42517005e80eef7bc5b2223d01
treeb583c7618d069829f79c6720aeab72846316dbfc
parented943872478a95403e20647b26c678bd153986ab
Core: drop the document.implementation.createHTMLDocument usage

The document.implementation.createHTMLDocument("") method creates inert
documents which is good but using it has introduced issues around anchor
elements href property not resolving according to the current document.
Because of that, this patch is getting backed out on 1.x/2.x branches.

(cherry-picked from c5c30735311c74c60689fcabdcf2cb192524000e)

Refs cfe468f29c4cbe1a457d0feb17dec90dcfd7c280
Refs gh-1505
Fixes gh-2941
src/core/parseHTML.js
src/core/support.js [deleted file]
test/unit/core.js
test/unit/support.js