aboutsummaryrefslogtreecommitdiffstats
path: root/src/css
Commit message (Collapse)AuthorAgeFilesLines
* Build: Put all AMD modules in "src/" in strict modeMichał Gołębiowski2016-04-2512-0/+23
| | | | Fixes gh-3073
* Build: A more modest block-level function proposalRichard Gibson2016-04-231-18/+19
| | | | This reverts commit fa610da68440530e73bba296a1f982f94dfeac99.
* CSS: Toggle detached elements as visible unless they have display: noneRichard Gibson2016-04-112-10/+20
| | | | | Fixes gh-2863 Closes gh-3037
* Docs: Update support comments to follow the new syntaxMichał Gołębiowski2016-03-303-5/+5
| | | | | The changes follow the spec proposed in: https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197
* Support: improve support properties computationOleg Gaidarenko2016-03-281-19/+15
| | | | | | | | | * Remove div from the memory if it is not needed anymore * Make `computeStyleTests` method a singleton Fixes gh-3018 Closes gh-3021
* Docs:Tests: Remove obsolete code from tests, update support commentsMichał Gołębiowski2016-03-084-7/+7
| | | | | | | | | | Support comments that were lacking the final IE/Edge version that exhibits the bug were checked & updated. Links to the Chromium bug tracker were updated. Code in tests related to unsupported browsers (like Android 2.3 in non-basic tests) has been removed. Fixes gh-2868 Closes gh-2949
* Selector: filters -> pseudosTimmy Willison2016-03-071-3/+3
| | | | | Fixes gh-2073 Close gh-2969
* CSS: Make sure elem.ownerDocument.defaultView is not nullTodor Prikumov2016-01-271-1/+1
| | | | | Fixes gh-2866 Close gh-2867
* Docs: use https where possibleBernhard M. Wiedemann2016-01-271-1/+1
| | | | Close gh-2875
* CSS: isHidden -> isHiddenWithinTreeTimmy Willison2016-01-212-4/+6
| | | | | Fixes gh-2404 Close gh-2855
* CSS: Stop Firefox from treating disconnected elements as cascade-hiddenRichard Gibson2016-01-141-1/+6
| | | | | | Fixes gh-2833 Ref dba93f79c405373ec3a492fd0a4bf89b3136a6e6 Close gh-2835
* CSS: Restore cascade-override behavior in .showRichard Gibson2016-01-131-6/+38
| | | | | | | Fixes gh-2654 Fixes gh-2308 Close gh-2810 Ref 86419b10bfa5e3b71a7d416288ab806d47a31d1f
* Effects: fix loading showHide in AMD modeTimmy Willison2015-11-101-0/+1
|
* CSS: Correct misrepresentation of "auto" horizontal margins as 0Richard Gibson2015-10-181-6/+18
| | | | | | | | | | | | Fixes gh-2237 Closes gh-2276 (cherry picked from commit 214e1634ab9b1d13d53647dd5de3bdf7a091d49c) Conflicts: src/css.js src/css/support.js test/unit/support.js
* CSS: fix AMD mode for the new showHide moduleTimmy Willison2015-10-181-1/+2
|
* CSS: Make show/hide/toggle methods a moduleDave Methvin2015-10-181-3/+24
| | | | | | | | Unit test changes some uses of .show() and .hide() to .css( "display", ... ), there was already an implicit assumption in several of the existing tests. Fixes gh-2193 Close gh-2648
* Ajax:Attributes:CSS:Manipulation: Reduce Android 2.3 supportMichał Gołębiowski2015-09-141-32/+1
| | | | | | | | Drop non-critical workarounds for Android 2.3. Fixes gh-2483 Fixes gh-2505 Closes gh-2581
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-0712-31/+45
| | | | Fixes gh-2056
* CSS: make the getStyles function more readableThomas Tortorini2015-06-251-3/+6
| | | | | | | The new version is not only simpler to read but also smaller by 6 bytes gzipped. Closes gh-2393
* CSS: Don't name the anonymous swap functionMichał Gołębiowski2015-06-011-1/+1
| | | | | | | | | | | | IE8 doesn't like named anonymous expressions. Not naming the function expression reduces the gzipped size by 5 bytes. In ECMAScript 2015 the function will get the name inferred from the variable name (here: swap) anyway. (cherry-picked from e847574fc755b5339f3de41bcebd5b2a3e140cfe) Refs 02a9d9f94b623ea8664b7b39fd57feb7de6c6a14
* CSS: fix :visible/:hidden selectors for inline element w/ contentTimmy Willison2015-05-121-4/+2
| | | | | | | | | | | - Reverts behavior from 10399dd, which we never released. BR and inline elements are considered visible. - The possibility of dropping .offsetWidth and .offsetHeight was debunked by this perf: http://jsperf.com/visible-hidden-and-getclientrects Fixes gh-2227 Close gh-2281
* CSS: Collapse a double if statement into oneMichał Gołębiowski2015-05-121-3/+0
| | | | | | Saves 3 bytes gzipped Closes gh-2296
* CSS: Ignore the CSS cascade in show()/hide()/etc.Richard Gibson2015-05-112-71/+47
| | | | | | Fixes gh-1767 Fixes gh-2071 Closes gh-2180
* Core:CSS:Event: simplification of native method signaturesOleg Gaidarenko2015-05-032-4/+4
| | | | | | | | | | * Remove third argument from "addEventListener" * Remove third argument from "removeEventListener" * Remove second argument from "getComputedStyle" Ref gh-2047
* Core: Align branches: remove an unused variable, add commentsMichał Gołębiowski2015-04-271-0/+1
| | | | Closes gh-2233
* CSS: Don't expose jQuery.swapMichał Gołębiowski2015-04-131-6/+2
| | | | | | | | | jQuery.swap was an undocumented API used only internally. With the modular AMD system we currently have it's not necessary to expose this function publicly under the jQuery object. Fixes gh-2058 Closes gh-2182
* Core: Update tested jsdom, drop obsolete workaroundsMichał Gołębiowski2015-03-301-49/+45
| | | | | | | | | The latest version supporting Node.js is 3.1.2; some workarounds are not needed for this version. For example, in jsdom 3.1.2 a document created via document.implementation.createHTMLDocument( "" ) has a body. Fixes gh-2153 Closes gh-2154
* CSS: Support relative adjustment in any applicable unitMr212015-03-091-0/+61
| | | | | Fixes gh-1711 Closes gh-2011
* CSS: save 20 bytes in css/supportMichał Gołębiowski2015-02-052-21/+20
| | | | Refs gh-1842
* CSS: Fix the pixelMarginRight support test in Android 2.3Michał Gołębiowski2015-02-052-7/+8
|
* CSS: Restore the hack to get pixels for .css('width') etc.Michał Gołębiowski2015-02-042-4/+39
| | | | | | | | | | 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
* Build: Don't assume the browser environment; smoke test on Node w/ jsdomMichał Gołębiowski2014-12-262-7/+9
| | | | | Fixes gh-1950 Closes gh-1949
* CSS: simplify "defaultDisplay" moduleOleg Gaidarenko2014-12-241-1/+1
| | | | Closes gh-1962
* CSS: Clean up memory leak in reliableMarginRightDave Methvin2014-12-021-0/+1
| | | | | | | Fixes gh-1795 Closes gh-1893 Thanks for the report flexphperia!
* Misc: Drop support for older browsers; update support commentsMichał Gołębiowski2014-11-033-35/+9
| | | | | | | | That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks for old Blackberry. Closes gh-1820 Refs gh-1815
* CSS: Correct typo in the commentOleg Gaidarenko2014-09-031-3/+2
|
* CSS: Use pre-defined displays for html and bodyOleg Gaidarenko2014-09-031-1/+7
| | | | | Ref 60f546acb1c7136092b4fd01cccff052e468cc72 Ref 274feb53cc9a99633dfac785d8b3b837d192c43c
* CSS: Remove use of getDefaultComputedStyleNazar Mokrynskyi2014-09-021-12/+2
| | | | | | | Remove optimization to make jQuery compatible with Google's Polymer project Closes gh-1647 Fixes #15227
* CSS: elements are hidden when either offsetWidth or offsetHeight is zeroTimmy Willison2014-07-171-1/+3
| | | | | | | - Note: this is a breaking change that has been delayed for several versions. Fixes #10406 Fixes #13132
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-173-8/+16
|
* CSS: Do not throw on frame elements in FFOleg Gaidarenko2014-06-161-1/+8
| | | | | | | | | | | | | 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
* Support: clean up comments and Support notationDave Methvin2014-06-104-6/+8
| | | | Closes gh-1577
* CSS: window.getDefaultComputedStyle may return nullRodrigo Rosenfeld Rosas2014-03-201-3/+4
| | | | | | Fixes #14736 Closes gh-1501 (cherry picked from commit 51910ba8a5aff4cd1a811f1fdb76a6c62a09a666)
* Support: Reduce sizeRichard Gibson2014-02-141-15/+19
| | | | Ref a7ea12a9a7c696a14455bfe4bfebf984dd329832
* Support: Skip style-based tests when element.style is undefinedRichard Gibson2014-02-141-0/+4
| | | | | | Fixes #14785 Ref #13754 Ref badcd1b6f301e6253405f17759c1270549a34e12
* Support: Document box-sizing was unprefixed in Firefox 29Michał Gołębiowski2014-02-051-2/+2
|
* No ticket. Remove the unnecessary guard in addGetHookIf. Close gh-1426.Michał Gołębiowski2013-11-111-9/+1
| | | | | | | | | 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.
* No ticket: Small curCSS size optimizationsRichard Gibson2013-10-151-4/+8
|
* Fix #14432: Always return string from .css("z-index"). Close gh-1395.George Kats2013-10-151-1/+3
|
* Fix some code style inconsistenciesOleg2013-10-073-3/+3
|