Commit Graph

170 Commits

Author SHA1 Message Date
Markel F
f81995d50f Fill the documentation (#2561)
* Create metadata.md

* Update the table

* Added builderAliases

* Updated aliases

* Added relative links + should not mentions

* Notes edits

* Remove authors note

* Rename file

Also changed the header levels to accomodate the new title/purpose

* Added introduction

* Revert "Added introduction"

This reverts commit 98005b1475.

* Sorry, signature problems

* Make some sentences a little bit more clear

* Add testing section

* Solve necessity typo

* Markdownlint executed

* Add Verify Your Tests section

* Install the Basics

* Restructure verify your tests section

* Add polyfills section

* Readability improvements

* Added submitting a PR section

* Table of contents fix

* Solve extra enter

* Fix link and correct polyfill name
2020-07-02 22:37:49 +02:00
Christian Andersson
22553679e5 Add support for ResizeObserver (#2582) 2020-07-02 22:17:32 +02:00
Markel F
fa7149c1fe Decrapt datalist.js (#2569) 2020-05-29 10:34:11 +02:00
Markel F
59f35a14c5 Add avif detection (#2539)
* Add avif detection

* Add tests

Both the integration test and the caniuse test

* Add polyfill
2020-05-05 14:57:26 +02:00
Veeck
870cf370ab Remove tests that were deprecated or duplicates (#2543)
* Remove tests that were deprecated or duplicates

* Review fix, use old name again
2020-04-27 20:03:38 +02:00
David BRETIN
5a784e7978 ES6: class (#2532)
* Create es6/class.js

* Modify 'config-all.json' for adding "es6/class"
2020-04-10 12:26:55 +02:00
David BRETIN
8b601245ed ES8: object (#2533)
* Create es8/object.js

* Modify 'config-all.json' for adding "es8/object"
2020-04-10 12:26:31 +02:00
David BRETIN
305868c20f Add feature-detect for TextEncoder and TextDecoder (#2531)
* textencoding.js

* Modify 'config-all.json' for adding "textencoding"
2020-04-08 11:14:41 +02:00
David BRETIN
49dc9d38e8 ES6 rest parameters test (#2516)
* ES6 rest parameters test

* Modify 'config-all.json' for adding "es6/rest-parameters"

* Indentation format

* Add caniuse tag

* Add spec link
2020-03-19 21:20:01 +01:00
David BRETIN
46efd67df3 ES7 - rest destructuring (#2517)
* ES7 - rest destructuring

* Modify 'config-all.json' for adding "es7/rest-destructuring"

* Indentation correction

* Create 2 checks for array and object

* Correct caniuse tag (cannot be a string array)
2020-03-19 19:27:23 +01:00
David BRETIN
610d2ceb2e ES6 - Spread syntax check (#2522)
* ES6 Spread check

* Modify 'config-all.json' for adding "es6/spread"

* Change "spread" -> "spread-array" (prepare ES7 spread object check)

* Change "es6/spread" to "es6/spread-array"

* Correct caniuse tag

* Move warning in correct section
2020-03-19 19:08:11 +01:00
David BRETIN
aabfaa64a4 ES7 - spread object (#2523)
* Check for ES7 spread object

* Modify 'config-all.json' for adding "es7/spread-object"
2020-03-19 17:37:43 +01:00
David BRETIN
0c23810831 ES6 - String template (#2518)
* ES6 String template

* Rename string-template to string-template.js

* Modify 'config-all.json' for adding "es6/string-template"

* Add caniuse tag

* Convert double equals to triple equals
2020-03-17 10:06:28 +01:00
David BRETIN
5e5f94bed0 ES7 array test (includes method) (#2515)
* ES7 array test (includes method)

* Strings must use singlequote

* Indentation format

* Modify 'config-all.json' for adding "es7/array"
2020-03-13 12:34:31 +01:00
buhi
f4d3aa0b3c feature detects for ES6 Symbol; (#2487)
* feature detects for ES6 Symbol;

* Add caniuse tag

Co-authored-by: Veeck <github@veeck.de>
2019-12-30 13:00:38 +01:00
Chris Smith
04ca29b3bf Add detection for gap CSS property for flexbox (#2485)
* Add detection for `gap` CSS property for flexbox

* Fix linting errors

* Fixed usage of createElement and docElement. Added test to config-all.json.

* Fix indentation. Add my name to authors list :)

* Authors should be an array.
2019-12-18 16:28:26 +01:00
Veeck
4aeac3d045 Deprecate some tests (#2472)
* Mark touchevents and unicode tests as deprecated

* Add documentation

* Deprecated with v4.0

* Fix typo

Co-Authored-By: Paul Irish <paul.irish@gmail.com>

* Update docs

* Update dependencies
2019-10-23 14:11:21 +02:00
Pascal Lim
d11cd99ac0 Add support for ShadowRoot DOM api feature detect through shadowroot and shadowroot-legacy (#2475)
Co-authored-by: Kevin Coyle <kevin.coyle@theuniprogroup.com>
2019-10-05 21:38:31 +02:00
Brock Beaudry
d9305feab7 Add proxy detection (#2459)
* Add proxy detection

* Add Proxy polyfill

* Remove 'dom' tag and add author
2019-06-25 00:08:49 +02:00
Georgy Perepecho
7231dd32a3 Added feature detect native lazy loading img (#2453)
* added feature detect native lazy load img

* change description for native lazy loading detection

* rename loading to lazyloading
2019-05-28 09:09:03 +02:00
Veeck
b66558ed7a Add minify: false to default config, it is the current behaviour anyway 2019-03-02 08:49:45 +01:00
Veeck
342bcd5a88 Add missing tests to default config file 2019-02-28 11:05:17 +01:00
Veeck
8f37d1f3db fix #1663 - Configuration Options not working (#2413) 2019-02-26 22:34:36 +01:00
Eric Delia
e8bb3494af Adding PublicKeyCredential feature detect for webauthn (#2393)
* Adding PublicKeyCredential feature detect for webauthn

* Undoing package-lock.json, adding author tag
2018-11-12 11:50:42 +01:00
Eric Delia
e14a7ae9a8 Adding feature detection for navigator.connection.effectiveType (#2381) 2018-10-20 12:16:24 +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
Veeck
04181cef05 More test around text decoration styling (#2327)
* Feature detect for text-decoration styling

* Take PR from @stefanpl and merge it with test for text-decoration-skip-ink
2018-07-30 17:12:58 +02:00
Jordy van Dortmont
379e6b511d Add audio autoplay feature detect (#2185)
* Add audio autoplay feature detect

* Minimalize audio data to test against autoplay
2018-07-15 11:31:44 +02:00
Harald Reingruber
4e56bfd835 add Media Source Extension API feature dectection (#2233)
* add Media Source Extension API feature dectection

* Update media-source-extension-api.js

Implements feedback from Modernizr/Modernizr#2233
2018-07-03 23:25:02 +02:00
Veeck
acb3f0d990 Feature detect for box-decoration-break (#2330)
* Feature detect for box-decoration-break
2018-06-16 00:17:55 -07:00
Veeck
786be6abbd Add test for text-decoration-skip-ink (#2324) 2018-06-06 18:07:38 -07:00
Veeck
3be70e30d5 Detect font display (#2323)
* Add Font Display detection

* Try out simpler test

* Fix camelcase

* Final fix and author recognition
2018-06-06 10:46:03 +02:00
Veeck
8466c73a71 Add css custom properties feature detection (#2310)
* Add css custom properties feature detection

* Minify string

* Fix battery js test
2018-05-23 15:58:24 +02:00
patrick kettner
4b01e640d0 add detect for variable fonts (#2202) 2017-07-28 21:08:22 -07:00
Faruk Ates
34f4ced747 Updating with Ryan & Patrick's requests
- added new feature detect to lib/config-all.json
- made the notice a JS comment instead of a formal warning
2017-04-13 13:20:10 -07:00
Ryan Seddon
99b6566e8e Merge pull request #2155 from lukasoppermann/custom-elements
add custom elements detection
2017-03-09 12:15:08 +11:00
Lukas Oppermann
58587aef6d add custom elements detection 2017-02-22 07:54:50 +01:00
Chris Ruppel
2a0044b4c1 Feature detect: CSS Transforms Level 2 2016-10-12 14:27:41 +02:00
Cameron Chamberlain
5eea7e2a21 Remove duplicates from config-all.json (#2066) 2016-09-04 22:50:15 -07:00
Florian Mailliet
a9d042056d Add video crossOrigin detect 2016-08-04 10:56:54 -07:00
Patrick Kettner
681d565742 add detects for hover and pointer mediq queries
fixes #664
2016-07-15 04:34:27 +02:00
patrick kettner
1909ce336c Create messagechannel.js (#2026) 2016-07-12 01:00:20 -07:00
Rick Byers
5785b8a1bb Add detect for passive event listeners (#1982)
* First attempt at passive event listeners detect

* Fix string style

* Fix whitespace
2016-05-18 12:40:43 +02:00
Scott Addie
274788baf7 Remove duplicate img/jpeg2000 feature-detects entry (#1964) 2016-04-25 22:35:58 -04:00
Cătălin Mariș
c7a15ef860 Add test for the URLSearchParams API
Ref: https://url.spec.whatwg.org/#interface-urlsearchparams
2016-02-17 19:31:28 +02:00
Patrick Kettner
8093fc0859 add detect for css snap points 2015-11-27 02:50:39 -08:00
EricWVGG
a7bbc0c188 jpeg 2000 detection 2015-11-27 01:42:47 -08:00
Patrick Kettner
a39b685c90 add image crossOrigin detect 2015-11-26 20:00:58 -08:00
Patrick Kettner
b1115ea432 add detect for font ligatures 2015-11-26 19:26:01 -08:00
Ron Waldon
88edf3eaa2 feature-detect for ES6 Map, Set, WeakMap and WeakSet 2015-11-27 13:11:42 +11:00