Commit Graph

2148 Commits

Author SHA1 Message Date
Dave Methvin
7b09235cee Wrap: Support .unwrap( selector) for selective unwrapping
Fixes gh-1744
Closes gh-2003
2015-03-30 13:38:40 -04:00
Michał Gołębiowski
95c0a10e15 Data: Drop the tests relying on applets
BrowserStack regularly has outdated Java in their IE instances causing our
data tests to hang & give no output. Skip the tests that create applets,
applets are treated in the same way as an embed elements which we're already
testing.

Fixes gh-1938
Closes gh-2166
2015-03-25 23:01:57 +01:00
Michał Gołębiowski
62ae2d0fb7 Offset: Round offset value for the sake of floating errors
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.

Fixes gh-2147
2015-03-23 18:14:37 +01:00
Richard Gibson
555a50d340 Deferred: Backwards-compatible standards interoperability
Fixes gh-1722
Closes gh-1996
2015-03-20 02:00:17 -04:00
Richard Gibson
e22ef5d901 Tests: Expand CSS relative adjustment tolerance for IE
Ref 48be675200
2015-03-16 23:49:48 -04:00
Richard Gibson
48be675200 Tests: Fix CSS relative adjustment test for round-down browsers
Ref 9b03f6df88
2015-03-16 23:05:36 -04:00
Timmy Willison
7632b7454b Attributes: revert returning null for non-elements 2015-03-16 14:11:38 -04:00
Timmy Willison
5dc4616ca0 Attributes: fix failing test for new return value 2015-03-16 11:52:05 -04:00
Winston Howes
aaeed53e9f Attributes: return null when attribute does not exist
Fixes gh-2118
Close gh-2129
2015-03-16 11:21:24 -04:00
Rick Waldron
332fd941b4 Data: restore explicit data removal of private data in cleanData.
Fixes gh-2127
Closes gh-2132
2015-03-09 13:51:16 -04:00
Mr21
9b03f6df88 CSS: Support relative adjustment in any applicable unit
Fixes gh-1711
Closes gh-2011
2015-03-09 12:00:10 -04:00
Stephen Edgar
34da7d5529 Build: remove deprecated JSHint options
JSHint no longer supports `onevar`, `smarttabs` or `trailing` options.

Closes gh-2029
2015-03-08 06:30:01 +03:00
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