| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
1. Correct code indentations based on jQuery Style Guide
(contribute.jquery.org/style-guide/js/#spacing).
2. Add rules to "src/.eslintrc.json" to enable "enforcing consistent
indentation", with minimal changes to the current code.
Closes gh-4672
|
|
|
|
|
|
|
|
| |
The consequence is `.css( "opacity" )` will now return an empty string for
detached elements in standard-compliant browsers and "1" in IE & the legacy
Edge. That behavior is shared by most other CSS properties which we're not
normalizing either.
Closes gh-4593
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Migrate all source AMD modules to ECMAScript modules. The final bundle
is compiled by a custom build process that uses Rollup under the hood.
Test files themselves are still loaded via RequireJS as that has to work in
IE 11.
Tests can now be run in "Load as modules" mode which replaces the previous
"Load with AMD" option. That option of running tests doesn't work in IE
and Edge as it requires support for dynamic imports.
Some of the changes required by the migration:
* check `typeof` of `noGlobal` instead of using the variable directly
as it's not available when modules are used
* change the nonce module to be an object as ECMASscript module exports
are immutable
* remove some unused exports
* import `./core/parseHTML.js` directly in `jquery.js` so that it's not
being cut out when the `ajax` module is excluded in a custom compilation
Closes gh-4541
|
|
|
|
| |
Fixes gh-4490
Closes gh-4506
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Also, update some tests to IE-sniff when deciding whether
to skip a test.
Fixes gh-4386
Closes gh-4387
|
|
|
|
|
|
|
|
|
|
|
| |
Also, update support comments format to match format described in:
https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197
with the change from:
https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-448998379
(open-ended ranges end with `+`).
Fixes gh-3950
Fixes gh-4299
Closes gh-4347
|
|
|
|
| |
Fixes gh-4056
Closes gh-4364
|
|
|
|
|
|
|
|
| |
The camelCase implementation used by the data module no longer turns `-ms-foo`
into `msFoo` but to `MsFoo` now. This is because `data` is supposed to be
a generic utility not specifically bound to CSS use cases.
Fixes gh-3355
Closes gh-4365
|
|
|
|
|
|
| |
Fixes gh-2795
Closes gh-4055
Ref gh-4009
|
|
|
|
|
|
|
|
| |
Fixes gh-4322
Closes gh-4325
Ref gh-3991
Ref gh-4010
Ref gh-4185
Ref gh-4187
|
|
|
|
|
|
|
|
| |
- Use getClientRects() to explicitly detect hidden/disconnected
elements
Close gh-4223
Fixes gh-4102
|
|
|
|
|
|
|
|
|
|
|
|
| |
Current width/height cssHook reads the computed position style even if not
necessary as the browser passes the scrollboxSize support test. That has been
changed.
This commit also makes the scrollboxSize support test in line with all others
(i.e. only return true or false) and changes the variable name in the hook
to make the code clearer.
Fixes gh-4185
Closes gh-4187
|
|
|
|
|
|
| |
This commit adds some CSS grid-related properties to jQuery.cssNumber.
Fixes gh-4007
|
|
|
|
| |
Fixes gh-3964
Closes gh-4096
|
|
|
|
| |
Fixes gh-4063
Closes gh-4064
|
|
|
|
| |
Fixes gh-4029
Closes gh-4030
|
|
|
|
|
|
| |
- this avoids forcing a reflow in some cases
Fixes #3991
|
|
|
|
|
|
|
|
| |
Fixes gh-3986
Closes gh-4005
Avoids filling jQuery.cssProps by introducing a second internal
prop cache. This allows jQuery Migrate to detect external usage.
|
|
|
|
|
| |
Close gh-3604
Fixes gh-3384
|
|
|
|
|
| |
Ref 692f9d4db30c9c6c4f6bc76005cf153586202fa6
Fixes gh-3777
Closes gh-3778
|
|
|
|
| |
Fixes gh-3611
Closes gh-3741
|
|
|
|
|
| |
Fixes gh-3698
Fixes gh-3602
Closes gh-3738
|
|
|
|
|
|
| |
Ref gh-3589
Fixes gh-3699
Fixes gh-3730
Closes gh-3729
|
|
|
|
| |
Fixes gh-3699
Closes gh-3700
|
|
|
|
| |
Fixes gh-3589
Closes gh-3656
|
|
|
|
|
| |
Firefox 35 and newer support style.float directly.
Closes #3569
|
|
|
|
|
| |
Close gh-3577
Fixes gh-3571
|
|
|
|
|
|
| |
- getCSS already falls back to inline styles
Ref gh-3561
|
|
|
|
|
| |
Close gh-3561
Fixes gh-3193
|
|
|
|
|
|
| |
Fixes gh-3144
Closes gh-3199
Closes gh-3557
|
|
|
|
|
| |
Fixes gh-2961
Closes gh-3278
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
IE 11 used to have an issue where if an element inside an iframe was put
in fullscreen mode, the element dimensions started being 100 times too small;
we've added a workaround that would multiply them by 100. However, the IE 11
issue has been unexpectedly fixed and since our detection was really detecting
the browser and not a bug, we've started breaking the browser instead of fixing
it.
Since there's no good way to detect if the bug exists, we have to back the
workaround out completely.
Fixes gh-3041
Refs gh-1764
Refs gh-2401
Refs 90d828bad0d6d318d73d6cf6209d9dc7ac13878c
|
|
|
|
| |
Fixes gh-3073
|
|
|
|
|
| |
The changes follow the spec proposed in:
https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197
|
|
|
|
|
| |
Fixes gh-2404
Close gh-2855
|
|
|
|
|
| |
Fixes gh-2792
Closes gh-2793
|
|
|
|
|
| |
Fixes gh-1712
Close gh-2695
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes gh-2237
Closes gh-2276
(cherry picked from commit 214e1634ab9b1d13d53647dd5de3bdf7a091d49c)
Conflicts:
src/css.js
src/css/support.js
test/unit/support.js
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Drop non-critical workarounds for Android 2.3.
Fixes gh-2483
Fixes gh-2505
Closes gh-2581
|
|
|
|
| |
Fixes gh-2056
|
|
|
|
|
| |
Fixes gh-1724
Closes gh-2439
|
| |
|
|
|
|
|
| |
Fixes gh-1764
Closes gh-2401
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This prevents jQuery from caching a prefixed property name if provided
directly by the user, e.g. the following code:
elem.css( "msTransform", "translate(5px, 2px)" );
should not prevent one from from later setting the transition directly:
elem.css( "transform", "translate(5px, 2px)" );
on a browser not understanding the unprefixed version which is the case
for Safari 8 & transform.
Fixes gh-2015
Closes gh-2298
|
|
|
|
|
|
| |
Fixes gh-1767
Fixes gh-2071
Closes gh-2180
|
|
|
|
|
|
|
|
|
| |
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
|