timmywil
41b31d7386
Remove test of the invalid object for IE9's sake; Rewrite the appropriate support test for html5 clone caching. Fixes #10682
2011-11-08 00:05:33 -05:00
timmywil
b4392c220a
Correct typo in support.js assigning margin-top with cssText. Fixes #10638 .
2011-11-02 14:05:26 -04:00
timmywil
969fcc16bc
Add return in the offset support tests if the body is not present in frameset docs
2011-11-01 12:02:22 -04:00
timmywil
83a355a9a0
jQuery.support.supportsFixedPosition -> jQuery.support.fixedPosition; Remove jQuery.offset.supportProps and reference support in offset
2011-10-31 12:33:55 -04:00
timmywil
cec4018d0e
Reduce bytes and minor adjustments
2011-10-31 12:07:19 -04:00
timmywil
299cccded9
Construct a new container so that styles on the body are not affected
2011-10-31 10:50:19 -04:00
timmywil
93750cee36
Run offset support tests at doc ready. Fixes #10613 .
2011-10-31 09:50:21 -04:00
Rick Waldron
b723d49d0d
Cleanup spacing in support.js. Fixes #10601
2011-10-27 15:34:42 -04:00
Dave Methvin
09c089aac9
Fix 10558. Get the right element for checkClone; thanks zhengzongyi!
2011-10-24 11:33:09 -04:00
timmywil
c51b29477e
Support setting both the enctype attribute and property (encoding in IE6/7). Fixes #6743 .
2011-10-22 16:03:57 -04:00
timmywil
a18645c6f8
Leave the opacity test unanchored in case of floating point rounding browser errors; small fix in queue tests. Fixes #5145 .
2011-10-11 22:37:52 -04:00
Shi Chuan
23f7c883c9
updated Juriy Zaytsev's detecting event support technique link in support.js
2011-10-04 23:09:12 +08:00
timmywil
3661835101
Fixes IE7 test suite. Keep the testElement attached and set necessary styles on it to fix the offset with margin test.
2011-09-28 11:30:38 -04:00
Mathias Bynens
26898f0bc5
Landing pull request 509. Add a comment explaining the use of document.getElementsByTagName('body')[0] instead of document.body.
...
More Details:
- https://github.com/jquery/jquery/pull/509
2011-09-20 11:23:01 -04:00
timmywil
f8b79e38c4
semicolon for jshint happiness
2011-09-19 23:25:02 -04:00
Rick Waldron
f60213648c
Landing pull request 477. 1.7 jQuery.offset.supportsFixedPosition. Fixes #6809 .
...
More Details:
- https://github.com/jquery/jquery/pull/477
- http://bugs.jquery.com/ticket/6809
2011-09-19 21:03:41 -04:00
Rick Waldron
9ecdb2472b
Landing pull request 490. 1.7 HTML5 Support for innerHTML, clone & style. Fixes #6485 .
...
More Details:
- https://github.com/jquery/jquery/pull/490
- http://bugs.jquery.com/ticket/6485
2011-09-19 16:42:36 -04:00
rwldrn
4bc691a1c3
Reverts broken support string. Fixes #10197
2011-09-07 10:08:04 -04:00
Rick Waldron
a42273807d
Landing pull request 478. Apply fixes as noted by Diego Perini, David Murdoch & Mathias Bynens. Supplements #9634 Fixes #9634 .
...
More Details:
- https://github.com/jquery/jquery/pull/478
- http://bugs.jquery.com/ticket/9634
2011-09-01 11:16:38 -04:00
timmywil
5c4a9cc001
Add back the background: none setting to avoid any possible crashes in IE from the support testElement. Fixes #9823 .
2011-08-04 18:41:34 -04:00
Rick Waldron
ddf925b770
Non-breaking-space should achieve the same effect as a visible character. Fixes #9634
2011-07-25 14:02:37 -04:00
rwldrn
6490c10c75
Landing pull request 401. Nulling all elements created in support.js; Fixes #9471 .
...
More Details:
- https://github.com/jquery/jquery/pull/401
- http://bugs.jquery.com/ticket/9471
2011-06-06 23:54:17 -04:00
timmywil
b8fc9d14a1
detachEvent is unnecessary since we're nulling div. Fixes #8873 .
2011-05-25 15:08:37 -04:00
timmywil
657b197c19
Null created elements in support to avoid leaks in IE. Tested IE6-8. Leaks are contained to the byte. Fixes #9294 .
2011-05-25 14:30:46 -04:00
timmywil
e5457a5a1f
Remove unnecessary background setting in support now that we have the div reversion. Test added.
2011-05-25 13:58:05 -04:00
jaubourg
ceba855c01
Fixes #9239 . If the body is already present in the DOM, use a div within it to perform boxModel-related support tests. Unit test added.
2011-05-13 17:43:53 +02:00
Sahab Yazdani
304dd618b7
Landing pull request 370. Fixes #8763 .
...
More Details:
- https://github.com/jquery/jquery/pull/370
- https://github.com/jquery/jquery/issues/8763
2011-05-10 11:20:22 -04:00
jaubourg
efd0fce7a1
Fixes #9109 . When jQuery is loaded in the body, then the fake body element used in support has to be inserted before the document's body for boxModel to be properly detected (got the hint by looking at the code in jQuery mobile). Test page added so that we can keep checking this.
2011-05-09 09:48:23 +02:00
timmywil
f1392d8208
Set background to none on our mock body and remove its contents to avoid a crash in IE when removing it. Fixes #9028 .
2011-05-02 11:57:01 -04:00
Rick Waldron
08f52d69bd
jQuery.support core style guide correction. Fixes #8978
2011-04-26 09:45:27 -04:00
timmywil
2942be780f
Combine the support tests for radioValue and appendChecked
2011-04-22 00:27:52 -04:00
timmywil
d274b7b9f7
Landing pull request 332. Appending disconnected radio or checkbox inputs and keeping checked setting Fixes #8060 , #8500 .
...
More Details:
- https://github.com/jquery/jquery/pull/332
- http://bugs.jquery.com/ticket/8060
- http://bugs.jquery.com/ticket/8500
2011-04-21 21:51:23 -04:00
timmywil
3ac9eb7ce3
Landing pull request [337]( https://github.com/jquery/jquery/pull/337 ). Value of radio inputs resets when type is set after the value in all IEs. Fixes #8570 ([bug]( http://bugs.jquery.com/ticket/8570 )).
2011-04-21 21:33:09 -04:00
John Resig
15da298f72
Remove unnecessary usage of Function.prototype.bind ( #7783 ) but maintain API. Also fix bug with proxy failing when a name is provided. Fixes #8893 .
2011-04-17 18:17:31 -04:00
jaubourg
4344d08417
Fixes #8635 again (fix was lost in rewrite). Also removes unnecessary "manual" garbage collection.
2011-04-13 18:35:38 +02:00
timmywil
98da6b13bc
Fixes unit/css.js test fail in Safari 5. support.js test was passing erroneously due to the body to which the div was attached having a width of 0
2011-04-11 23:59:12 -04:00
jeresig
92dfb53314
Merge branch 'attrhooks.1.6v2' of https://github.com/timmywil/jquery
2011-04-10 17:11:35 -04:00
timmywil
215c507f79
Added back support.js test for getSetAttribute and removed some duplicate code that crept into attributes.js
2011-04-10 17:08:18 -04:00
jeresig
14ecd9a992
Merge branch 'proxy-native-bind' of https://github.com/gf3/jquery into gf3-proxy-native-bind
2011-04-10 16:51:22 -04:00
jeresig
7fb95ebe8f
Merge branch 'attrhooks.1.6'
...
Conflicts:
src/core.js
src/support.js
2011-04-10 15:49:17 -04:00
timmywil
17afd80d48
IE8 testing for lowercasing the css properties on retrieving style; had assumed the style support check failed in IE8, which it now does
2011-04-09 15:56:35 -04:00
jaubourg
f182b7b921
Adds a default falsy value for focusinBubbles + minor style consistency regarding test expression in support map initialization.
2011-04-08 18:24:25 +02:00
jaubourg
2594a935de
Applies exception in Style Guidelines regarding objects and functions when they are the last argument of a function call.
2011-04-08 17:41:14 +02:00
jaubourg
c1dcad6942
Rewrite of the support module. We use a temporary body element in order not to have to wait for the document to be ready for boxModel-related support tests.
2011-04-07 06:51:37 +02:00
timmywil
9f88fa9165
Full test suite now passes in all browsers! There are probably some tweaks we can make to shorten and simplify.
...
- removeAttr now only uses setAttribute if camelCase setAttribute is not supported
+ Might want to rename jQuery.support.getSetAttribute
- tabIndex is a special case now for hooks where undefined should be returned.
+ Should we be checking if hooks returns undefined? undefined might be the desired return value in future hooks.
As of now, tabIndex is the only one that needs it, but the test suite will still pass if we don't check if hooks are undefined.
2011-04-03 19:13:39 -04:00
timmywil
8cd30c62d8
Continuing IE7 testing, conditional attr fixes and hooks with feature testing. Will figure out a way to shorten after the test suite passes.
2011-04-03 19:13:39 -04:00
timmywil
ebb8e8e300
Fix feature test, accidentally got rid of closure end
2011-04-03 19:13:39 -04:00
timmywil
4baa213d88
First proposed solution for IE6/7 get/setAttribute quirks. Needs more testing, but solves some issues
2011-04-03 19:13:38 -04:00
Dave Methvin
ad4152709c
Fixes #8203 . Remove some misguided nulling of elements done in the name of IE memory cleanup. Based on a patch by davidmurdoch in pull 226.
2011-03-30 21:21:49 -04:00
rwldrn
ef0157d191
Bug #8635 Firefox uncaught exception
2011-03-28 12:31:03 -04:00