Commit Graph

178 Commits

Author SHA1 Message Date
Richard Gibson
452e32769d compress -16 min+gzip 2012-12-13 12:41:25 -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
Scott González
a270d638f8 CSS: Save some bytes. Close gh-1071. 2012-12-13 10:06:06 -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
Mike Sherov
a918dc8aac Pass style declarations around for performance improvements and paving the way for the css array signature
Also, simplify the jQuery.css numeric coercion signature
2012-12-11 13:58:14 -05:00
Rick Waldron
7d5b86ec39 Refactor defaultDisplay's node creation and display logic, -6 2012-12-10 10:05:39 -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
0877d424e0 Fix #12959: Optimize library-wide patterns 2012-11-27 01:59:22 +01:00
Elijah Manor
5904468b9c Fix #8908. Don't let change to originals affect clones in IE9/10. Close gh-886. 2012-11-18 14:49:36 -05: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
Mike Sherov
16d996ba0c no ticket: remove and enforce unused vars in jshint 2012-10-17 12:52:12 -04:00
Mike Sherov
d70e64bff2 fix effects tests failure 2012-10-16 00:17:39 -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
670e3ff040 Fix #12243, $("col").width() should return the column's width. Close gh-916. 2012-08-29 12:34:12 -04:00
Mike Sherov
c078b83b3f Fix #12313, .height()/.width() just use CSS if no offsetWidth. Close gh-909. 2012-08-28 08:56:06 -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
Oleg Gaidarenko
109d910701 jQuery.contains() handles document objects directly. Close gh-879. 2012-08-19 20:34:03 -04:00
Elijah Manor
f296335360 Add support check, added assertion to check if cleared, add edge case for backgroundPosition 2012-08-13 07:46:55 -05:00
Rick Waldron
dc3f7d3868 Update comments about window.getComputedStyle in both locations. 2012-08-11 16:30:46 -04:00
Rick Waldron
3722aef8be Use window.getComputedStyle to prevent breaking jsdom/node.js . Fixes #12235 2012-08-10 19:34:01 -04:00
Corey Frang
07e50933c4 Fixes #1034 - Check for style.removeAttribute before calling it
Fixes issue in non IE browsers that happen to come down this path
2012-08-06 11:01:34 -05:00
Dave Methvin
14f67a9518 Per @gibson042, don't need .documentElement since Sizzle handles. 2012-07-26 09:30:49 -04:00
Dave Methvin
cc6c014125 Unbreak isHidden args, they're needed by the .filter() call. 2012-07-25 21:44:44 -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
Oleg
5119b252ac Moves isHidden to src/css.js and re-introduces its use. No ticket. Closes gh-876 2012-07-25 16:24:10 -07:00
Mike Sherov
da4d609297 Followup #12018, fix a test fail converting to pixels. Close gh-874. 2012-07-25 09:45:38 -04:00
Richard Gibson
c14a6b385f Clean up regexen; use common regex for numbers. Close gh-862. 2012-07-22 22:23:32 -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
Chris Faulkner
7b5ffcdac8 Fixes a variety of typographical problems. Closes gh-853 2012-07-11 09:46:21 -04:00
Mike Sherov
8f01b92b8f Follow the style guide, lose 72 bytes! Closes gh-840. 2012-07-09 21:39:22 -04:00
Rick Waldron
c31a5ee9aa Fixes typo in comment 2012-06-18 14:17:10 -04:00
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
a101e81bde Interim take on cross-module variables, closes gh-817. 2012-06-15 21:01:44 -04:00
Mike Sherov
c80bc22728 Don't swap to measure dimensions unless the element is display:none. #807 Fixes #11293 2012-06-07 11:08:31 -04:00
Mike Sherov
b9b87d53c6 Less letterSpacing .animate() fail in IE. Fixes #8627 2012-06-06 19:03:10 -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
888635f8c1 No need to dasherize and use getPropertyValue, closes gh-805.
All invocations of curCSS are already camelcased. See the PR for discussion.
2012-06-01 08:24:23 -07:00
Richard Gibson
2d37b6ccb8 Fix #11787: Remove jQuery.curCSS, closes gh-801. 2012-05-31 08:21:53 -07: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
Richard Gibson
bc7231e323 Apply a GibsonTransform(-55) to the #10877 fix. Closes gh-788. 2012-05-24 21:54:04 -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
6ad53c33d8 Opera announced they will start supporting the -webkit- prefix for a selected set of css properties. Let's put the inspection of -webkit- prefix properties as the last one in case this propagates to the style object and/or other browsers (the cssPrefixes array is inspected from right to left). 2012-04-28 16:52:32 +02:00
Corey Frang
58ed62ed12 Effects: 1.8 Animation Rewrite - thanks @mikesherov and @gibson042 2012-04-23 15:05:12 -04:00
Mike Sherov
d3b61de520 define curCSS without temp vars to save 10 bytes 2012-04-20 14:18:15 -04:00
Mike Sherov
3e6f94c360 Remove unnec. else condition 2012-04-19 10:43:26 -04:00