236 Commits

Author SHA1 Message Date
Veeck
d57b8ca307 Add latest feature detects and fixes from v4 branch (#2726)
* Fix: Update lowbandwidth condition to match new spec (#2688)

* Adds PushManager feature detection #2703 (#2708)

* Added detection of type worker option and aspect ratio (#2702)
2023-07-20 23:04:25 +02:00
Veeck
4b771d2c14 Add feature detects from v4 branch (#2687)
* Add avif detection (#2539)

* Add avif detection

* Add tests

Both the integration test and the caniuse test

* Add polyfill

* Add support for ResizeObserver (#2582)

* Add Clipboard API (#2573)

* Add Clipboard API testing

* Implement sub-modules (but badly)

* Solve ESLint errors 🙄

* Improve the sub-properties detection

* Move feature detect location

* Add detection for support of scrollToOptions mode of window.scrollTo() (#2575)

* Add detect/tests for prefetch (#2610)

* Add detect/tests for prefetch

* Move to link directory

* Add in check for ie11 edge case

* Add feature detection for IndexedDB 2.0 (#2607)

* Add a|area[ping] detection (#2671)

* Add a|area[ping] detect

* add aping|areaping to integration tests

* Add author tag

* Add Mediastream feature detect (#2669)

* Create mediastream.js

* added mediarecorder as test

* Update config-all.json

* Added metadata to mediastream.js

* Update mediastream.js

* Removed extra line, added a new tag 'media'

* moved mediastream.js to /webrtc dir

* Update config-all.json

* Add test for :focus-visible and fix wrong references in :focus-within (#2665)

* Create focusvisible.js

* Fix wrong reference to CSS focus-within feature

* Fix wrong reference for CSS focus-within feature

* Add css-focus-visible to caniuse integration tests

* Include focusvisible in config-all.json

* Add authors tag to focusvisible.js

Co-authored-by: Markel F <github@markel.dev>
Co-authored-by: Christian Andersson <chris.chris.90@hotmail.com>
Co-authored-by: Chris Smith <chris13524@users.noreply.github.com>
Co-authored-by: Jordan Tepper <jstepper91@gmail.com>
Co-authored-by: Tan Zhen Yong <Xenonym@users.noreply.github.com>
Co-authored-by: Hélio Correia <dev@heliocorreia.org>
Co-authored-by: Onkar Dahale <dahaleonkar@gmail.com>
2022-01-30 14:22:22 +01:00
Raúl Núñez de Arenas Coronado
61b9b86eeb Replace 'kebab-case' to 'hyphen-case' (#2646)
Since 'kebab-case' may be perceived as derogatory by some members of
Arabic or Asian cultures, it's better to use a culture-agnostic term
like 'hyphen-case', which in addition is more self-explanatory than the
potentially offensive term 'kebab-case', which makes no sense without
knowing the origin of the term.
2021-04-10 21:15:07 +02:00
Veeck
2004d77f4c Cleanup property tags (#2542)
* Add TODO

* Update changelog

* Fix property tags
2020-04-26 22:41:29 +02:00
Veeck
2318c1307d Use eslint:recommended, cleanup warnings (#2527)
* Use eslint:recommended, cleanup warnings

* Update mkdirp
2020-04-03 08:40:09 +02:00
Veeck
0f57b8053c Update jsdocs (#2526)
* Show warnings too when linting

* Fix some jsdoc warnings

* Cleanup globals

* Use recommended jsdoc settings

* Fix wrong "false" return parameters
2020-03-23 12:08:56 +01:00
Tomer Hadad
9fb1097f64 fix issue #2520 - set scriptGlobalName causing an exception (#2521)
* fix issue #2520 - set scriptGlobalName causing an exception

* fix tests

Co-authored-by: tomer <tomer@securedtouch.com>
2020-03-23 11:33:46 +01:00
Veeck
93d844bfca Update sinon to latest version (#2491) 2020-01-23 16:34:51 +01:00
Veeck
146c8133b5 Fix missing chai lib on integration test page
Also update dependencies and tweek layout a little
2019-12-19 10:41:28 +01:00
Veeck
39bb2bff4d Replace expect.js with chai (#2449)
* Replace expect.js with chai.js

* Update lock file

* Update dependencies

* Re-add correct test

* Re-add incorrect tests so we see if travis works :-)

* Test against the classNames, not the documentElement

* Fix remaining errors, update dependencies
2019-10-27 21:55:45 +01:00
Veeck
e0413ee95e Use addTest for some tests like inputtypes (#2469)
* Refactor audio- and video- to be more like csscolumns-tests. That way they also provide a css class.

* Refactor inputtype tests to be more like csscolumns-tests. That way they also provide a css class.

* Refactor postmessage tests to be more like csscolumns-tests. That way it also provides a css class.

* Refactor datauri tests to be more like csscolumns-tests. That way it also provides a css class.

* Update dependencies
2019-09-14 13:58:45 +02:00
rejas
8c5b557c8b Cleanup TODO tags, update dependencies 2019-06-16 09:24:48 +02:00
rejas
c47441be1f Cleanups after switch to gulp, move some legacy files into own directory for reference, store some test files in tmp directory 2019-05-16 11:55:53 +02:00
Veeck
90ed886911 Issue 2406: Update jquery (#2448)
* Update jquery and other dependencies

* Use non-minified jquery version everywhere for now
2019-05-15 15:38:38 +02:00
Veeck
f5604363a5 Use gulp for the dev pipeline (#2429)
Fixes #2332 #2355 
Creates #2446 #2447
2019-05-15 15:04:11 +02:00
Veeck
f1b9794207 Add domPrefixesAll helper method (#2442)
* Add domPrefixesAll helper method

* Add test
2019-05-05 23:00:48 +02:00
Veeck
6a2f4256d8 Check for multi-spaces with eslint, fix those and cleanup some DOCs and notes 2019-04-18 17:54:02 +02:00
Veeck
8f37d1f3db fix #1663 - Configuration Options not working (#2413) 2019-02-26 22:34:36 +01:00
Veeck
8960932cff Cleanup caniuse tags and other properties (#2388)
* Add missing mappings to caniuse

* Cleanup properties and caniuse tags
2018-10-20 14:21:17 +02:00
Nick
a747f33b2b Issue 2338 - Cleanup JSdoc (#2368)
* Convert jsdoc HTTP to HTTPS (#2338)

Convert http -> https in JSDocs.

* Finish checking http hyperlinks in jsDocs

- Links in jsDocs that are working but do not have HTTPS are left as is.
- Dead links are replaced with archived links if obtainable, otherwise new links with similar information.

* Fixes to some HTTPS Links

- Fixing comments
- Pointing to archived links
- Replacing with new links

* Fixing HTTPS:// links in jsDocs

- Unify WFC comment name
- Change some links to new redirected links
- Change some links to acrhived links

* Changing old links to new redirected links

* Updates for pull request

- Fix missing square bracket
- Update generic names (i.e. WHATWG, MDN, Html5 Rocks)
- Update archive links to most recent working links
- Point link to direct issue for oninput.js
2018-10-20 12:18:47 +02:00
Veeck
3a6adb5f2f Replace defunct caniuse jsonp.php?callback (#2352)
* Get caniuse data from github since json.php api seems to be gone

* Switch to newer and maintained ua-parser lib

* Use non-minified lib versions, helps with debugging

* Update dependencies

* Fix eslint error

* Update dependencies

* Update dependencies

* Fix version mismatch for broser versions like ff 3.6 who get sorted at the end (thx to string sort and not float sort)

* Update dependencies

* Update dependencies

* Fix ordering of prefixes to reverse-match omPrefixes

* Put khtml prefix last

* Use sinon from npm

* Revert "Use sinon from npm"

This reverts commit ddc75098cf.

* Fix package order

* Use pkg version of sinon lib (#2382)

* Update sinon

* Update dependencies
2018-10-20 12:09:15 +02:00
Mike Reinstein
d43ead3fac option to specify global var name to attach modernizr to #2362 (#2363)
* add option to specificy global variable name to attach modernizr to #2362

* add tests for scriptGlobalName #2362

* add command line option for script global name #2362
2018-08-13 09:18:24 -07:00
Ivan Nikolić
a5f00a63bf Move custom ESLint rule to no-restricted-syntax (#2359) 2018-08-06 20:55:20 +02:00
Veeck
e2c27dcd32 Update jsdoc (#2346)
* Clean up some doc tags

* Replace memberOf with memberof, undo any other changes in html5shiv/printshiv to get back to pristine state

* Small cleanups

* Add custom tags to jsdoc config

* Cleanup jsdoc tags

* Cleanup jsdoc tags

* Add inch config file to exclude html5shivs

* Update inch yml

* Use inch.json instead

* Dont inch the lib folder

* Cleanup jsdoc tags

* More jsdoc cleanups

* Move inch config into one file

* Add comma-dangle rule to eslint

* Cleanup grunt file tasks a little

* Remove some leftover async:false

* Review fixes

* Fix seplling error

* More DOC cleanups

* Fix compile error

* Whitelines/spaces cleanup

* Add eslint rule against multiple whitelines, fix those occurences

* Remove unused (and disabled) eslint entries, sort alphabetically

* Ignored file is not with".min"

* Add task for generating and reporting the coverage from istanbul

* Update eslint dependency

* Small JSdoc cleanups

* Remove unused eslint hint

* Add optional tag back to parameter

* Rname memberof -> memberOf, makes html5shivs original again
2018-07-28 19:15:36 +02:00
Veeck
400db4043c Replace == with === (#2329)
* Replace == with ===

* Replace != with !===

* Undo changes in library
2018-06-09 19:36:20 +02:00
Josh Soref
0ebc6e0277 Spelling (#2267)
* spelling: arguments

* spelling: because

* spelling: component

* spelling: constructor

* spelling: despite

* spelling: expandoid

* spelling: explicitly

* spelling: falsy

* spelling: family

* spelling: indicates

* spelling: injected

* spelling: javascript

* spelling: jquery

* spelling: minimum

* spelling: occasionally

* spelling: official

* spelling: overridden

* spelling: paths

* spelling: positive

* spelling: quirksmode

* spelling: separate

* spelling: simultaneously

* spelling: synchronously

* spelling: undefined

* spelling: xobject

* spelling: chromium

* spelling: define

* spelling: default

* spelling: specifier
2018-05-28 11:42:05 +02:00
Veeck
1956f0b40d Update eslint (#2304)
* html5shiv files are excluded in grunt task already

* Fix some indendation errors

* Remove orphaned jshint files

* Use eslint-plugin-jsdoc for jsdoc

* Update eslint, remove incompatible google preset

* Update eslint-plugin-jsdoc, fix some new warnings
2018-05-23 15:58:24 +02:00
Patrick Kettner
9f4f44bb49 remove stale jshint control comments 2016-08-07 14:14:17 -07:00
patrick kettner
e55aba3198 block direct usage of getComputedStyle, as it causes problems in certain (#2045)
sitautions in firefox
2016-07-31 21:05:07 +04:00
patrick kettner
6b26daeee8 convert jshint and jscs to eslint (#2044) 2016-07-31 20:47:05 +04:00
patrick kettner
6a9c4e1277 allow for setClasses to be included via cli flag (#2043) 2016-07-31 15:05:47 +04:00
AmazingJaze
1d685b4b41 fixes Edge regex in uaparser. 2016-03-14 18:05:58 -07:00
Roland Warmerdam
81cc68b216 banner: use https build url 2016-02-02 16:27:59 +13:00
Patrick Kettner
a00163b223 fix usePrefixes for some detects.
fixes #1852
2016-01-27 12:39:08 -08:00
Patrick Kettner
da22eb2763 filter the UA/CanIUse version in a more accurate way for certain Safari versions 2016-01-17 23:42:35 -08:00
Patrick Kettner
126088e5ed dont cause the cli test to create a file that I keep accidentally adding 2016-01-17 21:12:29 -08:00
Patrick Kettner
2d54fd7696 fix cli crash introduced in #1830 2016-01-14 19:21:49 -08:00
greenkeeperio-bot
4738f5a957 chore(package): update lodash to version 4.0.0
http://greenkeeper.io/
2016-01-13 17:54:40 -08:00
Patrick Kettner
990d91e817 add fix for custom tests 2015-12-09 13:39:14 -08:00
Patrick Kettner
078aeab137 fixes for a few errors 2015-11-26 22:08:15 -08:00
Patrick Kettner
b1115ea432 add detect for font ligatures 2015-11-26 19:26:01 -08:00
Ryan Seddon
86d7ee6df8 Merge pull request #1772 from akamike/fix_setclasses_build_query
Fix build query not including setclasses when passed as an option
2015-11-27 13:41:01 +11:00
greenkeeperio-bot
2373539b12 chore(package): update grunt-jscs to version 2.3.0
http://greenkeeper.io/
2015-11-26 02:37:23 -08:00
Mike Robinson
b527c3a4e1 Fix build query not including setclasses when passed as an option
Includes a correction to the output property in the build query, as
the current site expects.
2015-11-24 21:01:38 +00:00
patrick kettner
d283289915 Merge pull request #1679 from EricWVGG/jpeg2000
jpeg2000 test
2015-09-28 07:52:01 -07:00
EricWVGG
f18059aa35 jpeg 2000 detection 2015-09-28 10:28:49 -04:00
patrick kettner
e00251140b Merge pull request #1667 from patrickkettner/prefixed-css-property
add prefixedCSSValue, to test for prefixed css values
2015-09-25 08:18:22 -07:00
John-David Dalton
b44de6edbf Add msedge to sauce config. 2015-09-21 10:57:00 -07:00
Patrick Kettner
feb841be85 add prefixedCSSValue, to test for prefixed css values 2015-09-21 00:11:15 -07:00
Patrick Kettner
5a52e63ebc change build hashes to build queries 2015-08-07 19:13:32 -04:00