2633 Commits

Author SHA1 Message Date
Veeck
0f9b9eba7a Cleanups (#2340)
* cleanups
2018-07-02 21:44:36 -07:00
Veeck
f2b68dd8c1 Correctly define prefixes, fixes #2119 (#2341) 2018-07-02 21:43:35 -07:00
Veeck
9bae119d57 Update dependencies, Remove unused greenkeeper entry 2018-07-02 16:46:48 +02:00
Steffen Weber
c5ffa86ccf IndexedDB: Fix InvalidStateError and UnknownError in Firefox (#2337)
In Firefox, the method "IDBFactory.open()" can raise an asynchronous
error that can only be supressed by calling "event.preventDefault()".

https://bugzilla.mozilla.org/show_bug.cgi?id=1331103#c3

https://stackoverflow.com/q/13972385
2018-06-29 08:28:01 -07:00
Veeck
d3564b1b6c Fixed some define tags (#2334) 2018-06-29 14:27:42 +02:00
Veeck
9ee04d2426 Js doc cleanup (#2333)
* Cleanup note tags

* Lots of http -> https conversions

* Misc cleanups

* Review changes
2018-06-29 14:00:26 +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
André
896a21f095 Feature detection for formNoValidate attribute on inputs. (#2164) 2018-06-14 11:28:44 -07:00
André
bc829ef5ee Fix for input-formtarget detection. "T" in target must be uppercase, like formEnctype and formAction already are. (#2163) 2018-06-12 10:44:17 +02:00
Veeck
1ff76bde19 Dependency updates (#2317)
* Update dependencies
2018-06-11 10:20:19 -07:00
Veeck
400db4043c Replace == with === (#2329)
* Replace == with ===

* Replace != with !===

* Undo changes in library
2018-06-09 19:36:20 +02:00
Veeck
786be6abbd Add test for text-decoration-skip-ink (#2324) 2018-06-06 18:07:38 -07:00
Veeck
630b7e6c42 Fix #2325 (#2326) 2018-06-06 18:07:06 -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
c666b0cdc3 Fix link to article (#2252) 2018-05-31 18:09:19 +02:00
Veeck
3ca052e6ba Fix webanimations property (#2276) (#2320) 2018-05-31 15:07:12 +02:00
Anne van Kesteren
59c57ec5b2 Remove some no-op code in webgl.js (#2318)
Fixes #2300.
2018-05-31 14:21:27 +02:00
Veeck
f933bf7ebe Add task to serve test-directory for test results 2018-05-31 13:32:38 +02:00
Michael Hadam
b8ac7bf0e7 Passive event listener detection causes error for EdgeHTML 15 (close #2298) (#2299) 2018-05-28 18:30:15 +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
87c8b22d20 Add start script 2018-05-23 15:58:25 +02:00
Veeck
83f843bba3 Update devDependencies 2018-05-23 15:58:24 +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
abrad1212
48c7d251bb Add detect for the GetBattery API (#2312)
* Update battery.js to the new standard.
2018-05-23 15:58:24 +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
Veeck
745901716f Cleanup and Update some dependencies (#2294)
* Update dependencies (except jade and eslint), add yarn.lock
2018-05-23 15:58:24 +02:00
Emilio Cobos Álvarez
33916c94dd touchevents: Use mq in touch event detection. (#2309)
* touchevents: Use mq in touch event detection.

testStyles is unnecessarily slow if the browser supports matchMedia.

* hovermq: remove stray parenthesis.
2018-05-23 15:58:24 +02:00
Patrick Kettner
9120b2214d tag 3.6.0 v3.6.0 2018-03-05 11:04:56 +09:00
Chris Lienert
a9369b031d Brought across @myakura's code changes to fix #1812 (#2250) 2018-03-05 10:59:50 +09:00
Jason Eberle
baab13f486 Use roundedEquals to test vw and vh units (#2264) 2018-03-05 10:58:55 +09:00
Bobby Holley
0239cb14df Remove ancient (and expensive) logic for verifying CSS transform support. (#2291)
This code was added in 2009 via [1] to work around a false-positive in WebKit.
Per [2] both Safari and Chrome have supported transforms since 2009 and 2011
respectively, and current global usage of earlier versions of those products
is negligible. Also note that this code originally attempted to limit itself
to WebKit, but the prefixed properties it detects have since been standardized
and implemented in all browsers.

This code is responsible for significant slowdowns (in the tens of tens of
milliseconds) when loading CNN.

[1] https://github.com/Modernizr/Modernizr/issues/15
[2] https://caniuse.com/#search=perspective
2018-03-05 10:39:43 +09:00
Oliver Joseph Ash
d4f565133b Add test for CSS :focus-within pseudo-selector (#2287)
Fixes https://github.com/Modernizr/Modernizr/issues/2270
2018-02-08 23:01:39 +00:00
Veeck
e6aafdec12 Update version number in License file (#2279)
Fixes https://github.com/Modernizr/Modernizr/issues/2165
2018-01-30 08:56:19 -08:00
Gareste
0cbd75c41b Ensure elem.parentNode exists before remove its child (#2274) 2018-01-04 19:55:08 -08:00
Tim Kraut
d5f881a4de Fix typo (#2243) 2017-09-06 22:55:06 +02:00
patrick kettner
4b01e640d0 add detect for variable fonts (#2202) 2017-07-28 21:08:22 -07:00
Philipp Simon Schmidt
bfd4b3f1b9 set fitting npm version according to nodejs version (and add nodejs 4, 6, 8) (#2222) 2017-07-28 11:18:03 -07:00
Patrick H. Lauke
b335b0ff71 Remove hand.js polyfill, expand notes/description for Pointer Events (#2218)
* hand.js is outdated (not modified since 2014, and codeplex is now
obsolete)
* pointer to MDN documentation and PE Level 2
* expand description with regards to browser support (Gecko is currently
experimental)

.
2017-06-12 23:33:41 +02:00
Lufty Wiranda
80db109fec chore(readme): fix missing COC link (#2211) 2017-06-06 19:40:28 -05:00
Miles Disch
b822492b79 Update autoplay.js (#2207) 2017-05-17 20:46:09 -07:00
strarsis
78b29cddbc Update hairline.js (#2198) 2017-05-14 00:11:40 -07:00
Faruk Ates
7db55bbfa9 v3.5.0 v3.5.0 2017-04-13 13:59:47 -07:00
Faruk Ateş
483bcc3b94 Merge pull request #2175 from Modernizr/greenkeeper-yargs-7.0.2
Update yargs to version 7.0.2 🚀
2017-04-13 13:37:40 -07:00
Faruk Ateş
6ee39b9c99 Merge pull request #2189 from Modernizr/feature/css-grid
Add CSS Grid test for old & new syntaxes
2017-04-13 13:36:12 -07:00
Faruk Ateş
afbffbfec9 Merge pull request #2188 from Modernizr/greenkeeper-grunt-contrib-clean-1.1.0
Update grunt-contrib-clean to version 1.1.0 🚀
2017-04-13 13:32:25 -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
Faruk Ates
37935b5d76 Comma lost its way, but eventually found its home
Probably better not to make builds fail.
2017-04-12 17:49:08 -07:00
Faruk Ates
6aab916ac2 Add CSS Grid test for old & new syntaxes
While CSS Grid gets rolled out, it’s useful to have a way to target
IE11 which does not support @supports() but does support old CSS Grid
syntax, as does the new IE14.
2017-04-12 17:45:31 -07:00
greenkeeperio-bot
cbf6033922 chore(package): update grunt-contrib-clean to version 1.1.0
https://greenkeeper.io/
2017-04-12 17:42:46 -07:00
Rob Larsen
bc91ca91a1 adds PEP to pointer events (#2179)
PEP (Pointer Events Polyfill) should probably be lsited as a polyfill
for pointer events
2017-03-23 20:45:30 -04:00