Rick Waldron
d702b7637a
Data: move element cache to element[expando]
...
- avoid explicit data.discard() cleanup calls
- explicitly remove the data.events property, only when private data exists
- reduces code footprint
Fixes gh-1734
Close gh-1428
2015-03-04 17:26:47 -05:00
Oleg Gaidarenko
8356281bed
Tests: make top of the HTML suite compliant with style guide
...
See http://contribute.jquery.org/style-guide/html/
Closes gh-2098
2015-02-19 11:30:57 +03:00
Oleg Gaidarenko
9d1b989f20
Ajax: remove deprecated extensions from ajax promise
...
Fixes gh-2084
Closes gh-2092
2015-02-17 09:58:45 +03:00
Oleg Gaidarenko
8b6aeae52d
Build: fix broken assertions caused by QUnit update
...
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
Ref 2d5c5d213f
2015-02-15 02:22:09 +03:00
Oleg Gaidarenko
4ef120d3f2
Ajax: make jQuery#load "type" field explicit
...
* Move "evalScript.php" file to appropriate place
* Make jQuery#load "type" field explicit and add test for it
Ref trac-11264
2015-02-15 02:01:59 +03:00
Oleg Gaidarenko
fcb6c4d1d6
Core: simplify "each" stylesheet iteration test
...
Closes gh-2089
2015-02-15 01:16:27 +03:00
Oleg Gaidarenko
0c466438d1
Offset: don't run scrollTop/scrollLeft iframe test in Android 2.3 & 4.0
...
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
Fixes gh-1981
Ref 4ab8603669
2015-02-11 22:46:28 +03:00
Oleg Gaidarenko
e984d1c79c
Manipulation: don't auto-insert tbody
...
Fixes gh-1835
Closes gh-2021
2015-02-11 16:49:59 +03:00
Oleg Gaidarenko
0ea342a6a6
Manipulation: simplify html wrappers
...
Take advantage of html serialization for html wrappers - saves 26 bytes
Plus add additional test for "col" element
Closes gh-2031
Fixes gh-2002
2015-02-10 23:44:01 +03:00
Michał Gołębiowski
3747cc642a
CSS: Restore the hack to get pixels for .css('width') etc.
...
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 gh-1815
Refs gh-1820
Closes gh-1842
2015-02-04 13:51:56 +01:00
Michał Gołębiowski
087d280ad1
Data: Use a PDF object instead of a Java applet for acceptData testing
...
This should fix "Java out of date" errors on BrowserStack.
Fixes gh-1938
Closes gh-2028
2015-01-29 04:33:28 +01:00
Oleg Gaidarenko
4fae91141c
Manipulation: increase delay of data-URI test
...
For Safar7/Opera - shot in the dark, can't reproduce this locally
Fixes gh-1993
(cherry-picked from 30ace26c42
)
2015-01-26 06:38:48 +03:00
Timo Tijhof
4116914dca
Core: Return empty array instead of null for parseHTML("")
...
Fixes gh-1997
Close gh-1998
2015-01-19 11:38:04 -05:00
Dave Methvin
d7e5fcee51
Event: HTML5 drop events inherit from MouseEvent
...
Fixes gh-2009
Ref gh-1925
2015-01-14 14:34:09 -05:00
Leonardo Braga
85ffc6d973
Manipulation: add support to tag-hyphenated elements
...
Fixes #1987
Closes gh-1988
2015-01-13 07:42:59 +03:00
Leonardo Braga
534f13025a
Core: add support to tag-hyphenated elements
...
Ref #1987
2015-01-13 07:42:52 +03:00
Dave Methvin
0ea8c32863
Core: Remove deprecated context and selector properties
...
Fixes gh-1908
Closes gh-2000
2015-01-11 21:11:56 -05:00
George Mauer
89ce0af2cf
Ajax: $.post and $.get can now take an options object
...
Fixes gh-1986
Closes gh-1995
2015-01-11 20:32:38 -05:00
Richard Gibson
32bf9178ca
Callbacks: Don't abort execution on .lock()
...
Fixes gh-1990
Closes gh-1991
(cherry picked from commit fc7477f492
)
2015-01-10 23:07:39 -05:00
Richard Gibson
0d829f0e9a
Callbacks: No object starts out locked
...
Fixes gh-1989
(cherry picked from commit f5a8c649b5
)
2015-01-10 23:04:34 -05:00
Victor Homyakov
83b038fc81
Ajax: Fix cross-domain detection test for non-default port
...
Closes gh-1954
2015-01-06 21:12:33 -05:00
Aditya Raghavan
97cf528082
Event: Normalize mouse event properties in drag events
...
DragEvent is a superset of MouseEvent, so we want to fix up mouse
properties like pageX and pageY.
Fixes gh-1925
2015-01-05 15:34:52 -05:00
Nicolas HENRY
ab20d9d24f
Deferred: Fix $.when with resolved deferred and progress callbacks
...
Fixes gh-1894
Closes gh-1915
2014-12-25 15:39:28 +03:00
Oleg Gaidarenko
4ab8603669
Offset: don't run scrollTop/scrollLeft iframe test in mobile Safari
...
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 62a333e064
2014-12-25 04:49:56 +03:00
Oleg Gaidarenko
359b03cac7
Manipulation: make wrapAll funarg execute only once
...
Fixes gh-1843
Closes gh-1912
2014-12-24 01:51:33 +03:00
Aditya Raghavan
1b932bb786
CSS: Add unit tests for negative margins and positioning
...
Closes gh-1957
2014-12-24 00:33:00 +03:00
Aditya Raghavan
d21edb599d
Event: fix incorrect window bug with scrollTop/Left in iframes
...
Fixes gh-1945
Closes gh-1959
2014-12-24 00:33:00 +03:00
Oleg Gaidarenko
31b63fc236
README: various text fixes
...
Thank you @essamjoubori, @bcbcb, @namlede
Closes gh-1926
Closes gh-1927
Closes gh-1928
2014-12-15 16:07:10 +03:00
Michał Gołębiowski
ce308e25e5
Support: Correct iOS 8 support test results, re-arrange entries
2014-12-13 21:41:04 +01:00
Ben Toews
b091fdbafa
Ajax: use anchor tag for parsing urls
...
Fixes gh-1875
Closes gh-1880
2014-12-11 15:26:04 -05:00
Timmy Willison
cfe468f29c
Core: re-introduce createHTMLDocument in parseHTML; Safari 8 left out
...
Close gh-1505
2014-12-10 09:51:30 -05:00
Dave Methvin
8653068dd6
Event: Empty namespaces should be uneventfully ignored
...
Thanks @hamishdickson for the report!
Closes gh-1769
2014-12-09 19:59:56 -05:00
Timmy Willison
b77983173e
Core: revert addition of createHTMLDocument. Thanks, Safari 8.
...
- Safari 8 has issues when the HTML string contains forms.
Closing tags are not respected.
2014-12-09 18:01:33 -05:00
Dave Methvin
4ab743188e
Css: Remove non-functional unit test for negative margin
...
Thanks @MatthewMueller
Closes gh-1474
Ref gh-1918
2014-12-09 16:39:59 -05:00
Timmy Willison
59232825aa
Core: remove unnecessary support test for createHTMLDocument
2014-12-09 15:57:12 -05:00
Timmy Willison
6051609df3
Build: fix tests in AMD mode
2014-12-09 15:39:24 -05:00
Frederic Hemberger
58c2460821
Core: use document.implemenation.createHTMLDocument in jQuery.parseHTML
...
Close gh-1505
2014-12-09 15:19:01 -05:00
Michał Gołębiowski
43faf6d1f9
Support: Re-organize browser order, add Safari 8
...
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.
2014-12-09 21:05:45 +01:00
Michał Gołębiowski
f6302b0b53
Attributes: Use the option val hook in select val hook and simplify it
...
The hook is still defined; not using it could cause issues in IE<11.
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.
Fixes gh-1902
Closes gh-1901
2014-12-08 22:39:58 +01:00
Oleg Gaidarenko
dd596ccf72
Manipulation: improve test for data-URI
...
Some environments do not support data-uri in "src" attribute of script element.
Mitigate it with equality assertion
Ref a467f8653a
2014-12-08 09:26:15 +03:00
Veaceslav Grimalschi
4467ed606a
Event: Fully clean up events in unit test
...
Closes gh-1685
2014-12-07 21:28:20 -05:00
Dave Methvin
bc1cb122db
Callbacks: Disabling a callback should prevent firing
...
Thanks to @TheDistantSea for the report!
Fixes gh-1790
Closes gh-1643
2014-12-07 20:51:04 -05:00
Richard Gibson
906caebb3f
Tests: Tilt at a few style guide windmills
...
Ref 3c13f4c629
2014-12-06 13:30:31 -05:00
Richard Gibson
3c13f4c629
Tests: Accommodate page changes from the QUnit HTML reporter
...
Ref 6748ba3496
2014-12-06 13:23:40 -05:00
Richard Gibson
26276a307c
Tests: Minor updates for QUnit 1.16 compatibility
...
More to come later.
(cherry picked from commit f6f8848fbe
)
2014-12-05 12:34:17 -05:00
Dave Methvin
d9ed166c86
Event: Copy detail property to jQuery.Event on native events
...
Fixes gh-1867
2014-12-03 15:56:50 -05:00
Dave Methvin
80022c81ce
Core: Throw an error on $("#") rather than returning 0-length collection
...
Closes gh-1682
Thanks @goob for the issue report!
2014-12-03 14:51:24 -05:00
Bin Xin
15f4dec789
Manipulation: support data-URI scripts insertion
...
Fixes gh-1887
Closes gh-1888
2014-12-03 04:54:53 +03:00
Oleg Gaidarenko
f7e60dc83d
Dimensions: allow modification of coordinates argument
...
Fixes gh-1848
Closes gh-1853
2014-11-16 18:05:29 +03:00
Oleg Gaidarenko
dc4b914a05
Build: Fix various typos
...
Thanks @jamesgpearce, @vlajos, @imyousuf
Closes gh-1828
Closes gh-1830
Closes gh-1844
2014-11-08 17:24:33 +03:00