Начат фронтенд
This commit is contained in:
382
node_modules/autoprefixer/data/prefixes.js
generated
vendored
382
node_modules/autoprefixer/data/prefixes.js
generated
vendored
@@ -68,9 +68,9 @@ f(prefixBorderRadius, browsers =>
|
||||
'border-bottom-left-radius'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
mistakes: ['-khtml-', '-ms-', '-o-'],
|
||||
feature: 'border-radius',
|
||||
mistakes: ['-khtml-', '-ms-', '-o-']
|
||||
browsers
|
||||
}
|
||||
)
|
||||
)
|
||||
@@ -80,9 +80,9 @@ let prefixBoxshadow = require('caniuse-lite/data/features/css-boxshadow')
|
||||
|
||||
f(prefixBoxshadow, browsers =>
|
||||
prefix(['box-shadow'], {
|
||||
browsers,
|
||||
mistakes: ['-khtml-'],
|
||||
feature: 'css-boxshadow',
|
||||
mistakes: ['-khtml-']
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -104,9 +104,9 @@ f(prefixAnimation, browsers =>
|
||||
'@keyframes'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
mistakes: ['-khtml-', '-ms-'],
|
||||
feature: 'css-animation',
|
||||
mistakes: ['-khtml-', '-ms-']
|
||||
browsers
|
||||
}
|
||||
)
|
||||
)
|
||||
@@ -124,9 +124,9 @@ f(prefixTransition, browsers =>
|
||||
'transition-timing-function'
|
||||
],
|
||||
{
|
||||
mistakes: ['-khtml-', '-ms-'],
|
||||
browsers,
|
||||
feature: 'css-transitions',
|
||||
mistakes: ['-khtml-', '-ms-']
|
||||
feature: 'css-transitions'
|
||||
}
|
||||
)
|
||||
)
|
||||
@@ -136,8 +136,8 @@ let prefixTransform2d = require('caniuse-lite/data/features/transforms2d')
|
||||
|
||||
f(prefixTransform2d, browsers =>
|
||||
prefix(['transform', 'transform-origin'], {
|
||||
browsers,
|
||||
feature: 'transforms2d'
|
||||
feature: 'transforms2d',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -146,21 +146,21 @@ let prefixTransforms3d = require('caniuse-lite/data/features/transforms3d')
|
||||
|
||||
f(prefixTransforms3d, browsers => {
|
||||
prefix(['perspective', 'perspective-origin'], {
|
||||
browsers,
|
||||
feature: 'transforms3d'
|
||||
feature: 'transforms3d',
|
||||
browsers
|
||||
})
|
||||
return prefix(['transform-style'], {
|
||||
mistakes: ['-ms-', '-o-'],
|
||||
browsers,
|
||||
feature: 'transforms3d',
|
||||
mistakes: ['-ms-', '-o-']
|
||||
feature: 'transforms3d'
|
||||
})
|
||||
})
|
||||
|
||||
f(prefixTransforms3d, { match: /y\sx|y\s#2/ }, browsers =>
|
||||
prefix(['backface-visibility'], {
|
||||
browsers,
|
||||
mistakes: ['-ms-', '-o-'],
|
||||
feature: 'transforms3d',
|
||||
mistakes: ['-ms-', '-o-']
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -176,9 +176,6 @@ f(prefixGradients, { match: /y\sx/ }, browsers =>
|
||||
'repeating-radial-gradient'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
feature: 'css-gradients',
|
||||
mistakes: ['-ms-'],
|
||||
props: [
|
||||
'background',
|
||||
'background-image',
|
||||
@@ -188,7 +185,10 @@ f(prefixGradients, { match: /y\sx/ }, browsers =>
|
||||
'list-style-image',
|
||||
'content',
|
||||
'mask-image'
|
||||
]
|
||||
],
|
||||
mistakes: ['-ms-'],
|
||||
feature: 'css-gradients',
|
||||
browsers
|
||||
}
|
||||
)
|
||||
)
|
||||
@@ -209,8 +209,8 @@ f(prefixGradients, { match: /a\sx/ }, browsers => {
|
||||
'repeating-radial-gradient'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
feature: 'css-gradients'
|
||||
feature: 'css-gradients',
|
||||
browsers
|
||||
}
|
||||
)
|
||||
})
|
||||
@@ -220,8 +220,8 @@ let prefixBoxsizing = require('caniuse-lite/data/features/css3-boxsizing')
|
||||
|
||||
f(prefixBoxsizing, browsers =>
|
||||
prefix(['box-sizing'], {
|
||||
browsers,
|
||||
feature: 'css3-boxsizing'
|
||||
feature: 'css3-boxsizing',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -230,8 +230,8 @@ let prefixFilters = require('caniuse-lite/data/features/css-filters')
|
||||
|
||||
f(prefixFilters, browsers =>
|
||||
prefix(['filter'], {
|
||||
browsers,
|
||||
feature: 'css-filters'
|
||||
feature: 'css-filters',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -240,8 +240,6 @@ let prefixFilterFunction = require('caniuse-lite/data/features/css-filter-functi
|
||||
|
||||
f(prefixFilterFunction, browsers =>
|
||||
prefix(['filter-function'], {
|
||||
browsers,
|
||||
feature: 'css-filter-function',
|
||||
props: [
|
||||
'background',
|
||||
'background-image',
|
||||
@@ -251,17 +249,19 @@ f(prefixFilterFunction, browsers =>
|
||||
'list-style-image',
|
||||
'content',
|
||||
'mask-image'
|
||||
]
|
||||
],
|
||||
feature: 'css-filter-function',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
// Backdrop-filter
|
||||
let prefixBackdropFilter = require('caniuse-lite/data/features/css-backdrop-filter')
|
||||
let prefixBackdrop = require('caniuse-lite/data/features/css-backdrop-filter')
|
||||
|
||||
f(prefixBackdropFilter, { match: /y\sx|y\s#2/ }, browsers =>
|
||||
f(prefixBackdrop, { match: /y\sx|y\s#2/ }, browsers =>
|
||||
prefix(['backdrop-filter'], {
|
||||
browsers,
|
||||
feature: 'css-backdrop-filter'
|
||||
feature: 'css-backdrop-filter',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -270,8 +270,6 @@ let prefixElementFunction = require('caniuse-lite/data/features/css-element-func
|
||||
|
||||
f(prefixElementFunction, browsers =>
|
||||
prefix(['element'], {
|
||||
browsers,
|
||||
feature: 'css-element-function',
|
||||
props: [
|
||||
'background',
|
||||
'background-image',
|
||||
@@ -281,7 +279,9 @@ f(prefixElementFunction, browsers =>
|
||||
'list-style-image',
|
||||
'content',
|
||||
'mask-image'
|
||||
]
|
||||
],
|
||||
feature: 'css-element-function',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -303,15 +303,15 @@ f(prefixMulticolumns, browsers => {
|
||||
'column-fill'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
feature: 'multicolumn'
|
||||
feature: 'multicolumn',
|
||||
browsers
|
||||
}
|
||||
)
|
||||
|
||||
let noff = browsers.filter(i => !/firefox/.test(i))
|
||||
prefix(['break-before', 'break-after', 'break-inside'], {
|
||||
browsers: noff,
|
||||
feature: 'multicolumn'
|
||||
feature: 'multicolumn',
|
||||
browsers: noff
|
||||
})
|
||||
})
|
||||
|
||||
@@ -320,9 +320,9 @@ let prefixUserSelect = require('caniuse-lite/data/features/user-select-none')
|
||||
|
||||
f(prefixUserSelect, browsers =>
|
||||
prefix(['user-select'], {
|
||||
browsers,
|
||||
mistakes: ['-khtml-'],
|
||||
feature: 'user-select-none',
|
||||
mistakes: ['-khtml-']
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -338,13 +338,13 @@ f(prefixFlexbox, { match: /a\sx/ }, browsers => {
|
||||
}
|
||||
})
|
||||
prefix(['display-flex', 'inline-flex'], {
|
||||
browsers,
|
||||
props: ['display'],
|
||||
feature: 'flexbox',
|
||||
props: ['display']
|
||||
browsers
|
||||
})
|
||||
prefix(['flex', 'flex-grow', 'flex-shrink', 'flex-basis'], {
|
||||
browsers,
|
||||
feature: 'flexbox'
|
||||
feature: 'flexbox',
|
||||
browsers
|
||||
})
|
||||
prefix(
|
||||
[
|
||||
@@ -358,20 +358,20 @@ f(prefixFlexbox, { match: /a\sx/ }, browsers => {
|
||||
'align-content'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
feature: 'flexbox'
|
||||
feature: 'flexbox',
|
||||
browsers
|
||||
}
|
||||
)
|
||||
})
|
||||
|
||||
f(prefixFlexbox, { match: /y\sx/ }, browsers => {
|
||||
add(['display-flex', 'inline-flex'], {
|
||||
browsers,
|
||||
feature: 'flexbox'
|
||||
feature: 'flexbox',
|
||||
browsers
|
||||
})
|
||||
add(['flex', 'flex-grow', 'flex-shrink', 'flex-basis'], {
|
||||
browsers,
|
||||
feature: 'flexbox'
|
||||
feature: 'flexbox',
|
||||
browsers
|
||||
})
|
||||
add(
|
||||
[
|
||||
@@ -385,8 +385,8 @@ f(prefixFlexbox, { match: /y\sx/ }, browsers => {
|
||||
'align-content'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
feature: 'flexbox'
|
||||
feature: 'flexbox',
|
||||
browsers
|
||||
}
|
||||
)
|
||||
})
|
||||
@@ -396,9 +396,9 @@ let prefixCalc = require('caniuse-lite/data/features/calc')
|
||||
|
||||
f(prefixCalc, browsers =>
|
||||
prefix(['calc'], {
|
||||
browsers,
|
||||
props: ['*'],
|
||||
feature: 'calc',
|
||||
props: ['*']
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -407,8 +407,8 @@ let prefixBackgroundOptions = require('caniuse-lite/data/features/background-img
|
||||
|
||||
f(prefixBackgroundOptions, browsers =>
|
||||
prefix(['background-origin', 'background-size'], {
|
||||
browsers,
|
||||
feature: 'background-img-opts'
|
||||
feature: 'background-img-opts',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -417,8 +417,8 @@ let prefixBackgroundClipText = require('caniuse-lite/data/features/background-cl
|
||||
|
||||
f(prefixBackgroundClipText, browsers =>
|
||||
prefix(['background-clip'], {
|
||||
browsers,
|
||||
feature: 'background-clip-text'
|
||||
feature: 'background-clip-text',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -433,8 +433,8 @@ f(prefixFontFeature, browsers =>
|
||||
'font-language-override'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
feature: 'font-feature'
|
||||
feature: 'font-feature',
|
||||
browsers
|
||||
}
|
||||
)
|
||||
)
|
||||
@@ -444,8 +444,8 @@ let prefixFontKerning = require('caniuse-lite/data/features/font-kerning')
|
||||
|
||||
f(prefixFontKerning, browsers =>
|
||||
prefix(['font-kerning'], {
|
||||
browsers,
|
||||
feature: 'font-kerning'
|
||||
feature: 'font-kerning',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -454,8 +454,8 @@ let prefixBorderImage = require('caniuse-lite/data/features/border-image')
|
||||
|
||||
f(prefixBorderImage, browsers =>
|
||||
prefix(['border-image'], {
|
||||
browsers,
|
||||
feature: 'border-image'
|
||||
feature: 'border-image',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -464,9 +464,9 @@ let prefixSelection = require('caniuse-lite/data/features/css-selection')
|
||||
|
||||
f(prefixSelection, browsers =>
|
||||
prefix(['::selection'], {
|
||||
browsers,
|
||||
selector: true,
|
||||
feature: 'css-selection',
|
||||
selector: true
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -475,9 +475,9 @@ let prefixPlaceholder = require('caniuse-lite/data/features/css-placeholder')
|
||||
|
||||
f(prefixPlaceholder, browsers => {
|
||||
prefix(['::placeholder'], {
|
||||
browsers: browsers.concat(['ie 10 old', 'ie 11 old', 'firefox 18 old']),
|
||||
selector: true,
|
||||
feature: 'css-placeholder',
|
||||
selector: true
|
||||
browsers: browsers.concat(['ie 10 old', 'ie 11 old', 'firefox 18 old'])
|
||||
})
|
||||
})
|
||||
|
||||
@@ -486,9 +486,9 @@ let prefixPlaceholderShown = require('caniuse-lite/data/features/css-placeholder
|
||||
|
||||
f(prefixPlaceholderShown, browsers => {
|
||||
prefix([':placeholder-shown'], {
|
||||
browsers,
|
||||
selector: true,
|
||||
feature: 'css-placeholder-shown',
|
||||
selector: true
|
||||
browsers
|
||||
})
|
||||
})
|
||||
|
||||
@@ -497,8 +497,8 @@ let prefixHyphens = require('caniuse-lite/data/features/css-hyphens')
|
||||
|
||||
f(prefixHyphens, browsers =>
|
||||
prefix(['hyphens'], {
|
||||
browsers,
|
||||
feature: 'css-hyphens'
|
||||
feature: 'css-hyphens',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -507,21 +507,17 @@ let prefixFullscreen = require('caniuse-lite/data/features/fullscreen')
|
||||
|
||||
f(prefixFullscreen, browsers =>
|
||||
prefix([':fullscreen'], {
|
||||
browsers,
|
||||
selector: true,
|
||||
feature: 'fullscreen',
|
||||
selector: true
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
// ::backdrop pseudo-element
|
||||
// https://caniuse.com/mdn-css_selectors_backdrop
|
||||
let prefixBackdrop = require('caniuse-lite/data/features/mdn-css-backdrop-pseudo-element')
|
||||
|
||||
f(prefixBackdrop, browsers =>
|
||||
f(prefixFullscreen, { match: /x(\s#2|$)/ }, browsers =>
|
||||
prefix(['::backdrop'], {
|
||||
browsers,
|
||||
feature: 'backdrop',
|
||||
selector: true
|
||||
selector: true,
|
||||
feature: 'fullscreen',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -530,9 +526,9 @@ let prefixFileSelectorButton = require('caniuse-lite/data/features/css-file-sele
|
||||
|
||||
f(prefixFileSelectorButton, browsers =>
|
||||
prefix(['::file-selector-button'], {
|
||||
browsers,
|
||||
selector: true,
|
||||
feature: 'file-selector-button',
|
||||
selector: true
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -541,9 +537,9 @@ let prefixAutofill = require('caniuse-lite/data/features/css-autofill')
|
||||
|
||||
f(prefixAutofill, browsers =>
|
||||
prefix([':autofill'], {
|
||||
browsers,
|
||||
selector: true,
|
||||
feature: 'css-autofill',
|
||||
selector: true
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -552,8 +548,8 @@ let prefixTabsize = require('caniuse-lite/data/features/css3-tabsize')
|
||||
|
||||
f(prefixTabsize, browsers =>
|
||||
prefix(['tab-size'], {
|
||||
browsers,
|
||||
feature: 'css3-tabsize'
|
||||
feature: 'css3-tabsize',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -583,35 +579,27 @@ let sizeProps = [
|
||||
|
||||
f(prefixIntrinsic, browsers =>
|
||||
prefix(['max-content', 'min-content'], {
|
||||
browsers,
|
||||
props: sizeProps,
|
||||
feature: 'intrinsic-width',
|
||||
props: sizeProps
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
f(prefixIntrinsic, { match: /x|\s#4/ }, browsers =>
|
||||
prefix(['fill', 'fill-available'], {
|
||||
browsers,
|
||||
props: sizeProps,
|
||||
feature: 'intrinsic-width',
|
||||
props: sizeProps
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
f(prefixIntrinsic, { match: /x|\s#5/ }, browsers => {
|
||||
let ffFix = browsers.filter(i => {
|
||||
let [name, version] = i.split(' ')
|
||||
if (name === 'firefox' || name === 'and_ff') {
|
||||
return parseInt(version) < 94
|
||||
} else {
|
||||
return true
|
||||
}
|
||||
})
|
||||
return prefix(['fit-content'], {
|
||||
browsers: ffFix,
|
||||
f(prefixIntrinsic, { match: /x|\s#5/ }, browsers =>
|
||||
prefix(['fit-content'], {
|
||||
props: sizeProps,
|
||||
feature: 'intrinsic-width',
|
||||
props: sizeProps
|
||||
browsers
|
||||
})
|
||||
})
|
||||
)
|
||||
|
||||
// Stretch value
|
||||
|
||||
@@ -619,9 +607,9 @@ let prefixStretch = require('caniuse-lite/data/features/css-width-stretch')
|
||||
|
||||
f(prefixStretch, browsers =>
|
||||
prefix(['stretch'], {
|
||||
browsers,
|
||||
props: sizeProps,
|
||||
feature: 'css-width-stretch',
|
||||
props: sizeProps
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -630,9 +618,9 @@ let prefixCursorsNewer = require('caniuse-lite/data/features/css3-cursors-newer'
|
||||
|
||||
f(prefixCursorsNewer, browsers =>
|
||||
prefix(['zoom-in', 'zoom-out'], {
|
||||
browsers,
|
||||
props: ['cursor'],
|
||||
feature: 'css3-cursors-newer',
|
||||
props: ['cursor']
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -641,9 +629,9 @@ let prefixCursorsGrab = require('caniuse-lite/data/features/css3-cursors-grab')
|
||||
|
||||
f(prefixCursorsGrab, browsers =>
|
||||
prefix(['grab', 'grabbing'], {
|
||||
browsers,
|
||||
props: ['cursor'],
|
||||
feature: 'css3-cursors-grab',
|
||||
props: ['cursor']
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -652,9 +640,9 @@ let prefixSticky = require('caniuse-lite/data/features/css-sticky')
|
||||
|
||||
f(prefixSticky, browsers =>
|
||||
prefix(['sticky'], {
|
||||
browsers,
|
||||
props: ['position'],
|
||||
feature: 'css-sticky',
|
||||
props: ['position']
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -663,8 +651,8 @@ let prefixPointer = require('caniuse-lite/data/features/pointer')
|
||||
|
||||
f(prefixPointer, browsers =>
|
||||
prefix(['touch-action'], {
|
||||
browsers,
|
||||
feature: 'pointer'
|
||||
feature: 'pointer',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -673,8 +661,8 @@ let prefixDecoration = require('caniuse-lite/data/features/text-decoration')
|
||||
|
||||
f(prefixDecoration, { match: /x.*#[235]/ }, browsers =>
|
||||
prefix(['text-decoration-skip', 'text-decoration-skip-ink'], {
|
||||
browsers,
|
||||
feature: 'text-decoration'
|
||||
feature: 'text-decoration',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -682,8 +670,8 @@ let prefixDecorationShorthand = require('caniuse-lite/data/features/mdn-text-dec
|
||||
|
||||
f(prefixDecorationShorthand, browsers =>
|
||||
prefix(['text-decoration'], {
|
||||
browsers,
|
||||
feature: 'text-decoration'
|
||||
feature: 'text-decoration',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -691,8 +679,8 @@ let prefixDecorationColor = require('caniuse-lite/data/features/mdn-text-decorat
|
||||
|
||||
f(prefixDecorationColor, browsers =>
|
||||
prefix(['text-decoration-color'], {
|
||||
browsers,
|
||||
feature: 'text-decoration'
|
||||
feature: 'text-decoration',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -700,8 +688,8 @@ let prefixDecorationLine = require('caniuse-lite/data/features/mdn-text-decorati
|
||||
|
||||
f(prefixDecorationLine, browsers =>
|
||||
prefix(['text-decoration-line'], {
|
||||
browsers,
|
||||
feature: 'text-decoration'
|
||||
feature: 'text-decoration',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -709,8 +697,8 @@ let prefixDecorationStyle = require('caniuse-lite/data/features/mdn-text-decorat
|
||||
|
||||
f(prefixDecorationStyle, browsers =>
|
||||
prefix(['text-decoration-style'], {
|
||||
browsers,
|
||||
feature: 'text-decoration'
|
||||
feature: 'text-decoration',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -719,8 +707,8 @@ let prefixTextSizeAdjust = require('caniuse-lite/data/features/text-size-adjust'
|
||||
|
||||
f(prefixTextSizeAdjust, browsers =>
|
||||
prefix(['text-size-adjust'], {
|
||||
browsers,
|
||||
feature: 'text-size-adjust'
|
||||
feature: 'text-size-adjust',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -739,8 +727,8 @@ f(prefixCssMasks, browsers => {
|
||||
'mask-border-source'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
feature: 'css-masks'
|
||||
feature: 'css-masks',
|
||||
browsers
|
||||
}
|
||||
)
|
||||
prefix(
|
||||
@@ -754,8 +742,8 @@ f(prefixCssMasks, browsers => {
|
||||
'mask-border-slice'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
feature: 'css-masks'
|
||||
feature: 'css-masks',
|
||||
browsers
|
||||
}
|
||||
)
|
||||
})
|
||||
@@ -765,8 +753,8 @@ let prefixClipPath = require('caniuse-lite/data/features/css-clip-path')
|
||||
|
||||
f(prefixClipPath, browsers =>
|
||||
prefix(['clip-path'], {
|
||||
browsers,
|
||||
feature: 'css-clip-path'
|
||||
feature: 'css-clip-path',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -775,8 +763,8 @@ let prefixBoxdecoration = require('caniuse-lite/data/features/css-boxdecorationb
|
||||
|
||||
f(prefixBoxdecoration, browsers =>
|
||||
prefix(['box-decoration-break'], {
|
||||
browsers,
|
||||
feature: 'css-boxdecorationbreak'
|
||||
feature: 'css-boxdecorationbreak',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -785,8 +773,8 @@ let prefixObjectFit = require('caniuse-lite/data/features/object-fit')
|
||||
|
||||
f(prefixObjectFit, browsers =>
|
||||
prefix(['object-fit', 'object-position'], {
|
||||
browsers,
|
||||
feature: 'object-fit'
|
||||
feature: 'object-fit',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -795,8 +783,8 @@ let prefixShapes = require('caniuse-lite/data/features/css-shapes')
|
||||
|
||||
f(prefixShapes, browsers =>
|
||||
prefix(['shape-margin', 'shape-outside', 'shape-image-threshold'], {
|
||||
browsers,
|
||||
feature: 'css-shapes'
|
||||
feature: 'css-shapes',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -805,8 +793,8 @@ let prefixTextOverflow = require('caniuse-lite/data/features/text-overflow')
|
||||
|
||||
f(prefixTextOverflow, browsers =>
|
||||
prefix(['text-overflow'], {
|
||||
browsers,
|
||||
feature: 'text-overflow'
|
||||
feature: 'text-overflow',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -815,8 +803,8 @@ let prefixDeviceadaptation = require('caniuse-lite/data/features/css-deviceadapt
|
||||
|
||||
f(prefixDeviceadaptation, browsers =>
|
||||
prefix(['@viewport'], {
|
||||
browsers,
|
||||
feature: 'css-deviceadaptation'
|
||||
feature: 'css-deviceadaptation',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -825,8 +813,8 @@ let prefixResolut = require('caniuse-lite/data/features/css-media-resolution')
|
||||
|
||||
f(prefixResolut, { match: /( x($| )|a #2)/ }, browsers =>
|
||||
prefix(['@resolution'], {
|
||||
browsers,
|
||||
feature: 'css-media-resolution'
|
||||
feature: 'css-media-resolution',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -835,8 +823,8 @@ let prefixTextAlignLast = require('caniuse-lite/data/features/css-text-align-las
|
||||
|
||||
f(prefixTextAlignLast, browsers =>
|
||||
prefix(['text-align-last'], {
|
||||
browsers,
|
||||
feature: 'css-text-align-last'
|
||||
feature: 'css-text-align-last',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -845,16 +833,16 @@ let prefixCrispedges = require('caniuse-lite/data/features/css-crisp-edges')
|
||||
|
||||
f(prefixCrispedges, { match: /y x|a x #1/ }, browsers =>
|
||||
prefix(['pixelated'], {
|
||||
browsers,
|
||||
props: ['image-rendering'],
|
||||
feature: 'css-crisp-edges',
|
||||
props: ['image-rendering']
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
f(prefixCrispedges, { match: /a x #2/ }, browsers =>
|
||||
prefix(['image-rendering'], {
|
||||
browsers,
|
||||
feature: 'css-crisp-edges'
|
||||
feature: 'css-crisp-edges',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -872,8 +860,8 @@ f(prefixLogicalProps, browsers =>
|
||||
'padding-inline-end'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
feature: 'css-logical-props'
|
||||
feature: 'css-logical-props',
|
||||
browsers
|
||||
}
|
||||
)
|
||||
)
|
||||
@@ -889,8 +877,8 @@ f(prefixLogicalProps, { match: /x\s#2/ }, browsers =>
|
||||
'padding-block-end'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
feature: 'css-logical-props'
|
||||
feature: 'css-logical-props',
|
||||
browsers
|
||||
}
|
||||
)
|
||||
)
|
||||
@@ -900,8 +888,8 @@ let prefixAppearance = require('caniuse-lite/data/features/css-appearance')
|
||||
|
||||
f(prefixAppearance, { match: /#2|x/ }, browsers =>
|
||||
prefix(['appearance'], {
|
||||
browsers,
|
||||
feature: 'css-appearance'
|
||||
feature: 'css-appearance',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -918,8 +906,8 @@ f(prefixSnappoints, browsers =>
|
||||
'scroll-snap-points-y'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
feature: 'css-snappoints'
|
||||
feature: 'css-snappoints',
|
||||
browsers
|
||||
}
|
||||
)
|
||||
)
|
||||
@@ -929,8 +917,8 @@ let prefixRegions = require('caniuse-lite/data/features/css-regions')
|
||||
|
||||
f(prefixRegions, browsers =>
|
||||
prefix(['flow-into', 'flow-from', 'region-fragment'], {
|
||||
browsers,
|
||||
feature: 'css-regions'
|
||||
feature: 'css-regions',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -939,8 +927,6 @@ let prefixImageSet = require('caniuse-lite/data/features/css-image-set')
|
||||
|
||||
f(prefixImageSet, browsers =>
|
||||
prefix(['image-set'], {
|
||||
browsers,
|
||||
feature: 'css-image-set',
|
||||
props: [
|
||||
'background',
|
||||
'background-image',
|
||||
@@ -951,7 +937,9 @@ f(prefixImageSet, browsers =>
|
||||
'list-style',
|
||||
'list-style-image',
|
||||
'content'
|
||||
]
|
||||
],
|
||||
feature: 'css-image-set',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -960,8 +948,8 @@ let prefixWritingMode = require('caniuse-lite/data/features/css-writing-mode')
|
||||
|
||||
f(prefixWritingMode, { match: /a|x/ }, browsers =>
|
||||
prefix(['writing-mode'], {
|
||||
browsers,
|
||||
feature: 'css-writing-mode'
|
||||
feature: 'css-writing-mode',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -970,8 +958,6 @@ let prefixCrossFade = require('caniuse-lite/data/features/css-cross-fade')
|
||||
|
||||
f(prefixCrossFade, browsers =>
|
||||
prefix(['cross-fade'], {
|
||||
browsers,
|
||||
feature: 'css-cross-fade',
|
||||
props: [
|
||||
'background',
|
||||
'background-image',
|
||||
@@ -981,7 +967,9 @@ f(prefixCrossFade, browsers =>
|
||||
'list-style-image',
|
||||
'content',
|
||||
'mask-image'
|
||||
]
|
||||
],
|
||||
feature: 'css-cross-fade',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -990,9 +978,9 @@ let prefixReadOnly = require('caniuse-lite/data/features/css-read-only-write')
|
||||
|
||||
f(prefixReadOnly, browsers =>
|
||||
prefix([':read-only', ':read-write'], {
|
||||
browsers,
|
||||
selector: true,
|
||||
feature: 'css-read-only-write',
|
||||
selector: true
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -1008,8 +996,8 @@ f(prefixTextEmphasis, browsers =>
|
||||
'text-emphasis-color'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
feature: 'text-emphasis'
|
||||
feature: 'text-emphasis',
|
||||
browsers
|
||||
}
|
||||
)
|
||||
)
|
||||
@@ -1019,9 +1007,9 @@ let prefixGrid = require('caniuse-lite/data/features/css-grid')
|
||||
|
||||
f(prefixGrid, browsers => {
|
||||
prefix(['display-grid', 'inline-grid'], {
|
||||
browsers,
|
||||
props: ['display'],
|
||||
feature: 'css-grid',
|
||||
props: ['display']
|
||||
browsers
|
||||
})
|
||||
prefix(
|
||||
[
|
||||
@@ -1039,16 +1027,16 @@ f(prefixGrid, browsers => {
|
||||
'place-self'
|
||||
],
|
||||
{
|
||||
browsers,
|
||||
feature: 'css-grid'
|
||||
feature: 'css-grid',
|
||||
browsers
|
||||
}
|
||||
)
|
||||
})
|
||||
|
||||
f(prefixGrid, { match: /a x/ }, browsers =>
|
||||
prefix(['grid-column-align', 'grid-row-align'], {
|
||||
browsers,
|
||||
feature: 'css-grid'
|
||||
feature: 'css-grid',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -1057,8 +1045,8 @@ let prefixTextSpacing = require('caniuse-lite/data/features/css-text-spacing')
|
||||
|
||||
f(prefixTextSpacing, browsers =>
|
||||
prefix(['text-spacing'], {
|
||||
browsers,
|
||||
feature: 'css-text-spacing'
|
||||
feature: 'css-text-spacing',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -1067,9 +1055,9 @@ let prefixAnyLink = require('caniuse-lite/data/features/css-any-link')
|
||||
|
||||
f(prefixAnyLink, browsers =>
|
||||
prefix([':any-link'], {
|
||||
browsers,
|
||||
selector: true,
|
||||
feature: 'css-any-link',
|
||||
selector: true
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -1079,9 +1067,9 @@ let bidiIsolate = require('caniuse-lite/data/features/mdn-css-unicode-bidi-isola
|
||||
|
||||
f(bidiIsolate, browsers =>
|
||||
prefix(['isolate'], {
|
||||
browsers,
|
||||
props: ['unicode-bidi'],
|
||||
feature: 'css-unicode-bidi',
|
||||
props: ['unicode-bidi']
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -1089,9 +1077,9 @@ let bidiPlaintext = require('caniuse-lite/data/features/mdn-css-unicode-bidi-pla
|
||||
|
||||
f(bidiPlaintext, browsers =>
|
||||
prefix(['plaintext'], {
|
||||
browsers,
|
||||
props: ['unicode-bidi'],
|
||||
feature: 'css-unicode-bidi',
|
||||
props: ['unicode-bidi']
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -1099,9 +1087,9 @@ let bidiOverride = require('caniuse-lite/data/features/mdn-css-unicode-bidi-isol
|
||||
|
||||
f(bidiOverride, { match: /y x/ }, browsers =>
|
||||
prefix(['isolate-override'], {
|
||||
browsers,
|
||||
props: ['unicode-bidi'],
|
||||
feature: 'css-unicode-bidi',
|
||||
props: ['unicode-bidi']
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -1110,8 +1098,8 @@ let prefixOverscroll = require('caniuse-lite/data/features/css-overscroll-behavi
|
||||
|
||||
f(prefixOverscroll, { match: /a #1/ }, browsers =>
|
||||
prefix(['overscroll-behavior'], {
|
||||
browsers,
|
||||
feature: 'css-overscroll-behavior'
|
||||
feature: 'css-overscroll-behavior',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -1120,8 +1108,8 @@ let prefixTextOrientation = require('caniuse-lite/data/features/css-text-orienta
|
||||
|
||||
f(prefixTextOrientation, browsers =>
|
||||
prefix(['text-orientation'], {
|
||||
browsers,
|
||||
feature: 'css-text-orientation'
|
||||
feature: 'css-text-orientation',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
@@ -1130,7 +1118,7 @@ let prefixPrintAdjust = require('caniuse-lite/data/features/css-print-color-adju
|
||||
|
||||
f(prefixPrintAdjust, browsers =>
|
||||
prefix(['print-color-adjust', 'color-adjust'], {
|
||||
browsers,
|
||||
feature: 'css-print-color-adjust'
|
||||
feature: 'css-print-color-adjust',
|
||||
browsers
|
||||
})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user