UNPKG

vscode-css-languageservice

Version:
1,256 lines 1.78 MB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ // file generated from @vscode/web-custom-data NPM package (function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define(["require", "exports"], factory); } })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.cssData = void 0; exports.cssData = { "version": 1.1, "properties": [ { "name": "additive-symbols", "browsers": [ "FF33" ], "atRule": "@counter-style", "syntax": "[ <integer [0,∞]> && <symbol> ]#", "relevance": 50, "description": "@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.", "restrictions": [ "integer", "string", "image", "identifier" ] }, { "name": "align-content", "browsers": [ "E12", "FF28", "FFA28", "S9", "SM9", "C29", "CA29", "IE11", "O16" ], "values": [ { "name": "center", "description": "Lines are packed toward the center of the flex container." }, { "name": "flex-end", "description": "Lines are packed toward the end of the flex container." }, { "name": "flex-start", "description": "Lines are packed toward the start of the flex container." }, { "name": "space-around", "description": "Lines are evenly distributed in the flex container, with half-size spaces on either end." }, { "name": "space-between", "description": "Lines are evenly distributed in the flex container." }, { "name": "stretch", "description": "Lines stretch to take up the remaining space." }, { "name": "start" }, { "name": "end" }, { "name": "normal", "browsers": [ "E12", "FF28", "FFA28", "S9", "SM9", "C29", "CA29", "IE11", "O16" ], "baseline": { "status": "high", "baseline_low_date": "2015-09-30", "baseline_high_date": "2018-03-30" } }, { "name": "baseline" }, { "name": "first baseline" }, { "name": "last baseline" }, { "name": "space-around" }, { "name": "space-between" }, { "name": "space-evenly" }, { "name": "stretch" }, { "name": "safe" }, { "name": "unsafe" } ], "syntax": "normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>", "relevance": 68, "references": [ { "name": "MDN Reference", "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/align-content" } ], "baseline": { "status": "high", "baseline_low_date": "2015-09-30", "baseline_high_date": "2018-03-30" }, "description": "Aligns a flex container's lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.", "restrictions": [ "enum" ] }, { "name": "align-items", "browsers": [ "E12", "FF20", "FFA20", "S9", "SM9", "C29", "CA29", "IE11", "O16" ], "values": [ { "name": "baseline", "description": "If the flex item's inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment." }, { "name": "center", "description": "The flex item's margin box is centered in the cross axis within the line." }, { "name": "flex-end", "description": "The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line." }, { "name": "flex-start", "description": "The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line." }, { "name": "stretch", "description": "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched." }, { "name": "normal" }, { "name": "start" }, { "name": "end" }, { "name": "self-start" }, { "name": "self-end" }, { "name": "first baseline" }, { "name": "last baseline" }, { "name": "stretch" }, { "name": "safe" }, { "name": "unsafe" } ], "syntax": "normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ] | anchor-center", "relevance": 90, "references": [ { "name": "MDN Reference", "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/align-items" } ], "baseline": { "status": "high", "baseline_low_date": "2015-09-30", "baseline_high_date": "2018-03-30" }, "description": "Aligns flex items along the cross axis of the current line of the flex container.", "restrictions": [ "enum" ] }, { "name": "justify-items", "browsers": [ "E12", "FF20", "FFA20", "S9", "SM9", "C52", "CA52", "IE11", "O12.1" ], "values": [ { "name": "auto" }, { "name": "normal" }, { "name": "end" }, { "name": "start" }, { "name": "flex-end", "description": "\"Flex items are packed toward the end of the line.\"" }, { "name": "flex-start", "description": "\"Flex items are packed toward the start of the line.\"" }, { "name": "self-end", "description": "The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis." }, { "name": "self-start", "description": "The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.." }, { "name": "center", "browsers": [ "E79", "FF20", "FFA20", "S9", "SM9", "C52", "CA52", "O39" ], "baseline": { "status": "high", "baseline_low_date": "2020-01-15", "baseline_high_date": "2022-07-15" }, "description": "The items are packed flush to each other toward the center of the of the alignment container." }, { "name": "left", "browsers": [ "E79", "FF20", "FFA20", "S9", "SM9", "C52", "CA52", "O39" ], "baseline": { "status": "high", "baseline_low_date": "2020-01-15", "baseline_high_date": "2022-07-15" } }, { "name": "right", "browsers": [ "E79", "FF20", "FFA20", "S9", "SM9", "C52", "CA52", "O39" ], "baseline": { "status": "high", "baseline_low_date": "2020-01-15", "baseline_high_date": "2022-07-15" } }, { "name": "baseline" }, { "name": "first baseline" }, { "name": "last baseline" }, { "name": "stretch", "description": "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched." }, { "name": "safe" }, { "name": "unsafe" }, { "name": "legacy", "browsers": [ "E79", "FF20", "FFA20", "S9", "SM9", "C52", "CA52", "O39" ], "baseline": { "status": "high", "baseline_low_date": "2020-01-15", "baseline_high_date": "2022-07-15" } } ], "syntax": "normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ] | anchor-center", "relevance": 58, "references": [ { "name": "MDN Reference", "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/justify-items" } ], "baseline": { "status": "high", "baseline_low_date": "2016-07-27", "baseline_high_date": "2019-01-27" }, "description": "Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis", "restrictions": [ "enum" ] }, { "name": "justify-self", "browsers": [ "E16", "FF45", "FFA45", "S10.1", "SM10.3", "C57", "CA57", "IE10", "O44" ], "values": [ { "name": "auto", "browsers": [ "E79", "FF45", "FFA45", "S10.1", "SM10.3", "C57", "CA57", "O44" ], "baseline": { "status": "high", "baseline_low_date": "2020-01-15", "baseline_high_date": "2022-07-15" } }, { "name": "normal", "browsers": [ "E79", "FF45", "FFA45", "S10.1", "SM10.3", "C57", "CA57", "O44" ], "baseline": { "status": "high", "baseline_low_date": "2020-01-15", "baseline_high_date": "2022-07-15" } }, { "name": "end" }, { "name": "start" }, { "name": "flex-end", "description": "\"Flex items are packed toward the end of the line.\"" }, { "name": "flex-start", "description": "\"Flex items are packed toward the start of the line.\"" }, { "name": "self-end", "description": "The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis." }, { "name": "self-start", "description": "The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.." }, { "name": "center", "description": "The items are packed flush to each other toward the center of the of the alignment container." }, { "name": "left", "browsers": [ "E79", "FF45", "FFA45", "S10.1", "SM10.3", "C57", "CA57", "O44" ], "baseline": { "status": "high", "baseline_low_date": "2020-01-15", "baseline_high_date": "2022-07-15" } }, { "name": "right", "browsers": [ "E79", "FF45", "FFA45", "S10.1", "SM10.3", "C57", "CA57", "O44" ], "baseline": { "status": "high", "baseline_low_date": "2020-01-15", "baseline_high_date": "2022-07-15" } }, { "name": "baseline" }, { "name": "first baseline" }, { "name": "last baseline" }, { "name": "stretch", "browsers": [ "E79", "FF45", "FFA45", "S10.1", "SM10.3", "C57", "CA57", "O44" ], "baseline": { "status": "high", "baseline_low_date": "2020-01-15", "baseline_high_date": "2022-07-15" }, "description": "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched." }, { "name": "save" }, { "name": "unsave" } ], "syntax": "auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | anchor-center", "relevance": 59, "references": [ { "name": "MDN Reference", "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/justify-self" } ], "baseline": { "status": "high", "baseline_low_date": "2017-10-17", "baseline_high_date": "2020-04-17" }, "description": "Defines the way of justifying a box inside its container along the appropriate axis.", "restrictions": [ "enum" ] }, { "name": "align-self", "browsers": [ "E12", "FF20", "FFA20", "S9", "SM9", "C29", "CA29", "IE10", "O12.1" ], "values": [ { "name": "auto", "browsers": [ "E79", "FF28", "FFA28", "S7", "SM7", "C21", "CA25", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2020-01-15", "baseline_high_date": "2022-07-15" }, "description": "Computes to the value of 'align-items' on the element's parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself." }, { "name": "normal", "browsers": [ "E79", "FF28", "FFA28", "S7", "SM7", "C21", "CA25", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2020-01-15", "baseline_high_date": "2022-07-15" } }, { "name": "self-end" }, { "name": "self-start" }, { "name": "baseline", "description": "If the flex item's inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment." }, { "name": "center", "description": "The flex item's margin box is centered in the cross axis within the line." }, { "name": "flex-end", "description": "The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line." }, { "name": "flex-start", "description": "The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line." }, { "name": "stretch", "browsers": [ "E79", "FF28", "FFA28", "S7", "SM7", "C21", "CA25", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2020-01-15", "baseline_high_date": "2022-07-15" }, "description": "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched." }, { "name": "baseline" }, { "name": "first baseline" }, { "name": "last baseline" }, { "name": "safe" }, { "name": "unsafe" } ], "syntax": "auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position> | anchor-center", "relevance": 76, "references": [ { "name": "MDN Reference", "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/align-self" } ], "baseline": { "status": "high", "baseline_low_date": "2015-09-30", "baseline_high_date": "2018-03-30" }, "description": "Allows the default alignment along the cross axis to be overridden for individual flex items.", "restrictions": [ "enum" ] }, { "name": "all", "browsers": [ "E79", "FF27", "FFA27", "S9.1", "SM9.3", "C37", "CA37", "O24" ], "values": [], "syntax": "initial | inherit | unset | revert | revert-layer", "relevance": 56, "references": [ { "name": "MDN Reference", "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/all" } ], "baseline": { "status": "high", "baseline_low_date": "2020-01-15", "baseline_high_date": "2022-07-15" }, "description": "Shorthand that resets all properties except 'direction' and 'unicode-bidi'.", "restrictions": [ "enum" ] }, { "name": "alt", "values": [], "relevance": 50, "baseline": { "status": "false" }, "description": "Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.", "restrictions": [ "string", "enum" ] }, { "name": "animation", "browsers": [ "E12", "FF16", "FFA16", "S9", "SM9", "C43", "CA43", "IE10", "O30" ], "values": [ { "name": "alternate", "browsers": [ "E12", "FF5", "FFA5", "S4", "SM3.2", "C3", "CA18", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction." }, { "name": "alternate-reverse", "browsers": [ "E12", "FF5", "FFA5", "S4", "SM3.2", "C3", "CA18", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction." }, { "name": "backwards", "browsers": [ "E12", "FF5", "FFA5", "S4", "SM3.2", "C3", "CA18", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'." }, { "name": "both", "browsers": [ "E12", "FF5", "FFA5", "S4", "SM3.2", "C3", "CA18", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "Both forwards and backwards fill modes are applied." }, { "name": "forwards", "browsers": [ "E12", "FF5", "FFA5", "S4", "SM3.2", "C3", "CA18", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes." }, { "name": "infinite", "browsers": [ "E12", "FF5", "FFA5", "S4", "SM3.2", "C3", "CA18", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "Causes the animation to repeat forever." }, { "name": "none", "browsers": [ "E12", "FF5", "FFA5", "S4", "SM3.2", "C3", "CA18", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "No animation is performed" }, { "name": "normal", "browsers": [ "E12", "FF5", "FFA5", "S4", "SM3.2", "C3", "CA18", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "Normal playback." }, { "name": "reverse", "browsers": [ "E12", "FF5", "FFA5", "S4", "SM3.2", "C3", "CA18", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "All iterations of the animation are played in the reverse direction from the way they were specified." } ], "syntax": "<single-animation>#", "relevance": 84, "references": [ { "name": "MDN Reference", "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation" } ], "baseline": { "status": "high", "baseline_low_date": "2015-09-30", "baseline_high_date": "2018-03-30" }, "description": "Shorthand property combines six of the animation properties into a single property.", "restrictions": [ "time", "timing-function", "enum", "identifier", "number" ] }, { "name": "animation-delay", "browsers": [ "E12", "FF16", "FFA16", "S9", "SM9", "C43", "CA43", "IE10", "O30" ], "syntax": "<time>#", "relevance": 67, "references": [ { "name": "MDN Reference", "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-delay" } ], "baseline": { "status": "high", "baseline_low_date": "2015-09-30", "baseline_high_date": "2018-03-30" }, "description": "Defines when the animation will start.", "restrictions": [ "time" ] }, { "name": "animation-direction", "browsers": [ "E12", "FF16", "FFA16", "S9", "SM9", "C43", "CA43", "IE10", "O30" ], "values": [ { "name": "alternate", "browsers": [ "E12", "FF5", "FFA5", "S4", "SM3.2", "C3", "CA18", "IE10", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction." }, { "name": "alternate-reverse", "browsers": [ "E12", "FF16", "FFA16", "S6", "SM6", "C19", "CA25", "IE10", "O12.1" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction." }, { "name": "normal", "browsers": [ "E12", "FF5", "FFA5", "S4", "SM3.2", "C3", "CA18", "IE10", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "Normal playback." }, { "name": "reverse", "browsers": [ "E12", "FF16", "FFA16", "S6", "SM6", "C19", "CA25", "IE10", "O12.1" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "All iterations of the animation are played in the reverse direction from the way they were specified." } ], "syntax": "<single-animation-direction>#", "relevance": 56, "references": [ { "name": "MDN Reference", "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-direction" } ], "baseline": { "status": "high", "baseline_low_date": "2015-09-30", "baseline_high_date": "2018-03-30" }, "description": "Defines whether or not the animation should play in reverse on alternate cycles.", "restrictions": [ "enum" ] }, { "name": "animation-duration", "browsers": [ "E12", "FF16", "FFA16", "S9", "SM9", "C43", "CA43", "IE10", "O30" ], "syntax": "[ auto | <time [0s,∞]> ]#", "relevance": 72, "references": [ { "name": "MDN Reference", "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-duration" } ], "baseline": { "status": "high", "baseline_low_date": "2015-09-30", "baseline_high_date": "2018-03-30" }, "description": "Defines the length of time that an animation takes to complete one cycle.", "restrictions": [ "time" ] }, { "name": "animation-fill-mode", "browsers": [ "E12", "FF16", "FFA16", "S9", "SM9", "C43", "CA43", "IE10", "O30" ], "values": [ { "name": "backwards", "browsers": [ "E12", "FF5", "FFA5", "S5", "SM4.2", "C3", "CA18", "IE10", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'." }, { "name": "both", "browsers": [ "E12", "FF5", "FFA5", "S5", "SM4.2", "C3", "CA18", "IE10", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "Both forwards and backwards fill modes are applied." }, { "name": "forwards", "browsers": [ "E12", "FF5", "FFA5", "S5", "SM4.2", "C3", "CA18", "IE10", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes." }, { "name": "none", "browsers": [ "E12", "FF5", "FFA5", "S5", "SM4.2", "C3", "CA18", "IE10", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes." } ], "syntax": "<single-animation-fill-mode>#", "relevance": 63, "references": [ { "name": "MDN Reference", "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-fill-mode" } ], "baseline": { "status": "high", "baseline_low_date": "2015-09-30", "baseline_high_date": "2018-03-30" }, "description": "Defines what values are applied by the animation outside the time it is executing.", "restrictions": [ "enum" ] }, { "name": "animation-iteration-count", "browsers": [ "E12", "FF16", "FFA16", "S9", "SM9", "C43", "CA43", "IE10", "O30" ], "values": [ { "name": "infinite", "browsers": [ "E12", "FF5", "FFA5", "S4", "SM3.2", "C3", "CA18", "IE10", "O15" ], "baseline": { "status": "high", "baseline_low_date": "2015-07-29", "baseline_high_date": "2018-01-29" }, "description": "Causes the animation to repeat forever." } ], "syntax": "<single-animation-iteration-count>#", "relevance": 63, "references": [ { "name": "MDN Reference", "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-iteration-count" } ], "baseline":