Commit Graph

130 Commits

Author SHA1 Message Date
Rick Waldron
f7ee1f6e59 Update document.defaultView.getComputedStyle. Fixes #10373 2012-06-18 13:27:04 -04:00
Mike Sherov
0b352f6cb5 Fix #9505, percentage position values in Webkit, closes gh-825. 2012-06-15 21:25:25 -04:00
Richard Gibson
1ac15582f2 Shrink support.js, closes gh-818 2012-06-11 13:24:26 -04:00
Rick Waldron
7c23b77af2 Strips IIFEs from modules; Always require built jQuery for tests. 2012-06-04 12:48:18 -04:00
Mike Sherov
04c06e6858 Fix #11443 fix. Safari 5.0.x, reliable margin? Riiight. Closes gh-792. 2012-05-24 21:04:50 -04:00
Mike Sherov
551f8510d5 Fix #11443 #11441, shut up Chrome 19 and Safari 5.0.x. Closes gh-790.
checkClone and appendChecked test failures in Chrome 19; reliableMarginRight failures in Safari 5.
2012-05-22 10:11:47 -04:00
Mike Sherov
0a2f93e6df Inline the boxModel test, and correct unit test. Closes gh-781. 2012-05-18 12:59:31 -04:00
Mike Sherov
c4e22ad8b5 Fix #11721. Remove jQuery.boxModel, deprecate jQuery.support.boxModel.
This removes all internal uses of `jQuery.support.boxModel`. jQuery has never run unit tests with Quirks Mode and has not even feigned support for several years, so these remnants weren't doing much except giving false hope.

For now, `jQuery.support.boxModel` continues to have a value indicating whether the W3C box model is *generally* in use, but be aware that this is easily overridden on an element-by-element basis by the `box-model` CSS property. So don't trust this value.
2012-05-15 23:29:20 -04:00
Mike Sherov
d7217cc29c Fix 11004. getWH() box-sizing:border-box includes padding and border. 2012-04-10 17:26:52 -04:00
Mike Sherov
5376a809c0 Fix #10413, #10679. Fix box-sizing:border-box and add css vendor prefix support. 2012-04-06 08:39:59 -04:00
Mike Sherov
77536f5cb2 Fix #10996, simplify offset code by forsaking ancient browsers. 2012-04-05 21:55:28 -04:00
Mike Sherov
935df49d77 Followup for #7986 to fix a botched merge.
Okay, Jenkins, you were right this time.
2012-03-02 21:10:36 -05:00
Sindre Sorhus
92cd999097 Fix #11217. WebKit clone() loses check if name follows checked attribute.
Please folks, hold your questions. We don't explain em, we just fix em.
2012-03-02 13:55:58 -05:00
Mike Sherov
a52391aa1d Fix #7986. $.support.boxModel shan't be fooled by page-level CSS. 2012-02-24 00:14:15 -05:00
Vladislav Zarakovsky
1c35f3816a Fix #11337. Properly calculate $.support.reliableMarginRight. 2012-02-23 23:36:48 -05:00
timmywil
e8673ae1aa When stopping a show, save showing end state instead of start state to fix animation toggling issue. Fixes #10848. 2012-01-20 14:17:19 -05:00
Mike Sherov
2982abbb13 fixes #11048: make sure support tests don't modify the layout of the body 2012-01-17 20:41:51 -05:00
Mike Sherov
7f6a991313 Fix #10639. Make percent-specified margins return px values in WebKit. 2011-12-06 20:32:26 -05:00
timmywil
fb94277b6e No global vars allowed. Declare 'body' in support. 2011-11-18 09:29:10 -05:00
timmywil
3d6237ef8a Remove the invisible body in support; Add temporary tests to verify correct support completions for upcoming support changes. 2011-11-17 14:48:27 -05:00
timmywil
d589709851 Move clearing the support vars to before the offset doc ready call in case the offset tests are run synchronously. Fixes #10737.
- Adding a test for this would probably slow the manipulation tests significantly, but it's simple enough.
2011-11-10 10:31:40 -05:00
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