]> source.dussan.org Git - jquery.git/log
jquery.git
5 years agoManipulation: Respect script nomodule attribute in DOM manipulation
Michał Gołębiowski-Owczarek [Mon, 21 Jan 2019 17:34:40 +0000 (18:34 +0100)]
Manipulation: Respect script nomodule attribute in DOM manipulation

PR #3869 added support for `<script type="module">` & some support for
the `nomodule` attribute but with no tests for `nomodule` and with the
attribute only respected on inline scripts. This commit adds support for
source-based scripts as well. It also adds tests for `nomodule`, including
making sure legacy browsers execute such scripts as they'd natively do - that's
the whole point of `nomodule` scripts, after all.

Fixes gh-4281
Closes gh-4282
Ref gh-3871
Ref gh-3869

5 years agoTests: Skip nonce tests in old iOS/Android as well
Michał Gołębiowski-Owczarek [Mon, 14 Jan 2019 18:49:28 +0000 (19:49 +0100)]
Tests: Skip nonce tests in old iOS/Android as well

Old iOS & Android Browser versions support script-src but not nonce, making the
nonce test impossible to run. Browsers not supporting CSP at all are not
a problem as they'll skip script-src restrictions completely.

Ref gh-3541
Ref gh-4269
Ref c7c2855ed13f23322c4064407c1ed84561b95738

5 years agoCore: Preserve CSP nonce on scripts in DOM manipulation
Michał Gołębiowski-Owczarek [Mon, 14 Jan 2019 18:29:54 +0000 (19:29 +0100)]
Core: Preserve CSP nonce on scripts in DOM manipulation

Fixes gh-3541
Closes gh-4269

5 years agoTests: Exclude Android 4.x from repeated header names test
Michał Gołębiowski-Owczarek [Fri, 14 Dec 2018 21:06:44 +0000 (22:06 +0100)]
Tests: Exclude Android 4.x from repeated header names test

Android Browser only returns the last value for each header so there's no way
for jQuery get all parts.

Closes gh-4259
Ref gh-3403
Ref gh-4173

5 years agoManipulation: Restore _evalUrl jQuery.ajax calls to dataType: script
Richard Gibson [Thu, 13 Dec 2018 17:54:39 +0000 (12:54 -0500)]
Manipulation: Restore _evalUrl jQuery.ajax calls to dataType: script

IE and iOS <10 XHR transport does not succeed on data: URIs
Ref gh-4243
Ref gh-4126
Closes gh-4258

5 years agoManipulation: Only evaluate HTTP-successful script src
Richard Gibson [Wed, 12 Dec 2018 16:21:24 +0000 (11:21 -0500)]
Manipulation: Only evaluate HTTP-successful script src

Fixes gh-4126
Closes gh-4243

