aboutsummaryrefslogtreecommitdiffstats
path: root/src/css/var
Commit message (Collapse)AuthorAgeFilesLines
* Docs: Replace `#NUMBER` Trac issue references with `trac-NUMBER`Michał Gołębiowski-Owczarek2022-01-121-1/+1
| | | | | | | | | | | | | | | | | This is a version of gh-4993 for the `3.x-stable` branch. The GitHub UI treats `#NUMBER` as referring to its own issues which is confusing when in jQuery source it's usually referring to the old deprecated Trac instance at https://bugs.jquery.com. This change replaces all such Trac references with `trac-NUMBER`. A few of the references came with the Sizzle integration and referred to the Sizzle GitHub bug tracker. Those have been replaced with full links instead. A new entry describing issue reference conventions has been added to README. Closes gh-4994 Ref gh-4993 Ref 5d5ea015114092c157311c4948f7cc3d8c8e7f8a
* CSS: Trim whitespace surrounding CSS Custom Properties valuesfecore12021-10-181-0/+7
| | | | | | | | | | | The spec has recently changed and CSS Custom Properties values are trimmed now. This change makes jQuery polyfill that new behavior for all browsers. Ref w3c/csswg-drafts#774 Fixes gh-4926 Closes gh-4930 (partially cherry picked from commit efadfe991a5c287af561a9326bf1427d726c91c1)
* Build: ESLint: forbid unused function parametersMichał Gołębiowski-Owczarek2019-09-261-2/+2
| | | | | | | | | | | | | | | | This commit requires all function parameters to be used, not just the last one. In cases where that's not possible as we need to match an external API, there's an escape hatch of prefixing an unused argument with `_`. This change makes it easier to catch unused AMD dependencies and unused parameters in internal functions the API of which we may change at will, among other things. Unused AMD dependencies have been removed as part of this commit. Closes gh-4381 (cherry-picked from 438b1a3e8a52d3e4efd8aba45498477038849c97)
* Core: Recognize Shadow DOM in attachment checksSaptak Sengupta2018-11-091-1/+1
| | | | | | | Allow `isAttached` to check Shadow DOM for attachment. Fixes gh-3504 Closes gh-3996 Ref gh-3977
* Core: Use isAttached to check for attachment of elementSaptak Sengupta2018-03-051-3/+3
| | | | | | | This change replaces the use of contains to check for attachment by isAttached function Closes gh-3977 Ref gh-3504
* CSS: Detect more WebKit styles erroneously reported as percentagesRichard Gibson2017-09-182-5/+7
| | | | | Ref 692f9d4db30c9c6c4f6bc76005cf153586202fa6 Fixes gh-3777 Closes gh-3778
* Build: Put all AMD modules in "src/" in strict modeMichał Gołębiowski2016-04-256-0/+11
| | | | Fixes gh-3073
* CSS: Toggle detached elements as visible unless they have display: noneRichard Gibson2016-04-111-4/+19
| | | | | Fixes gh-2863 Closes gh-3037
* Docs: Update support comments to follow the new syntaxMichał Gołębiowski2016-03-301-1/+1
| | | | | The changes follow the spec proposed in: https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197
* Docs:Tests: Remove obsolete code from tests, update support commentsMichał Gołębiowski2016-03-081-1/+1
| | | | | | | | | | 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
* CSS: Make sure elem.ownerDocument.defaultView is not nullTodor Prikumov2016-01-271-1/+1
| | | | | Fixes gh-2866 Close gh-2867
* CSS: isHidden -> isHiddenWithinTreeTimmy Willison2016-01-211-1/+3
| | | | | Fixes gh-2404 Close gh-2855
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-076-13/+15
| | | | 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
* Core:CSS:Event: simplification of native method signaturesOleg Gaidarenko2015-05-031-2/+2
| | | | | | | | | | * Remove third argument from "addEventListener" * Remove third argument from "removeEventListener" * Remove second argument from "getComputedStyle" Ref gh-2047
* CSS: Don't expose jQuery.swapMichał Gołębiowski2015-04-131-0/+24
| | | | | | | | | 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
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-171-1/+2
|
* 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
* Fix some code style inconsistenciesOleg2013-10-073-3/+3
|
* Remove offset dependency from css. Move curCSS and getStyles to their own ↵Timmy Willison2013-09-103-0/+13
| | | | modules. -39 bytes. Close gh-1360.
* No ticket. Restore checking individual src/**/*.js files by jsHint.Michał Gołębiowski2013-09-062-2/+2
|
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-152-0/+16