Commit Graph

114 Commits

Author SHA1 Message Date
Timmy Willison
b326225d90 Fix failing tests, add support for empty spans in Opera. Supplements #13132, #10406. 2013-01-21 18:03:07 -05:00
Timmy Willison
372e04e78e Treat an element as hidden if either offsetWidth or offsetHeight is 0. Fixes #13132, #10406. 2013-01-21 17:12:31 -05:00
Oleg
054daa20af Ref #8908. Update IE9 css clone fix. Close gh-1119. 2013-01-08 02:08:47 +00:00
Dave Methvin
3d9edb32bc Remove stranded support.js checks for oldIE. 2013-01-03 20:52:31 -05:00
Oleg
643ecf9d63 Ref #8908, gh-886. Avoid clone identity crisis in IE9/10. Close gh-1036. 2012-12-13 10:42:43 -05:00
Bennett Sorbo
32842ac365 Fix #12990. Don't add 'px' to column-count. Close gh-1050. 2012-12-11 22:38:37 -05:00
Mike Sherov
ef6d8779de Fixes #11938: Adding array getter method to jQuery.fn.css 2012-12-11 13:58:14 -05:00
Richard Gibson
d343e6b9ed Fix #12904: Firefox defaultDisplay with body/iframe display:none. Report and solution by @maranomynet; test by @rwldrn. 2012-12-08 18:04:13 -05:00
Richard Gibson
3f51504580 No ticket: remove test suite external dependencies 2012-11-01 17:32:08 -04:00
yiminghe
c78a3ba657 Fix #12685. Handle inconsistent opacity for ie < 9. Close gh-1005. 2012-10-30 10:20:54 -04:00
Oleg
bea5ecbba7 Fix #10416. Don't trust computed styles on detached elements. Close gh-941. 2012-10-28 23:32:54 -04:00
Rick Waldron
8a4dc3657e Adds missing expect() call, fixes failing IE tests 2012-10-15 14:04:58 -04:00
Rick Waldron
611d7660cd Remove duplicate expect. Add QUnit.config.requireExpects to testrunner.js QUnit configurations. 2012-10-15 12:31:27 -04:00
James Huston
c2a6bad60a Enforce expects in css.js (https://github.com/jquery/2012-dev-summit/issues/53) 2012-10-15 12:11:20 -04:00
Richard Gibson
cfe95a8643 fix failure from bad markup leaving an element behind. Closes gh-946 2012-10-05 20:31:43 -04:00
Rick Waldron
60f546acb1 body default display is always block. @mikesherov was right and this is the proof. Fixes #10227 2012-10-04 13:25:50 -04:00
Mike Sherov
9ced027465 Fix #12537, element.css('filter') returns undefined in IE9. Close gh-942. 2012-09-30 22:14:49 -04:00
Mike Sherov
9f86dc922e Fix #12324, line-height "normal" isn't always "1". Close gh-898. 2012-08-19 22:46:06 -04:00
Dave Methvin
a475f1aa4d Pull in unit tests from gh-877, thanks @orkel! 2012-07-25 21:58:59 -04:00
Dave Methvin
ed898c62c8 Fix #12148. Let .toggle() call the public .hide() for punching.
There is a slightly shorter way to do this but it's not Closure-friendly.
2012-07-25 21:24:49 -04:00
Mike Sherov
aa3fabce46 Fix #12088, Safari 5 and more percentages in getComputedStyle
In particular, min-width and max-width are taunting the awesome hack. Closes gh-865.
2012-07-22 22:03:27 -04:00
Chad Killingsworth
de9bed319e Make unit tests friendly to Closure Compiler. Closes gh-845.
Conflicts:
    	test/unit/effects.js
    	test/unit/offset.js
2012-07-05 15:52:42 -04:00
timmywil
b418fa1f09 UPDATE SIZZLE: completed rewrite for better things!
Remove reverse in traversing for comma selectors. Sizzle's handling of commas is now more consistent.
2012-07-02 11:34:26 -04:00
Rick Waldron
7ff3da186c Unit tests are linted and passing. 2012-06-21 15:30:24 -04:00
Mike Sherov
0b352f6cb5 Fix #9505, percentage position values in Webkit, closes gh-825. 2012-06-15 21:25:25 -04:00
Mike Sherov
5f35b3d9f9 Fix #11857. Modularize css.js, add dependency management. Closes gh-816.
See the pull request for more info on the dependency management details.
2012-06-10 21:54:16 -04:00
Mike Sherov
b9b87d53c6 Less letterSpacing .animate() fail in IE. Fixes #8627 2012-06-06 19:03:10 -04:00
Mike Sherov
3225d61496 Make dimensions modular, adds optional build flag. Fixes #11856 2012-06-05 15:29:46 -04:00
Richard Gibson
7f2cc46955 Fix #11767. Modularize build and unit tests for exluding effects.
Closes gh-785. To build a version of jQuery without effects, use `grunt build:*:*:-effects`. The unit tests feature-check for the interfaces and skip the unit tests for effects if they don't detect it.
2012-05-28 22:36:23 -04:00
Mike Sherov
d5e5ce5bd0 Fix #11311. Percents not pixels for top/left/bottom/right. Closes gh-793. 2012-05-24 21:39:31 -04:00
Mike Sherov
e0151e5827 Fix #10877. Make outerWidth/Height a setter. Closes gh-783. 2012-05-21 13:44:19 -04:00
jaubourg
63aaff590c Makes sure child element doesn't prevent setting height to 0. Fixes failure in unit test in IE6. 2012-05-16 16:08:50 +02:00
Corey Frang
58ed62ed12 Effects: 1.8 Animation Rewrite - thanks @mikesherov and @gibson042 2012-04-23 15:05:12 -04:00
Mike Sherov
d7217cc29c Fix 11004. getWH() box-sizing:border-box includes padding and border. 2012-04-10 17:26:52 -04:00
timmywil
9bea2167c4 When the width/height computed unit is not pixels, return that instead. Fixes #10782.
- Reordered some of css.js in preparation for jshint undef.
2011-12-12 10:42:10 -05:00
Mike Sherov
8f5f1b2e6c Fix #8498. Add cssHooks[prop].expand for use by animate(). 2011-12-08 20:01:23 -05:00
Mike Sherov
7f6a991313 Fix #10639. Make percent-specified margins return px values in WebKit. 2011-12-06 20:32:26 -05:00
Mike Sherov
6aa4095ed6 Fix #10796. Allow IE<9 to retrieve uncomputed styles. 2011-12-06 16:44:32 -05:00
Mike Sherov
f35ba5e699 Fix #10691. Remove all instances of equals() and same(), as these are deprecated in QUnit. 2011-11-06 15:27:42 -05:00
Mike Sherov
516f3cd7b5 Landing pull request 561. only check for not null in unit tests. Supplements #8388.
More Details:
 - https://github.com/jquery/jquery/pull/561
 - http://bugs.jquery.com/ticket/8388
2011-10-23 15:31:50 -04:00
Mike Sherov
e502012c0f Landing pull request 553. Fallback to elem.style for disconnected nodes in width/height retrieval. Fixes #8388.
More Details:
 - https://github.com/jquery/jquery/pull/553
 - http://bugs.jquery.com/ticket/10254
 - http://bugs.jquery.com/ticket/8388
2011-10-22 16:08:14 -04:00
timmywil
76a84fba94 Call .is(:visible) on the window or document does not thrown an error in IE. Fixes #10267. 2011-09-19 15:42:32 -04:00
Dave Methvin
015328787c Fixes #10021. Allow negative relative values for .css() (e.g., "+=-20px") since .animate() already allows it. Useful for when the relative value is a variable. 2011-08-16 18:00:44 -04:00
Corey Frang
5b0c3060f0 Unit test for #6652 2011-07-13 22:54:25 -05:00
rwldrn
5eef5917fd Landing pull request 409. Adds fillOpacity to internal cssNumber. Fixes #9548.
More Details:
 - https://github.com/jquery/jquery/pull/409
 - http://bugs.jquery.com/ticket/9548
2011-06-14 15:59:22 -04:00
timmywil
a5b7c0fa33 Style edits for pull request 375 2011-05-13 12:14:31 -04:00
avaly
cbbd7d28e1 Landing pull request 375. Added test case to support #9237 Fixes #9237.
More Details:
 - https://github.com/jquery/jquery/pull/375
 - http://bugs.jquery.com/ticket/9237
2011-05-13 12:09:49 -04:00
rwldrn
632cd6c4ba Landing pull request 357. Update unit tests for widows & orphans. Supplements #8971 Fixes #8971.
More Details:
 - https://github.com/jquery/jquery/pull/357
 - http://bugs.jquery.com/ticket/8971
2011-04-28 15:56:02 -04:00
timmywil
c0450f3c2a Correct the attachment of the p tag in the widows/orphans tests. Fixes test suite in IE8 2011-04-27 16:33:12 -04:00
rwldrn
86d5d3e809 No need to test for widows & orphans values in IE6-8. Fixes #8971 2011-04-25 13:13:57 -04:00