5 years agoCore: Tiny efficiency fix to jQuery.extend / jQuery.fn.extend (#4246)
Marja Hölttä [Wed, 12 Dec 2018 16:13:18 +0000 (17:13 +0100)]
Core: Tiny efficiency fix to jQuery.extend / jQuery.fn.extend (#4246)

Read target[name] only when it's needed.

In addition to doing the property read-only when needed, this
avoids a slow path in V8 (see the issue for more details).

Fixes gh-4245
Closes gh-4246

5 years agoTests: fix dimensions tests in testswarm
Timmy Willison [Mon, 3 Dec 2018 17:03:04 +0000 (12:03 -0500)]
Tests: fix dimensions tests in testswarm

Close gh-4248

5 years agoDimensions: fall back to offsetWidth/Height for border-box in IE
Timmy Willison [Sun, 11 Nov 2018 22:34:43 +0000 (17:34 -0500)]
Dimensions: fall back to offsetWidth/Height for border-box in IE

- Use getClientRects() to explicitly detect hidden/disconnected
  elements

Close gh-4223
Fixes gh-4102

5 years agoTests: add IE launcher for debugging IE11 on Windows
Timmy Willison [Mon, 12 Nov 2018 16:49:44 +0000 (11:49 -0500)]
Tests: add IE launcher for debugging IE11 on Windows

5 years agoTests: fix ajax test failure; add to header instead of replace
Timmy Willison [Mon, 26 Nov 2018 17:46:58 +0000 (12:46 -0500)]
Tests: fix ajax test failure; add to header instead of replace

5 years agoAjax: Fix getResponseHeader(key) for IE11
Andrei Fangli [Mon, 26 Nov 2018 17:00:41 +0000 (19:00 +0200)]
Ajax: Fix getResponseHeader(key) for IE11

- getResponseHeader(key) combines all header values for the provided key into a
single result where values are concatenated by ', '. This does not happen for
IE11 since multiple values for the same header are returned on separate lines.
This makes the function only return the last value of the header for IE11.
- Updated ajax headers test to better cover Object.prototype collisions

Close gh-4173
Fixes gh-3403

6 years agoTests: Add Safari 12 & iOS 12 results
Michał Gołębiowski-Owczarek [Mon, 12 Nov 2018 17:55:47 +0000 (18:55 +0100)]
Tests: Add Safari 12 & iOS 12 results

6 years agoTests: Move latest Firefox before Firefox 60 test results
Michał Gołębiowski-Owczarek [Mon, 12 Nov 2018 17:54:15 +0000 (18:54 +0100)]
Tests: Move latest Firefox before Firefox 60 test results

6 years agoCore: Recognize Shadow DOM in attachment checks
Saptak Sengupta [Fri, 9 Nov 2018 11:15:31 +0000 (16:45 +0530)]
Core: Recognize Shadow DOM in attachment checks

Allow `isAttached` to check Shadow DOM for attachment.

Fixes gh-3504
Closes gh-3996
Ref gh-3977

6 years agoBuild: Run tests on Node.js 11 as well
Michał Gołębiowski-Owczarek [Wed, 31 Oct 2018 14:50:09 +0000 (15:50 +0100)]
Build: Run tests on Node.js 11 as well

6 years agoCSS: Don't read styles.position in the width/height cssHook unless necessary
Michał Gołębiowski-Owczarek [Mon, 8 Oct 2018 16:25:15 +0000 (18:25 +0200)]
CSS: Don't read styles.position in the width/height cssHook unless necessary

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

6 years agoTests: Add tests for not auto-appending "px" to CSS Grid properties
Michał Gołębiowski-Owczarek [Wed, 3 Oct 2018 10:00:52 +0000 (12:00 +0200)]
Tests: Add tests for not auto-appending "px" to CSS Grid properties

Ref gh-4007
Ref gh-4028
Closes gh-4165

6 years agoTests: Allow Karma to load unminfied source
Richard Gibson [Fri, 7 Sep 2018 14:14:01 +0000 (10:14 -0400)]
Tests: Allow Karma to load unminfied source

Closes gh-4128

6 years agoCSS: Don't auto-append "px" to possibly-unitless CSS grid properties
Bert Zhang [Wed, 29 Aug 2018 13:54:27 +0000 (06:54 -0700)]
CSS: Don't auto-append "px" to possibly-unitless CSS grid properties

This commit adds some CSS grid-related properties to jQuery.cssNumber.

Fixes gh-4007

6 years agoTests: use width style instead of SVG width attribute (#4157)
Jason Bedard [Tue, 21 Aug 2018 04:13:33 +0000 (21:13 -0700)]
Tests: use width style instead of SVG width attribute (#4157)

The SVG width attribute seems to not support border-box in iOS7.

Closes gh-4155

6 years agoTests: Account for the iPad with iOS 11.3 user agent
Michał Gołębiowski-Owczarek [Wed, 1 Aug 2018 13:12:30 +0000 (15:12 +0200)]
Tests: Account for the iPad with iOS 11.3 user agent

The user agent of the iPad with iOS 11.3 on BrowserStack is missing the "iPhone"
part in the "iPhone OS 11_3" part. This commit makes the iOS regex accept such
(probably?) malformed UAs.

6 years agoTests: Skip module tests in Edge
Michał Gołębiowski-Owczarek [Mon, 30 Jul 2018 16:41:08 +0000 (18:41 +0200)]
Tests: Skip module tests in Edge

Edge sometimes doesn't execute module scripts. It needs to be investigated why
but for now, we're skipping the test to make our tests more stable.

Closes gh-4140

6 years agoTests: Make support tests pass in Firefox 52
Michał Gołębiowski-Owczarek [Mon, 30 Jul 2018 16:06:08 +0000 (18:06 +0200)]
Tests: Make support tests pass in Firefox 52

jQuery Core now supports Firefox ESR.

6 years agoDocs: add gitter badge to README.md
Timmy Willison [Fri, 27 Jul 2018 17:00:28 +0000 (13:00 -0400)]
Docs: add gitter badge to README.md

Close gh-4138

6 years ago Manipulation: Properly detect HTML elements with single-character names
Richard Gibson [Fri, 13 Jul 2018 04:35:08 +0000 (00:35 -0400)]
 Manipulation: Properly detect HTML elements with single-character names

Fixes gh-4124
Closes gh-4125

6 years agoTests: Add support test results for Firefox 61+
Michał Gołębiowski-Owczarek [Mon, 9 Jul 2018 16:37:52 +0000 (18:37 +0200)]
Tests: Add support test results for Firefox 61+

Firefox 61 now passes the reliableMarginLeft test.

Closes gh-4122

6 years agoDimensions: fix computing outerWidth on SVGs
Jason Bedard [Thu, 21 Jun 2018 05:09:29 +0000 (22:09 -0700)]
Dimensions: fix computing outerWidth on SVGs

Fixes gh-3964
Closes gh-4096

6 years agoSerialize: jQuery.param: return empty string when given null/undefined
Timmy Willison [Wed, 20 Jun 2018 16:07:44 +0000 (12:07 -0400)]
Serialize: jQuery.param: return empty string when given null/undefined

Fixes gh-2633
Close gh-4108

6 years agoUpdate node dependencies (sans jsdom, qunit, and sinon)
Timmy Willison [Wed, 20 Jun 2018 16:06:45 +0000 (12:06 -0400)]
Update node dependencies (sans jsdom, qunit, and sinon)

Close gh-4098

6 years agoBuild: Remove unnecessary ESLint exception
Ed S [Mon, 18 Jun 2018 16:50:16 +0000 (17:50 +0100)]
Build: Remove unnecessary ESLint exception

The linked-to issue was fixed 2 years ago.

Closes gh-4095

6 years agoTest: enable a spec testing CSS whitespace preserving in Edge 17
Michał Gołębiowski-Owczarek [Mon, 18 Jun 2018 16:48:15 +0000 (18:48 +0200)]
Test: enable a spec testing CSS whitespace preserving in Edge 17

In Edge 14-16 setting a style property to a whitespace-only value resets it to
the default, forcing us to skip a relevant CSS test in Edge. Now that Edge 17
has fixed the issue we can re-enable this test there.

Ref gh-3204
Closes gh-4101

6 years agoMisc: Add config for lockbot
Dave Methvin [Tue, 8 May 2018 20:55:14 +0000 (16:55 -0400)]
Misc: Add config for lockbot

6 years agoCSS: Don't auto-append "px" to CSS variables (#4064)
Michał Gołębiowski-Owczarek [Mon, 4 Jun 2018 16:08:06 +0000 (18:08 +0200)]
CSS: Don't auto-append "px" to CSS variables (#4064)

Fixes gh-4063
Closes gh-4064

6 years agoREADME: Add FOSSA license scan status badge
Kris Borchers [Tue, 15 May 2018 09:12:34 +0000 (11:12 +0200)]
README: Add FOSSA license scan status badge

6 years agosquash! Set attributes all at once, src last
Dave Methvin [Thu, 8 Mar 2018 01:09:09 +0000 (20:09 -0500)]
squash! Set attributes all at once, src last

6 years agoAjax: Allow custom attributes when script transport is used
Dave Methvin [Tue, 12 Sep 2017 16:40:00 +0000 (12:40 -0400)]
Ajax: Allow custom attributes when script transport is used

Fixes gh-3028
Ref gh-2612

Useful, for example, to add `nonce`, `integrity`, or `crossorigin`.

6 years agoMisc: Update license prolog/epilog to placate Github checker
Dave Methvin [Tue, 17 Apr 2018 21:59:04 +0000 (17:59 -0400)]
Misc: Update license prolog/epilog to placate Github checker

6 years agoTraversing: $.fn.contents() support for object
Luis Emilio Velasco Sanchez [Mon, 14 May 2018 17:36:30 +0000 (13:36 -0400)]
Traversing: $.fn.contents() support for object

Fixes gh-4045
Closes gh-4046

6 years agoCSS: Correctly detect scrollbox support with non-default zoom
Richard Gibson [Mon, 7 May 2018 13:28:18 +0000 (09:28 -0400)]
CSS: Correctly detect scrollbox support with non-default zoom

Fixes gh-4029
Closes gh-4030

6 years agoCSS: Ensure camel- vs kebab-cased names are not collapsed for CSS vars
Michał Gołębiowski-Owczarek [Wed, 2 May 2018 15:08:20 +0000 (17:08 +0200)]
CSS: Ensure camel- vs kebab-cased names are not collapsed for CSS vars

Closes gh-4062

6 years agoCSS: Skip the px-appending logic for animations of non-element props
Michał Gołębiowski-Owczarek [Mon, 30 Apr 2018 16:52:39 +0000 (18:52 +0200)]
CSS: Skip the px-appending logic for animations of non-element props

Without this change animating properties from jQuery.cssNumber on non-elements
throws an error.

Ref gh-4055
Closes gh-4061

6 years agoBuild: Test on Node 10, stop testing on Node 4 & 9
Michał Gołębiowski-Owczarek [Wed, 25 Apr 2018 07:55:38 +0000 (09:55 +0200)]
Build: Test on Node 10, stop testing on Node 4 & 9

Node.js 4 & 9 are ending their life, Node.js 10 has just been released.

Closes gh-4057

6 years agoTests: ensure support tests are failed by at least one tested browser 4052/head
Michał Gołębiowski-Owczarek [Mon, 23 Apr 2018 12:16:21 +0000 (14:16 +0200)]
Tests: ensure support tests are failed by at least one tested browser

A whitelist is available so that some tests can be allowed to always succeed.
This is used only for ajax for now as it can be manually disabled in IE but
is enabled by default.

Closes gh-4052

6 years agoEvent: Add "code" property to Event object
tmybr11 [Tue, 17 Apr 2018 21:29:11 +0000 (18:29 -0300)]
Event: Add "code" property to Event object

Fixes gh-3978
Closes gh-3998

6 years agoDimensions: avoid fetching boxSizing when setting width/height
Jason Bedard [Wed, 14 Mar 2018 06:05:33 +0000 (23:05 -0700)]
Dimensions: avoid fetching boxSizing when setting width/height
- this avoids forcing a reflow in some cases

Fixes #3991

6 years agoCSS: Avoid filling jQuery.cssProps 4005/head
Dave Methvin [Sat, 24 Feb 2018 22:17:24 +0000 (17:17 -0500)]
CSS: Avoid filling jQuery.cssProps

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.

6 years agoBuild: Don't require sudo on Travis, use sandboxless headless Chrome
Michał Gołębiowski-Owczarek [Mon, 19 Mar 2018 17:12:23 +0000 (18:12 +0100)]
Build: Don't require sudo on Travis, use sandboxless headless Chrome

The Chrome sandbox doesn't work on Travis unless sudo is enabled. Instead,
we're disabling the Chrome sandbox.

Closes gh-4011

6 years agoBuild: remove artefact from previous commit
Oleg Gaydarenko [Wed, 7 Mar 2018 08:33:39 +0000 (11:33 +0300)]
Build: remove artefact from previous commit

Follow-up for 09684ba3f210594e41ecddf369ac94c688d53ccb

6 years agoCore: Use isAttached to check for attachment of element
Saptak Sengupta [Mon, 5 Mar 2018 17:57:03 +0000 (23:27 +0530)]
Core: Use isAttached to check for attachment of element

This change replaces the use of contains to check for attachment
by isAttached function

Closes gh-3977
Ref gh-3504

6 years agoBuild: Seasonal update of uglify and its options
Oleg Gaydarenko [Fri, 2 Mar 2018 17:21:33 +0000 (20:21 +0300)]
Build: Seasonal update of uglify and its options

raw     gz Compared to last run
 =      = dist/jquery.js
-294    -88 dist/jquery.min.js

Closes gh-3994

6 years agoTests: Fix Android 4.0 Deferred tests
Michał Gołębiowski-Owczarek [Mon, 12 Feb 2018 19:24:58 +0000 (20:24 +0100)]
Tests: Fix Android 4.0 Deferred tests

Closes gh-3967

6 years agoTests: Disable native abort test in Android 4.0
Michał Gołębiowski-Owczarek [Mon, 12 Feb 2018 18:08:36 +0000 (19:08 +0100)]
Tests: Disable native abort test in Android 4.0

The test works on its own when checked manually but mysteriously fails in
TestSwarm only in Android 4.0. Let's just disable it there.

Closes gh-3968

6 years agoBuild: Updating the master version to 3.3.2-pre.
Timmy Willison [Sat, 20 Jan 2018 17:27:15 +0000 (12:27 -0500)]
Build: Updating the master version to 3.3.2-pre.

6 years agoBuild: Updating the master version to 3.3.1-pre.
Timmy Willison [Fri, 19 Jan 2018 19:03:56 +0000 (14:03 -0500)]
Build: Updating the master version to 3.3.1-pre.

6 years agoRelease: update version to 3.3.0-pre
Timmy Willison [Fri, 19 Jan 2018 16:34:51 +0000 (11:34 -0500)]
Release: update version to 3.3.0-pre

6 years agoRelease: add new authors to AUTHORS.txt
Timmy Willison [Fri, 19 Jan 2018 16:24:43 +0000 (11:24 -0500)]
Release: add new authors to AUTHORS.txt

6 years agoTests: skip test with invalid selector for selector-native tests
Timmy Willison [Fri, 19 Jan 2018 16:13:48 +0000 (11:13 -0500)]
Tests: skip test with invalid selector for selector-native tests

6 years agoBuild: Add "-debug" suffix to name of karma debug tasks
Timo Tijhof [Fri, 12 Jan 2018 18:09:42 +0000 (18:09 +0000)]
Build: Add "-debug" suffix to name of karma debug tasks

Ref gh-3922
Close gh-3936

6 years agoFilter: Use direct filter in winnow
Saptak Sengupta [Wed, 10 Jan 2018 05:34:31 +0000 (11:04 +0530)]
Filter: Use direct filter in winnow

for both simple and complex selectors

Fixes gh-3272
Closes gh-3910

6 years agoTests: ensure that module assertions run on supported browsers
Timmy Willison [Tue, 16 Jan 2018 20:18:32 +0000 (15:18 -0500)]
Tests: ensure that module assertions run on supported browsers

- Also fixes tests for karma, where the URL for the module is different

Ref gh-3871

6 years agoTests: fix tests in AMD mode
Timmy Willison [Tue, 16 Jan 2018 17:41:40 +0000 (12:41 -0500)]
Tests: fix tests in AMD mode

6 years agoManipulation: Add support for scripts with module type
basil.belokon [Sun, 3 Dec 2017 09:58:09 +0000 (15:58 +0600)]
Manipulation: Add support for scripts with module type

Fixes gh-3871
Close gh-3869

6 years agoTests: correctly set sudo in travis config, not karma config
Timmy Willison [Tue, 16 Jan 2018 16:17:33 +0000 (11:17 -0500)]
Tests: correctly set sudo in travis config, not karma config

6 years agoTests: temporarily require sudo access for karma:main on travis
Timmy Willison [Tue, 16 Jan 2018 16:10:30 +0000 (11:10 -0500)]
Tests: temporarily require sudo access for karma:main on travis

- This should fix the broken travis build on Node 8
- See https://github.com/travis-ci/travis-ci/issues/8836

6 years agoTests: fix number of expected assertions in basic core
Timmy Willison [Tue, 16 Jan 2018 15:51:03 +0000 (10:51 -0500)]
Tests: fix number of expected assertions in basic core

6 years agoCore: deprecate jQuery.type
Jason Bedard [Sun, 14 Jan 2018 08:46:20 +0000 (00:46 -0800)]
Core: deprecate jQuery.type

Fixes gh-3605
Close gh-3895

6 years agoTests: fix weird flaky attributes test in Edge 16
Timmy Willison [Wed, 10 Jan 2018 16:42:24 +0000 (11:42 -0500)]
Tests: fix weird flaky attributes test in Edge 16

Fixes gh-3867
Close gh-3931

6 years agoTests: fix weird failure in Edge 16 CSS
Timmy Willison [Wed, 10 Jan 2018 16:52:50 +0000 (11:52 -0500)]
Tests: fix weird failure in Edge 16 CSS

Fixes gh-3866
Close gh-3932

6 years agoCore: deprecate jQuery.isNumeric
Jason Bedard [Wed, 13 Dec 2017 05:51:49 +0000 (21:51 -0800)]
Core: deprecate jQuery.isNumeric

Fixes gh-2960
Closes gh-3888

6 years agoAjax: Don't process non-string data property on no-entity-body requests
Dave Methvin [Tue, 12 Sep 2017 15:24:45 +0000 (11:24 -0400)]
Ajax: Don't process non-string data property on no-entity-body requests

Fixes gh-3438
Closes gh-3781

6 years agoEvent: Move event aliases to deprecated
Dave Methvin [Fri, 29 Dec 2017 21:58:45 +0000 (16:58 -0500)]
Event: Move event aliases to deprecated

Fixes gh-3214

6 years agoCore: deprecate jQuery.isFunction
Jason Bedard [Wed, 13 Dec 2017 06:43:30 +0000 (22:43 -0800)]
Core: deprecate jQuery.isFunction

Fixes gh-3609

6 years agoBuild: Remove CRLF line endings to fix builds on Windows
Dave Methvin [Tue, 9 Jan 2018 15:50:09 +0000 (07:50 -0800)]
Build: Remove CRLF line endings to fix builds on Windows

Close gh-3929

6 years agoTests: fix function reference for unbinding
Timmy Willison [Mon, 8 Jan 2018 16:55:14 +0000 (11:55 -0500)]
Tests: fix function reference for unbinding

Ref gh-2958

6 years agoBuild: Fix UglifyJS output in Android 4.0; update uglify
Timmy Willison [Wed, 3 Jan 2018 17:19:37 +0000 (12:19 -0500)]
Build: Fix UglifyJS output in Android 4.0; update uglify

- Thanks to @mgol for first pass

Fixes gh-3743
Close gh-3920

6 years agoTests: only run ontimeout test if ontimeout exists
Timmy Willison [Wed, 3 Jan 2018 16:39:19 +0000 (11:39 -0500)]
Tests: only run ontimeout test if ontimeout exists

Fixes gh-3742
Close gh-3919

6 years agoAjax: add unit test for getScript(Object)
Timmy Willison [Wed, 3 Jan 2018 16:01:26 +0000 (11:01 -0500)]
Ajax: add unit test for getScript(Object)

Fixes gh-3736
Close gh-3918

6 years agoAttributes: allow array param in add/remove/toggleClass
Timmy Willison [Tue, 2 Jan 2018 21:45:10 +0000 (16:45 -0500)]
Attributes: allow array param in add/remove/toggleClass

+30 bytes instead of +182

Thanks to @faisaliyk for the first pass on this feature.

Fixes gh-3532
Close gh-3917

6 years agoManipulation: use `.children` to select tbody elements
Timmy Willison [Tue, 2 Jan 2018 20:42:43 +0000 (15:42 -0500)]
Manipulation: use `.children` to select tbody elements

- selectors beginning with a child combinator are not valid natively.
  This fixes the tests when using selector-native.js

6 years agoCore: deprecate jQuery.proxy (not slated for removal)
Timmy Willison [Mon, 11 Dec 2017 17:58:35 +0000 (12:58 -0500)]
Core: deprecate jQuery.proxy (not slated for removal)

Fixes gh-2958
Close gh-3885

6 years agoCore: deprecate jQuery.now
Timmy Willison [Mon, 11 Dec 2017 17:39:11 +0000 (12:39 -0500)]
Core: deprecate jQuery.now

Fixes gh-2959
Close gh-3884

6 years agoCore: adjust data tests to ensure proper camelCasing
Timmy Willison [Mon, 4 Dec 2017 21:38:37 +0000 (16:38 -0500)]
Core: adjust data tests to ensure proper camelCasing

- Add back camelCase to the public object (deprecate not remove)
Ref #3384

6 years agoCore: make camelCase function available only for internal usage
Nilton Cesar [Wed, 22 Nov 2017 19:43:44 +0000 (14:43 -0500)]
Core: make camelCase function available only for internal usage

Close gh-3604
Fixes gh-3384

6 years agoBuild: Only run browser tests in one Node version on Travis
Michał Gołębiowski-Owczarek [Wed, 3 Jan 2018 08:41:46 +0000 (09:41 +0100)]
Build: Only run browser tests in one Node version on Travis

Ref gh-3744
Closes gh-3894

6 years agoTests: Add support for running unit tests via grunt with karma
Timo Tijhof [Tue, 1 Aug 2017 16:52:45 +0000 (09:52 -0700)]
Tests: Add support for running unit tests via grunt with karma

- Update QUnit to 1.23.1
- Remove unused dl#dl from test/index.html
- Remove unused map#imgmap from test/index.html
- Ensure all urls to data use baseURI
- Add the 'grunt karma:main' task
  - customContextFile & customDebugFile
- Add 'npm run jenkins' script

Close gh-3744
Fixes gh-1999

6 years agoDocs: Create CODE_OF_CONDUCT.md
Timmy Willison [Mon, 27 Nov 2017 16:41:00 +0000 (11:41 -0500)]
Docs: Create CODE_OF_CONDUCT.md

Close gh-3865

6 years agoCSS: Correctly set support properties with non-default zoom
Saptak Sengupta [Wed, 6 Dec 2017 04:59:54 +0000 (10:29 +0530)]
CSS: Correctly set support properties with non-default zoom

Fixes gh-3808
Closes gh-3872

7 years agoManipulation: Reduce size by eliminating single-use variable
Richard Gibson [Wed, 22 Nov 2017 19:43:44 +0000 (14:43 -0500)]
Manipulation: Reduce size by eliminating single-use variable

Closes gh-3851

7 years agoTests: Add iOS 11 support test results
Michał Gołębiowski-Owczarek [Mon, 20 Nov 2017 22:46:31 +0000 (23:46 +0100)]
Tests: Add iOS 11 support test results

7 years agoBuild: Test on Node.js 9
Michał Gołębiowski-Owczarek [Mon, 6 Nov 2017 22:14:22 +0000 (23:14 +0100)]
Build: Test on Node.js 9

Closes gh-3840

7 years agoTests: Add Safari 11 support test results
Michał Gołębiowski-Owczarek [Wed, 18 Oct 2017 15:59:22 +0000 (17:59 +0200)]
Tests: Add Safari 11 support test results

7 years agoTests: Make Node tests work for paths with spaces in them
Michał Gołębiowski-Owczarek [Wed, 18 Oct 2017 15:44:50 +0000 (17:44 +0200)]
Tests: Make Node tests work for paths with spaces in them

Without this patch Jenkins tests fail as jQuery job names there contain spaces,
e.g. "jQuery Core".

Closes gh-3821

7 years agoBuild: Remove package-lock.json, add it to .gitignore
Michał Gołębiowski-Owczarek [Mon, 25 Sep 2017 17:34:28 +0000 (19:34 +0200)]
Build: Remove package-lock.json, add it to .gitignore

npm 5, even the version included in the latest Node.js 8.5.0 re-generates
`package-lock.json` on each install. And when it does on a system that doesn't
support all the optional dependencies that are supported on the OS where the
lockfile was generated, it removes those optional deps from the lockfile.

The effect is that everyone firing `npm install` on our repo on any OS other
than macOS will immediately get a dirty state of the repo as the `fsevents`
dependency subtree gets removed from `package-lock.json`. That's a really bad
experience.

This commit removes package-lock.json from the repository and adds it to
.gitignore. We'll start committing the file again once the issue is resolved
on npm's part.

Fixes gh-3792

7 years agoBuild: increase timeout in Promises/A+ tests 10 times
Michał Gołębiowski-Owczarek [Wed, 20 Sep 2017 13:36:40 +0000 (15:36 +0200)]
Build: increase timeout in Promises/A+ tests 10 times

The promises-aplus-tests sets up a default 200 ms Mocha timeout. This makes
our tests randomly fail on Jenkins. 2 seconds will be safer.

Closes gh-3791

7 years agoBuild: Drop cross-spawn, use child_process.spawn shell option
Michał Gołębiowski-Owczarek [Wed, 20 Sep 2017 13:32:35 +0000 (15:32 +0200)]
Build: Drop cross-spawn, use child_process.spawn shell option

7 years agoBuild: Update to Babel 7, use for-of plugin instead of preset-es2015
Henry Zhu [Mon, 25 Sep 2017 17:02:19 +0000 (13:02 -0400)]
Build: Update to Babel 7, use for-of plugin instead of preset-es2015

Closes gh-3786

7 years agoCSS: Detect more WebKit styles erroneously reported as percentages
Richard Gibson [Mon, 18 Sep 2017 15:59:50 +0000 (11:59 -0400)]
CSS: Detect more WebKit styles erroneously reported as percentages

Ref 692f9d4db30c9c6c4f6bc76005cf153586202fa6
Fixes gh-3777
Closes gh-3778

7 years agoTests: Update lineHeight adjustments to give Android more slop
Richard Gibson [Fri, 8 Sep 2017 21:14:57 +0000 (17:14 -0400)]
Tests: Update lineHeight adjustments to give Android more slop

7 years agoCSS: Avoid unit-conversion interference from CSS upper bounds
Richard Gibson [Mon, 28 Aug 2017 17:23:04 +0000 (13:23 -0400)]
CSS: Avoid unit-conversion interference from CSS upper bounds

Fixes gh-2144
Closes gh-3745