Commit Graph

82 Commits

Author SHA1 Message Date
Michał Gołębiowski
3747cc642a CSS: Restore the hack to get pixels for .css('width') etc.
This hack turns out to be needed by Android 4.0-4.3.

Add a support test so that the hack is invoked only where needed.

Refs gh-1815
Refs gh-1820
Closes gh-1842
2015-02-04 13:51:56 +01:00
Michał Gołębiowski
76df9e4e38 Build: Don't assume the browser environment; smoke test on Node w/ jsdom
Fixes gh-1950
Closes gh-1949
2014-12-26 13:26:46 +01:00
Oleg Gaidarenko
c62486fb4c CSS: simplify "defaultDisplay" module
Closes gh-1962
2014-12-24 02:25:04 +03:00
Dave Methvin
7d15b4d1f1 CSS: Clean up memory leak in reliableMarginRight
Fixes gh-1795
Closes gh-1893

Thanks for the report flexphperia!
2014-12-02 15:01:45 -05:00
Michał Gołębiowski
740e190223 Misc: Drop support for older browsers; update support comments
That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.

Closes gh-1820
Refs gh-1815
2014-11-03 18:37:26 +01:00
Oleg Gaidarenko
7e09619cdf CSS: Correct typo in the comment 2014-09-03 00:20:23 +04:00
Oleg Gaidarenko
a7724186c9 CSS: Use pre-defined displays for html and body
Ref 60f546acb1
Ref 274feb53cc
2014-09-03 00:11:05 +04:00
Nazar Mokrynskyi
274feb53cc CSS: Remove use of getDefaultComputedStyle
Remove optimization to make jQuery compatible with Google's Polymer project

Closes gh-1647
Fixes #15227
2014-09-02 23:34:48 +04:00
Timmy Willison
10399ddcf8 CSS: elements are hidden when either offsetWidth or offsetHeight is zero
- Note: this is a breaking change that has been delayed for several versions.

Fixes #10406
Fixes #13132
2014-07-17 17:03:35 -07:00
Timmy Willison
c869a1ef8a Build: update grunt-jscs-checker and pass with the new rules 2014-07-17 10:25:59 -07:00
Oleg Gaidarenko
e488d985cf CSS: Do not throw on frame elements in FF
IE9-10 throws on elements created in popups (see #14150), FF meanwhile throws
on frame elements through "defaultView.getComputedStyle" (see #15098)

Use "defaultView" if in the popup which would fix IE issue,
use "window.getComputedStyle" which would fix FF issue.

And everybody wins, except performance, but who cares right?

Fixes #15098
Closes gh-1583
2014-06-16 03:08:26 +04:00
Dave Methvin
d837f119c3 Support: clean up comments and Support notation
Closes gh-1577
2014-06-10 23:28:14 -04:00
Rodrigo Rosenfeld Rosas
e547a2775f CSS: window.getDefaultComputedStyle may return null
Fixes #14736
Closes gh-1501
(cherry picked from commit 51910ba8a5aff4cd1a811f1fdb76a6c62a09a666)
2014-03-20 14:42:44 -04:00
Richard Gibson
954966e08d Support: Reduce size
Ref a7ea12a9a7
2014-02-14 07:05:47 -08:00
Richard Gibson
a7ea12a9a7 Support: Skip style-based tests when element.style is undefined
Fixes #14785
Ref #13754
Ref badcd1b6f3
2014-02-14 06:22:44 -08:00
Michał Gołębiowski
79f59c2144 Support: Document box-sizing was unprefixed in Firefox 29 2014-02-05 15:57:11 +01:00
Michał Gołębiowski
07c3747457 No ticket. Remove the unnecessary guard in addGetHookIf. Close gh-1426.
In 1.x if the support test executes before doc ready, it may not be able
to return a result yet. In such a case, we protect ourselves from future
breakages, allowing only for the ones before doc ready.

Since in 2.x lazy support tests attach test elements to docElem, not body,
such a guard is unnecessary.
2013-11-11 18:20:33 +01:00
Richard Gibson
a339096d6a No ticket: Small curCSS size optimizations 2013-10-15 12:28:32 -04:00
George Kats
5ce4b06c28 Fix #14432: Always return string from .css("z-index"). Close gh-1395. 2013-10-15 12:28:25 -04:00
Oleg
b561f5ab0a Fix some code style inconsistencies 2013-10-07 03:16:18 +04:00
Oleg
a25343001e Fix #12723 and simplification and optmization of defaultDisplay helper 2013-09-17 16:10:52 +04:00
Oleg
cb37994d76 No ticket: fix code style inconsistencies. Closes gh-1361 2013-09-13 01:04:29 +04:00
Timmy Willison
19de30ce0f Fix context 2013-09-11 08:46:08 -05:00
Timmy Willison
2e850fb802 The cssHook from addGetHookIf wasn't actually getting added 2013-09-11 08:41:48 -05:00
Timmy Willison
70a1c36648 Modules can assume the presence of their parents 2013-09-10 20:24:04 -05:00
Michał Gołębiowski
0b9f034382 No ticket. Abstract conditional hook definition. 2013-09-11 02:45:11 +02:00
Timmy Willison
4ded9be72a Remove offset dependency from css. Move curCSS and getStyles to their own modules. -39 bytes. Close gh-1360. 2013-09-10 19:24:26 -05:00
Timmy Willison
cd4a9cd7fa All non-var modules should not indent in their AMD wrappers (just for prettier builds). No functionality changes. 2013-09-09 12:08:00 -04:00
Timmy Willison
38cb6d9ed8 Fix loading tests with AMD (new support module needed core) 2013-09-09 09:49:49 -04:00
Michał Gołębiowski
1a25f21dc3 No ticket. Restore checking individual src/**/*.js files by jsHint. 2013-09-06 20:31:18 +02:00
Michał Gołębiowski
bbbdd94725 Fix #10814. Make support tests lazy and broken out to components. 2013-09-06 03:38:22 +02:00
Timmy Willison
6318ae6ab9 AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163. 2013-08-15 14:15:49 -04:00