| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Also, account for the fact old Firefox (<61) has `null` computed style
for elements in such iframes.
Closes gh-5359
Ref gh-5317
Ref gh-5358
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This regressed in gh-3656 as the added logic to include scroll gutters
in `.innerWidth()` / `.innerHeight()` didn't take negative margins into
account. This broke handling of negative margins in
`.offsetHeight( true )` and `.offsetWidth( true )`. To fix it, calculate
margin delta separately and only add it after the scroll gutter
adjustment logic.
Fixes gh-3982
Closes gh-5234
Ref gh-3656
(cherry picked from commit bce13b72c1753e16cc0db53ebf0f0456bdcf6b48)
|
|
|
|
|
|
|
|
|
|
|
| |
New entries cover `aspect-ratio`, `scale`, and a few others.
Also, remove quotes around `cssNumber` keys
A few properties have been taken from React:
https://github.com/facebook/react/blob/afea1d0c536e0336735b0ea5c74f635527b65785/packages/react-dom-bindings/src/shared/CSSProperty.js\#L8-L58
Fixes gh-5179
Closes gh-5233
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
| |
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
(cherry picked from 3d62d5704989f17d3a20ae7521d52e9c8c60b4ee)
|
|
|
|
| |
Fixes gh-4490
Closes gh-4503
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Fixes gh-1711
Closes gh-2011
|
|
|
|
|
|
|
|
| |
That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.
Closes gh-1820
Refs gh-1815
|