Commit Graph

162 Commits

Author SHA1 Message Date
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
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
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
Oskari
da70ca6b96 Use multiply rather than divide for speed. 2012-04-04 22:14:33 -04:00
Mike Sherov
a52391aa1d Fix #7986. $.support.boxModel shan't be fooled by page-level CSS. 2012-02-24 00:14:15 -05:00
cmc3cn
491d7e219b Fix #11119: The curCSS function needs only 2 arguments 2012-01-11 22:11:22 -05: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
Richard Gibson
d6500cc8de Fix #10858: CSS regexps recognize non-integer and explicit positive numbers. 2011-12-08 20:26:50 -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
2c1d2b1a4d Fix #10754. Have jQuery.swap() return the value of its callback. 2011-12-06 16:23:22 -05:00
Richard Gibson
6c2a501de4 Fix #5571. Setters should treat undefined as a no-op and be chainable. 2011-12-06 15:25:38 -05:00
Mike Sherov
e0a4aa415d use for loop instead of jQuery.each in getWH() 2011-11-10 21:59:45 -05:00
Dave Methvin
262c32a70e Streamline getComputedStyle per @JustinDrake's observation. 2011-11-06 15:49:45 -05:00
timmywil
52afe20860 Fix a failing effects test in IE; minor style changes in effects 2011-11-01 09:46:20 -04:00
Mike Sherov
fa0e801f52 Landing pull request 562. Make sure runtimeStyle isn't affected by dimensions. Fixes #9233.
More Details:
 - https://github.com/jquery/jquery/pull/562
 - http://bugs.jquery.com/ticket/9233
2011-10-28 10:53:42 -04:00