mirror of
https://github.com/Modernizr/Modernizr.git
synced 2026-01-09 15:47:55 -05:00
Cleanup caniuse tags and other properties (#2388)
* Add missing mappings to caniuse * Cleanup properties and caniuse tags
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
{
|
||||
"name": "canvas blending support",
|
||||
"property": "canvasblending",
|
||||
"caniuse": "canvas-blending",
|
||||
"tags": ["canvas"],
|
||||
"notes": [{
|
||||
"name": "W3C Spec",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*!
|
||||
{
|
||||
"name": "CSS Custom Properties",
|
||||
"property": "csscustomproperties",
|
||||
"property": "customproperties",
|
||||
"caniuse": "css-variables",
|
||||
"tags": ["css"],
|
||||
"builderAliases": ["css_customproperties"],
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
"name": "ES5 Strict Mode",
|
||||
"property": "strictmode",
|
||||
"caniuse": "strict-mode",
|
||||
"caniuse": "use-strict",
|
||||
"notes": [{
|
||||
"name": "ECMAScript 5.1 Language Specification",
|
||||
"href": "https://www.ecma-international.org/ecma-262/5.1/"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*!
|
||||
{
|
||||
"name": "Message Channel",
|
||||
"property": "MessageChannel",
|
||||
"property": "messagechannel",
|
||||
"authors": ["Raju Konga (@kongaraju)"],
|
||||
"caniuse": "channel-messaging",
|
||||
"tags": ["performance", "messagechannel"],
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
/*!
|
||||
{
|
||||
"authors": ["Cătălin Mariș"],
|
||||
"caniuse": "proximity",
|
||||
"name": "Proximity API",
|
||||
"property": "proximity",
|
||||
"authors": ["Cătălin Mariș"],
|
||||
"tags": ["events", "proximity"],
|
||||
"caniuse": "proximity",
|
||||
"notes": [{
|
||||
"name": "MDN Docs",
|
||||
"href": "https://developer.mozilla.org/en-US/docs/Web/API/Proximity_Events"
|
||||
},{
|
||||
"name": "W3C Spec",
|
||||
"href": "https://www.w3.org/TR/proximity/"
|
||||
}],
|
||||
"property": "proximity",
|
||||
"tags": ["events", "proximity"]
|
||||
}]
|
||||
}
|
||||
!*/
|
||||
/* DOC
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
{
|
||||
"name": "VML",
|
||||
"property": "vml",
|
||||
"caniuse": "vml",
|
||||
"tags": ["vml"],
|
||||
"authors": ["Craig Andrews (@candrews)"],
|
||||
"notes": [{
|
||||
|
||||
@@ -16,26 +16,33 @@ window.caniusecb = function(caniuse) {
|
||||
apng: 'apng',
|
||||
appearance: 'css-appearance',
|
||||
applicationcache: 'offline-apps',
|
||||
atobbtoa: 'atob-btoa',
|
||||
audio: 'audio',
|
||||
backdropfilter: 'css-backdrop-filter',
|
||||
backgroundblendmode: 'css-backgroundblendmode',
|
||||
blobconstructor: 'blobbuilder',
|
||||
bloburls: 'bloburls',
|
||||
borderimage: 'border-image',
|
||||
borderradius: 'border-radius',
|
||||
boxdecorationbreak: 'css-boxdecorationbreak',
|
||||
boxshadow: 'css-boxshadow',
|
||||
boxsizing: 'css3-boxsizing',
|
||||
canvas: 'canvas',
|
||||
canvasblending: 'canvas-blending',
|
||||
canvastext: 'canvas-text',
|
||||
checked: 'css-sel3',
|
||||
classlist: 'classlist',
|
||||
contenteditable: 'contenteditable',
|
||||
contextmenu: 'menu',
|
||||
cors: 'cors',
|
||||
cryptography: 'cryptography',
|
||||
cssanimations: 'css-animation',
|
||||
csscalc: 'calc',
|
||||
csscolumns: 'multicolumn',
|
||||
cssfilters: 'css-filters',
|
||||
cssgradients: 'css-gradients',
|
||||
csshyphens: 'css-hyphens',
|
||||
cssmask: 'css-masks',
|
||||
csspointerevents: 'pointer-events',
|
||||
csspositionsticky: 'css-sticky',
|
||||
cssreflections: 'css-reflections',
|
||||
@@ -48,17 +55,24 @@ window.caniusecb = function(caniuse) {
|
||||
cssvmaxunit: 'viewport-units',
|
||||
cssvminunit: 'viewport-units',
|
||||
cssvwunit: 'viewport-units',
|
||||
customproperties: 'css-variables',
|
||||
datalistelem: 'datalist',
|
||||
dataset: 'dataset',
|
||||
datauri: 'datauri',
|
||||
details: 'details',
|
||||
deviceorientation: 'deviceorientation',
|
||||
displaytable: 'css-table',
|
||||
ellipsis: 'text-overflow',
|
||||
eventsource: 'eventsource',
|
||||
fetch: 'fetch',
|
||||
fileinput: 'forms',
|
||||
filereader: 'fileapi',
|
||||
filesystem: 'filesystem',
|
||||
flexbox: 'flexbox',
|
||||
flexboxlegacy: 'flexbox',
|
||||
flexboxtweener: 'flexbox',
|
||||
focuswithin: 'css-focus-visible',
|
||||
fontdisplay: 'css-font-rendering-controls',
|
||||
fontface: 'fontface',
|
||||
formvalidationapi: 'form-validation',
|
||||
fullscreen: 'fullscreen',
|
||||
@@ -74,15 +88,21 @@ window.caniusecb = function(caniuse) {
|
||||
indexeddb: 'indexeddb',
|
||||
inlinesvg: 'svg-html5',
|
||||
inputtypes: 'forms',
|
||||
intersectionobserver: 'intersectionobserver',
|
||||
jpegxr: 'jpegxr',
|
||||
jpeg2000: 'jpeg2000',
|
||||
json: 'json',
|
||||
lastchild: 'css-sel3',
|
||||
ligatures: 'font-feature',
|
||||
localstorage: 'namevalue-storage',
|
||||
mathml: 'mathml',
|
||||
mediaqueries: 'css-mediaqueries',
|
||||
mediasource: 'mediasource',
|
||||
messagechannel: 'channel-messaging',
|
||||
meter: 'progress',
|
||||
multiplebgs: 'multibackgrounds',
|
||||
mutationobserver: 'mutationobserver',
|
||||
nthchild: 'css-sel3',
|
||||
notification: 'notifications',
|
||||
objectfit: 'object-fit',
|
||||
opacity: 'css-opacity',
|
||||
@@ -92,6 +112,7 @@ window.caniusecb = function(caniuse) {
|
||||
postmessage: 'x-doc-messaging',
|
||||
progressbar: 'progress',
|
||||
promises: 'promises',
|
||||
proximity: 'proximity',
|
||||
queryselector: 'queryselector',
|
||||
regions: 'css-regions',
|
||||
requestanimationframe: 'requestanimationframe',
|
||||
@@ -103,16 +124,21 @@ window.caniusecb = function(caniuse) {
|
||||
seamless: 'iframe-seamless',
|
||||
shapes: 'css-shapes',
|
||||
sharedworkers: 'sharedworkers',
|
||||
siblinggeneral: 'css-sel3',
|
||||
smil: 'svg-smil',
|
||||
srcset: 'srcset',
|
||||
strictmode: 'use-strict',
|
||||
stylescoped: 'style-scoped',
|
||||
supports: 'css-featurequeries',
|
||||
svg: 'svg',
|
||||
svgasimg: 'svg-img',
|
||||
svgfilters: 'svg-filters',
|
||||
target: 'css-sel3',
|
||||
template: 'template',
|
||||
textalignlast: 'css-text-align-last',
|
||||
textdecoration: 'text-decoration',
|
||||
textshadow: 'css-textshadow',
|
||||
touchevents: 'touch',
|
||||
typedarrays: 'typedarrays',
|
||||
unicoderange: 'font-unicode-range',
|
||||
userselect: 'user-select-none',
|
||||
|
||||
Reference in New Issue
Block a user