full site update

This commit is contained in:
2025-07-24 18:46:24 +02:00
parent bfe2b90d8d
commit 37a6e0ab31
6912 changed files with 540482 additions and 361712 deletions

116
node_modules/mdn-data/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,116 @@
CC0 1.0 Universal
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator and
subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for the
purpose of contributing to a commons of creative, cultural and scientific
works ("Commons") that the public can reliably and without fear of later
claims of infringement build upon, modify, incorporate in other works, reuse
and redistribute as freely as possible in any form whatsoever and for any
purposes, including without limitation commercial purposes. These owners may
contribute to the Commons to promote the ideal of a free culture and the
further production of creative, cultural and scientific works, or to gain
reputation or greater distribution for their Work in part through the use and
efforts of others.
For these and/or other purposes and motivations, and without any expectation
of additional consideration or compensation, the person associating CC0 with a
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
and publicly distribute the Work under its terms, with knowledge of his or her
Copyright and Related Rights in the Work and the meaning and intended legal
effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not limited
to, the following:
i. the right to reproduce, adapt, distribute, perform, display, communicate,
and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or likeness
depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data in
a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation thereof,
including any amended or successor version of such directive); and
vii. other similar, equivalent or corresponding rights throughout the world
based on applicable law or treaty, and any national implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention of,
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
and Related Rights and associated claims and causes of action, whether now
known or unknown (including existing as well as future claims and causes of
action), in the Work (i) in all territories worldwide, (ii) for the maximum
duration provided by applicable law or treaty (including future time
extensions), (iii) in any current or future medium and for any number of
copies, and (iv) for any purpose whatsoever, including without limitation
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
the Waiver for the benefit of each member of the public at large and to the
detriment of Affirmer's heirs and successors, fully intending that such Waiver
shall not be subject to revocation, rescission, cancellation, termination, or
any other legal or equitable action to disrupt the quiet enjoyment of the Work
by the public as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason be
judged legally invalid or ineffective under applicable law, then the Waiver
shall be preserved to the maximum extent permitted taking into account
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
is so judged Affirmer hereby grants to each affected person a royalty-free,
non transferable, non sublicensable, non exclusive, irrevocable and
unconditional license to exercise Affirmer's Copyright and Related Rights in
the Work (i) in all territories worldwide, (ii) for the maximum duration
provided by applicable law or treaty (including future time extensions), (iii)
in any current or future medium and for any number of copies, and (iv) for any
purpose whatsoever, including without limitation commercial, advertising or
promotional purposes (the "License"). The License shall be deemed effective as
of the date CC0 was applied by Affirmer to the Work. Should any part of the
License for any reason be judged legally invalid or ineffective under
applicable law, such partial invalidity or ineffectiveness shall not
invalidate the remainder of the License, and in such case Affirmer hereby
affirms that he or she will not (i) exercise any of his or her remaining
Copyright and Related Rights in the Work or (ii) assert any associated claims
and causes of action with respect to the Work, in either case contrary to
Affirmer's express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or warranties
of any kind concerning the Work, express, implied, statutory or otherwise,
including without limitation warranties of title, merchantability, fitness
for a particular purpose, non infringement, or the absence of latent or
other defects, accuracy, or the present or absence of errors, whether or not
discoverable, all to the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without limitation
any person's Copyright and Related Rights in the Work. Further, Affirmer
disclaims responsibility for obtaining any necessary consents, permissions
or other rights required for any use of the Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to this
CC0 or use of the Work.
For more information, please see
<http://creativecommons.org/publicdomain/zero/1.0/>

59
node_modules/mdn-data/README.md generated vendored Normal file
View File

@@ -0,0 +1,59 @@
# Welcome to MDN data
> **Note**
> We are in the process of deprecating the `mdn/data` package in favor of [`w3c/webref`](https://github.com/w3c/webref).
> If you depend on this project, let us know in our community [GitHub discussions](https://github.com/mdn/mdn-community/discussions/categories/platform).
> Thank you.
[![NPM version](https://img.shields.io/npm/v/mdn-data.svg)](https://www.npmjs.com/package/mdn-data)
[![lint](https://github.com/mdn/data/actions/workflows/lint.yml/badge.svg)](https://github.com/mdn/data/actions/workflows/lint.yml)
This repository contains general data for Web technologies and is maintained by the [MDN team at Mozilla](https://wiki.mozilla.org/MDN).
## Repository contents
The data in this repository is used in MDN Web Docs to build [information boxes](https://developer.mozilla.org/en-US/docs/Web/CSS/background) and [sidebar navigation](https://developer.mozilla.org/en-US/docs/Web/API/Window).
External tools make use of this data as well, for example, the [CSSTree](https://github.com/csstree/csstree/) CSS parser.
There's a top-level directory for each broad area covered: for example, `api` and `css`.
Inside each of these directories is one or more JSON files containing the data.
### api
Contains data about Web APIs:
- API inheritance (interface inheritance and mixin implementations)
### css
Contains data about:
- CSS at-rules
- CSS functions
- CSS properties
- CSS selectors
- CSS syntaxes
- CSS types
- CSS units
For more information, see the [CSS data](./css/README.md) documentation and the [Updating CSS JSON DB](./docs/updating_css_json.md) guide.
### l10n
The l10n folder contains localization strings that are used in the various
json files throughout this repository.
## Problems?
If you find a problem, please [file an issue](https://github.com/mdn/data/issues/new).
## Contributing
We're very happy to accept contributions to this data.
Please familiarize yourself with the schema for the data you're editing, and send us a pull request.
See the [CONTRIBUTING.md](./CONTRIBUTING.md) document for more information.
## See also
- [https://github.com/mdn/browser-compat-data](https://github.com/mdn/browser-compat-data)
for compatibility data for Web technologies

3
node_modules/mdn-data/api/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = {
inheritance: require('./inheritance'),
}

2681
node_modules/mdn-data/api/inheritance.json generated vendored Normal file

File diff suppressed because it is too large Load Diff

31
node_modules/mdn-data/api/inheritance.schema.json generated vendored Normal file
View File

@@ -0,0 +1,31 @@
{
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"inherits": {
"oneOf": [
{
"type": "null"
},
{
"type": "string",
"minLength": 1
}
]
},
"implements": {
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "string"
}
}
},
"required": [
"inherits",
"implements"
]
}
}

504
node_modules/mdn-data/css/at-rules.json generated vendored Normal file
View File

@@ -0,0 +1,504 @@
{
"@charset": {
"syntax": "@charset \"<charset>\";",
"groups": [
"CSS Charsets"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@charset"
},
"@counter-style": {
"syntax": "@counter-style <counter-style-name> {\n [ system: <counter-system>; ] ||\n [ symbols: <counter-symbols>; ] ||\n [ additive-symbols: <additive-symbols>; ] ||\n [ negative: <negative-symbol>; ] ||\n [ prefix: <prefix>; ] ||\n [ suffix: <suffix>; ] ||\n [ range: <range>; ] ||\n [ pad: <padding>; ] ||\n [ speak-as: <speak-as>; ] ||\n [ fallback: <counter-style-name>; ]\n}",
"interfaces": [
"CSSCounterStyleRule"
],
"groups": [
"CSS Counter Styles"
],
"descriptors": {
"additive-symbols": {
"syntax": "[ <integer> && <symbol> ]#",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard"
},
"fallback": {
"syntax": "<counter-style-name>",
"media": "all",
"initial": "decimal",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard"
},
"negative": {
"syntax": "<symbol> <symbol>?",
"media": "all",
"initial": "\"-\" hyphen-minus",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard"
},
"pad": {
"syntax": "<integer> && <symbol>",
"media": "all",
"initial": "0 \"\"",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard"
},
"prefix": {
"syntax": "<symbol>",
"media": "all",
"initial": "\"\"",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard"
},
"range": {
"syntax": "[ [ <integer> | infinite ]{2} ]# | auto",
"media": "all",
"initial": "auto",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard"
},
"speak-as": {
"syntax": "auto | bullets | numbers | words | spell-out | <counter-style-name>",
"media": "all",
"initial": "auto",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard"
},
"suffix": {
"syntax": "<symbol>",
"media": "all",
"initial": "\". \"",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard"
},
"symbols": {
"syntax": "<symbol>+",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard"
},
"system": {
"syntax": "cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]",
"media": "all",
"initial": "symbolic",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard"
}
},
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style"
},
"@document": {
"syntax": "@document [ <url> | url-prefix(<string>) | domain(<string>) | media-document(<string>) | regexp(<string>) ]# {\n <group-rule-body>\n}",
"interfaces": [
"CSSGroupingRule",
"CSSConditionRule"
],
"groups": [
"CSS Conditional Rules"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@document"
},
"@font-palette-values": {
"syntax": "@font-palette-values <dashed-ident> { <declaration-list> }",
"groups": [
"CSS Fonts"
],
"descriptors": {
"base-palette": {
"syntax": "light | dark | <integer [0,∞]>",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard"
},
"font-family": {
"syntax": "<family-name>#",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard"
},
"override-colors": {
"syntax": "[ <integer [0,∞]> <absolute-color-base> ]#",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard"
}
},
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values"
},
"@font-face": {
"syntax": "@font-face {\n [ font-family: <family-name>; ] ||\n [ src: <src>; ] ||\n [ unicode-range: <unicode-range>; ] ||\n [ font-variant: <font-variant>; ] ||\n [ font-feature-settings: <font-feature-settings>; ] ||\n [ font-variation-settings: <font-variation-settings>; ] ||\n [ font-stretch: <font-stretch>; ] ||\n [ font-weight: <font-weight>; ] ||\n [ font-style: <font-style>; ] ||\n [ size-adjust: <size-adjust>; ] ||\n [ ascent-override: <ascent-override>; ] ||\n [ descent-override: <descent-override>; ] ||\n [ line-gap-override: <line-gap-override>; ]\n}",
"interfaces": [
"CSSFontFaceRule"
],
"groups": [
"CSS Fonts"
],
"descriptors": {
"ascent-override": {
"syntax": "normal | <percentage>",
"media": "all",
"initial": "normal",
"percentages": "asSpecified",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "experimental"
},
"descent-override": {
"syntax": "normal | <percentage>",
"media": "all",
"initial": "normal",
"percentages": "asSpecified",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "experimental"
},
"font-display": {
"syntax": "[ auto | block | swap | fallback | optional ]",
"media": "visual",
"percentages": "no",
"initial": "auto",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "experimental"
},
"font-family": {
"syntax": "<family-name>",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard"
},
"font-feature-settings": {
"syntax": "normal | <feature-tag-value>#",
"media": "all",
"initial": "normal",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard"
},
"font-variation-settings": {
"syntax": "normal | [ <string> <number> ]#",
"media": "all",
"initial": "normal",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard"
},
"font-stretch": {
"syntax": "<font-stretch-absolute>{1,2}",
"media": "all",
"initial": "normal",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard"
},
"font-style": {
"syntax": "normal | italic | oblique <angle>{0,2}",
"media": "all",
"initial": "normal",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard"
},
"font-weight": {
"syntax": "<font-weight-absolute>{1,2}",
"media": "all",
"initial": "normal",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard"
},
"line-gap-override": {
"syntax": "normal | <percentage>",
"media": "all",
"initial": "normal",
"percentages": "asSpecified",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "experimental"
},
"size-adjust": {
"syntax": "<percentage>",
"media": "all",
"initial": "100%",
"percentages": "asSpecified",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "experimental"
},
"src": {
"syntax": "[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard"
},
"unicode-range": {
"syntax": "<unicode-range>#",
"media": "all",
"initial": "U+0-10FFFF",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard"
}
},
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face"
},
"@font-feature-values": {
"syntax": "@font-feature-values <family-name># {\n <feature-value-block-list>\n}",
"interfaces": [
"CSSFontFeatureValuesRule"
],
"groups": [
"CSS Fonts"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"
},
"@import": {
"syntax": "@import [ <string> | <url> ]\n [ layer | layer(<layer-name>) ]?\n [ supports( [ <supports-condition> | <declaration> ] ) ]?\n <media-query-list>? ;",
"groups": [
"CSS Conditional Rules",
"Media Queries"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@import"
},
"@keyframes": {
"syntax": "@keyframes <keyframes-name> {\n <keyframe-block-list>\n}",
"interfaces": [
"CSSKeyframeRule",
"CSSKeyframesRule"
],
"groups": [
"CSS Animations"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@keyframes"
},
"@layer": {
"syntax": "@layer [ <layer-name># | <layer-name>? {\n <stylesheet>\n} ]",
"interfaces": [
"CSSLayerBlockRule",
"CSSLayerStatementRule"
],
"groups": [
"CSS Cascading and Inheritance"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@layer"
},
"@media": {
"syntax": "@media <media-query-list> {\n <group-rule-body>\n}",
"interfaces": [
"CSSGroupingRule",
"CSSConditionRule",
"CSSMediaRule",
"CSSCustomMediaRule"
],
"groups": [
"CSS Conditional Rules",
"Media Queries"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@media"
},
"@namespace": {
"syntax": "@namespace <namespace-prefix>? [ <string> | <url> ];",
"groups": [
"CSS Namespaces"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@namespace"
},
"@page": {
"syntax": "@page <page-selector-list> {\n <page-body>\n}",
"interfaces": [
"CSSPageRule"
],
"groups": [
"CSS Pages"
],
"descriptors": {
"bleed": {
"syntax": "auto | <length>",
"media": [
"visual",
"paged"
],
"initial": "auto",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard"
},
"marks": {
"syntax": "none | [ crop || cross ]",
"media": [
"visual",
"paged"
],
"initial": "none",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard"
},
"page-orientation": {
"syntax": "upright | rotate-left | rotate-right ",
"media": [
"visual",
"paged"
],
"initial": "upright",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard"
},
"size": {
"syntax": "<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",
"media": [
"visual",
"paged"
],
"initial": "auto",
"percentages": "no",
"computed": "asSpecifiedRelativeToAbsoluteLengths",
"order": "orderOfAppearance",
"status": "standard"
}
},
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@page"
},
"@position-try": {
"syntax": "@position-try <dashed-ident> {\n <declaration-list>\n}",
"interfaces": [
"CSSPositionTryRule"
],
"groups": [
"CSS Positioning"
],
"status": "experimental",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@position-try"
},
"@property": {
"syntax": "@property <custom-property-name> {\n <declaration-list>\n}",
"interfaces": [
"CSS",
"CSSPropertyRule"
],
"groups": [
"CSS Houdini"
],
"descriptors": {
"syntax": {
"syntax": "<string>",
"media": "all",
"percentages": "no",
"initial": "n/a (required)",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "experimental"
},
"inherits": {
"syntax": "true | false",
"media": "all",
"percentages": "no",
"initial": "auto",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "experimental"
},
"initial-value": {
"syntax": "<declaration-value>?",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "experimental"
}
},
"status": "experimental",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property"
},
"@scope": {
"syntax": "@scope [(<scope-start>)]? [to (<scope-end>)]? {\n <rule-list>\n}",
"groups": [
"CSS Conditional Rules"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@scope"
},
"@starting-style": {
"syntax": "@starting-style {\n <declaration-list> | <group-rule-body>\n}",
"interfaces": [
"CSSStartingStyleRule"
],
"groups": [
"CSS Animations"
],
"status": "experimental",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@starting-style"
},
"@supports": {
"syntax": "@supports <supports-condition> {\n <group-rule-body>\n}",
"interfaces": [
"CSSGroupingRule",
"CSSConditionRule",
"CSSSupportsRule"
],
"groups": [
"CSS Conditional Rules"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@supports"
}
}

131
node_modules/mdn-data/css/at-rules.schema.json generated vendored Normal file
View File

@@ -0,0 +1,131 @@
{
"definitions": {
"stringOrPropertyList": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"property-reference": {
"comment": "property-reference is an extension to the JSON schema validator. Here it jumps 3 levels up in the hierarchy and tests if a value is an existing key in descriptors. See test/validate-schema.js for implementation details.",
"$data": "3"
}
}
}
]
}
},
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"syntax": {
"type": "string"
},
"interfaces": {
"type": "array",
"items": {
"type": "string"
}
},
"groups": {
"type": "array",
"minitems": 1,
"uniqueItems": true,
"items": {
"$ref": "definitions.json#/groupList"
}
},
"descriptors": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"syntax": {
"type": "string"
},
"media": {
"oneOf": [
{
"type": "string",
"enum": [
"all",
"continuous",
"paged",
"visual"
]
},
{
"type": "array",
"minItems": 2,
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"continuous",
"paged",
"visual"
]
}
}
]
},
"initial": {
"$ref": "#/definitions/stringOrPropertyList"
},
"percentages": {
"$ref": "#/definitions/stringOrPropertyList"
},
"computed": {
"$ref": "#/definitions/stringOrPropertyList"
},
"order": {
"enum": [
"orderOfAppearance",
"uniqueOrder"
]
},
"status": {
"enum": [
"standard",
"nonstandard",
"experimental"
]
}
},
"required": [
"syntax",
"initial",
"percentages",
"computed",
"order",
"status"
]
}
},
"status": {
"enum": [
"standard",
"nonstandard",
"experimental"
]
},
"mdn_url": {
"type": "string",
"pattern": "^https://developer.mozilla.org/docs/Web/CSS/"
}
},
"required": [
"syntax",
"groups",
"status"
]
}
}

80
node_modules/mdn-data/css/definitions.json generated vendored Normal file
View File

@@ -0,0 +1,80 @@
{
"groupList": {
"enum": [
"Basic Selectors",
"Combinators",
"Compositing and Blending",
"CSS Angles",
"CSS Animations",
"CSS Backgrounds and Borders",
"CSS Basic User Interface",
"CSS Box Model",
"CSS Box Alignment",
"CSS Break",
"CSS Cascading and Inheritance",
"CSS Charsets",
"CSS Color",
"CSS Columns",
"CSS Conditional Rules",
"CSS Containment",
"CSS Counter Styles",
"CSS Device Adaptation",
"CSS Display",
"CSS Flexible Box Layout",
"CSS Flexible Lengths",
"CSS Fonts",
"CSS Fragmentation",
"CSS Frequencies",
"CSS Generated Content",
"CSS Grid Layout",
"CSS Houdini",
"CSS Images",
"CSS Inline",
"CSS Lengths",
"CSS Lists and Counters",
"CSS Logical Properties",
"CSS Masking",
"CSS Miscellaneous",
"CSS Motion Path",
"CSS Namespaces",
"CSS Overflow",
"CSS Pages",
"CSS Positioning",
"CSS Regions",
"CSS Resolutions",
"CSS Ruby",
"CSS Scroll Anchoring",
"CSS Scrollbars",
"CSS Scroll Snap",
"CSS Shadow Parts",
"CSS Shapes",
"CSS Speech",
"CSS Table",
"CSS Text",
"CSS Text Decoration",
"CSS Times",
"CSS Transforms",
"CSS Transitions",
"CSS Types",
"CSS Units",
"CSS Variables",
"CSS View Transitions",
"CSS Will Change",
"CSS Writing Modes",
"CSSOM View",
"Filter Effects",
"Grouping Selectors",
"MathML",
"Media Queries",
"Microsoft Extensions",
"Mozilla Extensions",
"Pointer Events",
"Pseudo",
"Pseudo-classes",
"Pseudo-elements",
"Selectors",
"Scalable Vector Graphics",
"WebKit Extensions"
]
}
}

593
node_modules/mdn-data/css/functions.json generated vendored Normal file
View File

@@ -0,0 +1,593 @@
{
"anchor()": {
"syntax": "anchor( <anchor-name>? && <anchor-side>, <length-percentage>? )",
"groups": [
"CSS Positioning"
],
"status": "experimental",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor"
},
"anchor-size()": {
"syntax": "anchor-size( [ <anchor-name> || <anchor-size> ]? , <length-percentage>? )",
"groups": [
"CSS Positioning"
],
"status": "experimental",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor-size"
},
"attr()": {
"syntax": "attr( <attr-name> <type-or-unit>? [, <attr-fallback> ]? )",
"groups": [
"CSS Generated Content"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/attr"
},
"blur()": {
"syntax": "blur( <length> )",
"groups": [
"Filter Effects"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/blur"
},
"brightness()": {
"syntax": "brightness( <number-percentage> )",
"groups": [
"Filter Effects"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/brightness"
},
"calc()": {
"syntax": "calc( <calc-sum> )",
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/calc"
},
"circle()": {
"syntax": "circle( [ <shape-radius> ]? [ at <position> ]? )",
"groups": [
"CSS Shapes"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/basic-shape/circle"
},
"clamp()": {
"syntax": "clamp( <calc-sum>#{3} )",
"groups": [
"CSS Fonts"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/clamp"
},
"conic-gradient()": {
"syntax": "conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )",
"groups": [
"CSS Backgrounds and Borders",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/conic-gradient"
},
"contrast()": {
"syntax": "contrast( [ <number-percentage> ] )",
"groups": [
"Filter Effects",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/contrast"
},
"counter()": {
"syntax": "counter( <custom-ident>, <counter-style>? )",
"groups": [
"CSS Lists and Counters"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/counter"
},
"counters()": {
"syntax": "counters( <custom-ident>, <string>, <counter-style>? )",
"groups": [
"CSS Lists and Counters"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/counters"
},
"cross-fade()": {
"syntax": "cross-fade( <cf-mixing-image> , <cf-final-image>? )",
"groups": [
"Filter Effects",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/cross-fade"
},
"drop-shadow()": {
"syntax": "drop-shadow( <length>{2,3} <color>? )",
"groups": [
"Filter Effects",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/drop-shadow"
},
"element()": {
"syntax": "element( <id-selector> )",
"groups": [
"CSS Miscellaneous"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/element"
},
"ellipse()": {
"syntax": "ellipse( [ <shape-radius>{2} ]? [ at <position> ]? )",
"groups": [
"CSS Shapes"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/basic-shape/ellipse"
},
"env()": {
"syntax": "env( <custom-ident> , <declaration-value>? )",
"groups": [
"CSS Box Model"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/env"
},
"fit-content()": {
"syntax": "fit-content( [ <length> | <percentage> ] )",
"groups": [
"CSS Box Model"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/fit-content"
},
"grayscale()": {
"syntax": "grayscale( <number-percentage> )",
"groups": [
"Filter Effects",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/grayscale"
},
"hsl()": {
"syntax": "hsl( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsl( <hue>, <percentage>, <percentage>, <alpha-value>? )",
"groups": [
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/hsl"
},
"hsla()": {
"syntax": "hsla( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsla( <hue>, <percentage>, <percentage>, <alpha-value>? )",
"groups": [
"CSS Color"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/hsla"
},
"hue-rotate()": {
"syntax": "hue-rotate( <angle> )",
"groups": [
"Filter Effects",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/hue-rotate"
},
"image()": {
"syntax": "image( <image-tags>? [ <image-src>? , <color>? ]! )",
"groups": [
"CSS Images"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/image/image"
},
"image-set()": {
"syntax": "image-set( <image-set-option># )",
"groups": [
"CSS Images"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/image/image-set"
},
"inset()": {
"syntax": "inset( <length-percentage>{1,4} [ round <'border-radius'> ]? )",
"groups": [
"CSS Shapes"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/basic-shape/inset"
},
"invert()": {
"syntax": "invert( <number-percentage> )",
"groups": [
"Filter Effects",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/invert"
},
"leader()": {
"syntax": "leader( <leader-type> )",
"groups": [
"CSS Miscellaneous"
],
"status": "nonstandard"
},
"linear-gradient()": {
"syntax": "linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )",
"groups": [
"CSS Backgrounds and Borders",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/linear-gradient"
},
"matrix()": {
"syntax": "matrix( <number>#{6} )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/matrix"
},
"matrix3d()": {
"syntax": "matrix3d( <number>#{16} )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/matrix3d"
},
"max()": {
"syntax": "max( <calc-sum># )",
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/max"
},
"min()": {
"syntax": "min( <calc-sum># )",
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/min"
},
"minmax()": {
"syntax": "minmax( [ <length> | <percentage> | min-content | max-content | auto ] , [ <length> | <percentage> | <flex> | min-content | max-content | auto ] )",
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/minmax"
},
"oklab()": {
"syntax": "oklab( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
"groups": [
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/oklab"
},
"oklch()": {
"syntax": "oklch( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )",
"groups": [
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/oklch"
},
"opacity()": {
"syntax": "opacity( [ <number-percentage> ] )",
"groups": [
"Filter Effects",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/opacity"
},
"path()": {
"syntax": "path( [ <fill-rule>, ]? <string> )",
"groups": [
"CSS Shapes",
"CSS Motion Path"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/basic-shape/path"
},
"paint()": {
"syntax": "paint( <ident>, <declaration-value>? )",
"groups": [
"CSS Backgrounds and Borders"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/image/paint"
},
"perspective()": {
"syntax": "perspective( <length> )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/perspective"
},
"polygon()": {
"syntax": "polygon( <fill-rule>? , [ <length-percentage> <length-percentage> ]# )",
"groups": [
"CSS Shapes"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/basic-shape/polygon"
},
"radial-gradient()": {
"syntax": "radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )",
"groups": [
"CSS Backgrounds and Borders",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/radial-gradient"
},
"ray()": {
"syntax": "ray( <angle> && <ray-size>? && contain? && [at <position>]? )",
"groups": [
"CSS Motion Path"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/ray"
},
"repeating-linear-gradient()": {
"syntax": "repeating-linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )",
"groups": [
"CSS Backgrounds and Borders",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/repeating-linear-gradient"
},
"repeating-radial-gradient()": {
"syntax": "repeating-radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )",
"groups": [
"CSS Backgrounds and Borders",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/repeating-linear-gradient"
},
"rgb()": {
"syntax": "rgb( <percentage>{3} [ / <alpha-value> ]? ) | rgb( <number>{3} [ / <alpha-value> ]? ) | rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )",
"groups": [
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/rgb"
},
"rgba()": {
"syntax": "rgba( <percentage>{3} [ / <alpha-value> ]? ) | rgba( <number>{3} [ / <alpha-value> ]? ) | rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )",
"groups": [
"CSS Color"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/rgba"
},
"rotate()": {
"syntax": "rotate( [ <angle> | <zero> ] )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/rotate"
},
"rotate3d()": {
"syntax": "rotate3d( <number> , <number> , <number> , [ <angle> | <zero> ] )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/rotate3d"
},
"rotateX()": {
"syntax": "rotateX( [ <angle> | <zero> ] )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/rotateX"
},
"rotateY()": {
"syntax": "rotateY( [ <angle> | <zero> ] )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/rotateY"
},
"rotateZ()": {
"syntax": "rotateZ( [ <angle> | <zero> ] )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/rotateZ"
},
"saturate()": {
"syntax": "saturate( <number-percentage> )",
"groups": [
"Filter Effects",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/saturate"
},
"scale()": {
"syntax": "scale( <number> , <number>? )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/scale"
},
"scale3d()": {
"syntax": "scale3d( <number> , <number> , <number> )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/scale3d"
},
"scaleX()": {
"syntax": "scaleX( <number> )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/scaleX"
},
"scaleY()": {
"syntax": "scaleY( <number> )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/scaleY"
},
"scaleZ()": {
"syntax": "scaleZ( <number> )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/scaleZ"
},
"scroll()": {
"syntax": "scroll([<axis> || <scroller>]?)",
"groups": [
"CSS Animations"
],
"status": "experimental",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/animation-timeline/scroll"
},
"skew()": {
"syntax": "skew( [ <angle> | <zero> ] , [ <angle> | <zero> ]? )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/skew"
},
"skewX()": {
"syntax": "skewX( [ <angle> | <zero> ] )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/skewX"
},
"skewY()": {
"syntax": "skewY( [ <angle> | <zero> ] )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/skewY"
},
"sepia()": {
"syntax": "sepia( <number-percentage> )",
"groups": [
"Filter Effects",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/sepia"
},
"target-counter()": {
"syntax": "target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )",
"groups": [
"CSS Lists and Counters"
],
"status": "nonstandard"
},
"target-counters()": {
"syntax": "target-counters( [ <string> | <url> ] , <custom-ident> , <string> , <counter-style>? )",
"groups": [
"CSS Lists and Counters"
],
"status": "nonstandard"
},
"target-text()": {
"syntax": "target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )",
"groups": [
"CSS Miscellaneous"
],
"status": "nonstandard"
},
"translate()": {
"syntax": "translate( <length-percentage> , <length-percentage>? )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/translate"
},
"translate3d()": {
"syntax": "translate3d( <length-percentage> , <length-percentage> , <length> )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/translate3d"
},
"translateX()": {
"syntax": "translateX( <length-percentage> )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/translateX"
},
"translateY()": {
"syntax": "translateY( <length-percentage> )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/translateY"
},
"translateZ()": {
"syntax": "translateZ( <length> )",
"groups": [
"CSS Transforms"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/translateZ"
},
"var()": {
"syntax": "var( <custom-property-name> , <declaration-value>? )",
"groups": [
"CSS Miscellaneous"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/var"
},
"view()": {
"syntax": "view([<axis> || <'view-timeline-inset'>]?)",
"groups": [
"CSS Animations"
],
"status": "experimental",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/animation-timeline/view"
}
}

45
node_modules/mdn-data/css/functions.schema.json generated vendored Normal file
View File

@@ -0,0 +1,45 @@
{
"definitions": {
"status": {
"enum": [
"standard",
"nonstandard",
"experimental",
"obsolete"
]
},
"mdn_url": {
"type": "string",
"pattern": "^https://developer.mozilla.org/docs/"
}
},
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"required": [
"syntax",
"groups",
"status"
],
"properties": {
"syntax": {
"type": "string"
},
"groups": {
"type": "array",
"minitems": 1,
"uniqueItems": true,
"items": {
"$ref": "definitions.json#/groupList"
}
},
"status": {
"$ref": "#/definitions/status"
},
"mdn_url": {
"$ref": "#/definitions/mdn_url"
}
}
}
}

9
node_modules/mdn-data/css/index.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
module.exports = {
atRules: require('./at-rules'),
functions: require('./functions'),
selectors: require('./selectors'),
types: require('./types'),
properties: require('./properties'),
syntaxes: require('./syntaxes'),
units: require('./units'),
}

10806
node_modules/mdn-data/css/properties.json generated vendored Normal file

File diff suppressed because it is too large Load Diff

449
node_modules/mdn-data/css/properties.schema.json generated vendored Normal file
View File

@@ -0,0 +1,449 @@
{
"definitions": {
"propertyList": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"property-reference": {
"comment": "property-reference is an extension to the JSON schema validator. Here it jumps to the root level of the hierarchy and tests if a value is an existing key there (i.e a defined property). See test/validate-schema.js for implementation details.",
"$data": "/"
}
}
},
"animationType": {
"enum": [
"angleBasicShapeOrPath",
"angleOrBasicShapeOrPath",
"basicShapeOtherwiseNo",
"byComputedValueType",
"byComputedValueTypeNormalAnimatesAsObliqueZeroDeg",
"color",
"discrete",
"discreteButVisibleForDurationWhenAnimatedHidden",
"discreteButVisibleForDurationWhenAnimatedNone",
"eachOfShorthandPropertiesExceptUnicodeBiDiAndDirection",
"filterList",
"fontStretch",
"fontWeight",
"integer",
"length",
"lpc",
"notAnimatable",
"numberOrLength",
"number",
"position",
"rectangle",
"repeatableList",
"shadowList",
"simpleListOfLpc",
"simpleListOfLpcDifferenceLpc",
"transform",
"visibility"
]
},
"percentages": {
"enum": [
"blockSizeOfContainingBlock",
"dependsOnLayoutModel",
"inlineSizeOfContainingBlock",
"lengthsAsPercentages",
"logicalHeightOfContainingBlock",
"logicalWidthOfContainingBlock",
"logicalHeightOrWidthOfContainingBlock",
"mapToRange0To1",
"maxZoomFactor",
"minZoomFactor",
"no",
"referToBorderBox",
"referToContainingBlockHeight",
"referToDimensionOfBorderBox",
"referToDimensionOfContentArea",
"referToElementFontSize",
"referToFlexContainersInnerMainSize",
"referToHeightOfBackgroundPositioningAreaMinusBackgroundImageHeight",
"referToLineBoxWidth",
"referToLineHeight",
"referToParentElementsFontSize",
"referToSizeOfBackgroundPositioningAreaMinusBackgroundImageSize",
"referToSizeOfBorderImage",
"referToSizeOfBoundingBox",
"referToSizeOfContainingBlock",
"referToSizeOfElement",
"referToSizeOfFont",
"referToSizeOfMaskBorderImage",
"referToSizeOfMaskPaintingArea",
"referToSVGViewportHeight",
"referToSVGViewportSize",
"referToSVGViewportWidth",
"referToSVGViewportDiagonal",
"referToTotalPathLength",
"referToWidthAndHeightOfElement",
"referToWidthOfAffectedGlyph",
"referToWidthOfBackgroundPositioningAreaMinusBackgroundImageWidth",
"referToWidthOfContainingBlock",
"referToWidthOrHeightOfBorderImageArea",
"referToReferenceBoxWhenSpecifiedOtherwiseBorderBox",
"regardingHeightOfGeneratedBoxContainingBlockPercentages0",
"regardingHeightOfGeneratedBoxContainingBlockPercentagesNone",
"regardingHeightOfGeneratedBoxContainingBlockPercentagesRelativeToContainingBlock",
"relativeToBackgroundPositioningArea",
"relativeToCorrespondingDimensionOfRelevantScrollport",
"relativeToMaskBorderImageArea",
"relativeToScrollContainerPaddingBoxAxis",
"relativeToTheScrollContainersScrollport",
"relativeToTimelineRangeIfSpecifiedOtherwiseEntireTimeline",
"relativeToWidthAndHeight"
]
},
"computed": {
"enum": [
"absoluteLength",
"absoluteLength0ForNone",
"absoluteLength0IfColumnRuleStyleNoneOrHidden",
"absoluteLengthOr0IfBorderBottomStyleNoneOrHidden",
"absoluteLengthOr0IfBorderLeftStyleNoneOrHidden",
"absoluteLengthOr0IfBorderRightStyleNoneOrHidden",
"absoluteLengthOr0IfBorderTopStyleNoneOrHidden",
"absoluteLengthOrAsSpecified",
"absoluteLengthOrKeyword",
"absoluteLengthOrNone",
"absoluteLengthOrNormal",
"absoluteLengthOrPercentage",
"absoluteLengthOrPercentageNumbersConverted",
"absoluteLengthsSpecifiedColorAsSpecified",
"absoluteLengthZeroIfBorderStyleNoneOrHidden",
"absoluteLengthZeroOrLarger",
"absoluteURIOrNone",
"angleRoundedToNextQuarter",
"asAutoOrColor",
"asColorOrAbsoluteURL",
"asDefinedForBasicShapeWithAbsoluteURIOtherwiseAsSpecified",
"asLength",
"asLonghands",
"asSpecified",
"asSpecifiedAppliesToEachProperty",
"asSpecifiedButVisibleOrClipReplacedToAutoOrHiddenIfOtherValueDifferent",
"asSpecifiedExceptMatchParent",
"asSpecifiedExceptPositionedFloatingAndRootElementsKeywordMaybeDifferent",
"asSpecifiedRelativeToAbsoluteLengths",
"asSpecifiedURLsAbsolute",
"asSpecifiedWithExceptionOfResolution",
"asSpecifiedWithLengthsAbsoluteAndNormalComputingToZeroExceptMultiColumn",
"asSpecifiedWithLengthValuesComputed",
"asSpecifiedWithVarsSubstituted",
"autoOnAbsolutelyPositionedElementsValueOfAlignItemsOnParent",
"autoOrRectangle",
"colorPlusThreeAbsoluteLengths",
"computedColor",
"consistsOfTwoDimensionKeywords",
"consistsOfTwoKeywordsForOriginAndOffsets",
"forLengthAbsoluteValueOtherwisePercentage",
"autoForTranslucentColorRGBAOtherwiseRGB",
"keywordOrNumericalValueBolderLighterTransformedToRealValue",
"keywordPlusIntegerIfDigits",
"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
"listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin",
"listEachItemConsistingOfAbsoluteLengthPercentageOrKeyword",
"listEachItemConsistingOfNormalLengthPercentageOrNameLengthPercentage",
"listEachItemConsistingOfPairsOfAutoOrLengthPercentage",
"listEachItemHasTwoKeywordsOnePerDimension",
"listEachItemIdentifierOrNoneAuto",
"listEachItemTwoKeywordsOriginOffsets",
"noneOrImageWithAbsoluteURI",
"noneOrOrderedListOfIdentifiers",
"normalizedAngle",
"normalOnElementsForPseudosNoneAbsoluteURIStringOrAsSpecified",
"oneToFourPercentagesOrAbsoluteLengthsPlusFill",
"optimumValueOfAbsoluteLengthOrNormal",
"percentageAsSpecifiedAbsoluteLengthOrNone",
"percentageAsSpecifiedOrAbsoluteLength",
"percentageAutoOrAbsoluteLength",
"percentageOrAbsoluteLengthPlusKeywords",
"sameAsBoxOffsets",
"sameAsMaxWidthAndMaxHeight",
"sameAsMinWidthAndMinHeight",
"sameAsWidthAndHeight",
"specifiedIntegerOrAbsoluteLength",
"specifiedValueClipped0To1",
"specifiedValueNumberClipped0To1",
"theComputedLengthAndVisualBox",
"theKeywordListStyleImageNoneOrComputedValue",
"translucentValuesRGBAOtherwiseRGB",
"twoAbsoluteLengthOrPercentages",
"twoAbsoluteLengths"
]
},
"appliesto": {
"enum": [
"absolutelyPositionedElements",
"allElements",
"allElementsAcceptingWidthOrHeight",
"allElementsAndPseudos",
"allElementsAndText",
"allElementsButNonReplacedAndTableColumns",
"allElementsButNonReplacedAndTableRows",
"allElementsCreatingNativeWindows",
"allElementsExceptGeneratedContentOrPseudoElements",
"allElementsExceptInlineBoxesAndInternalRubyOrTableBoxes",
"allElementsExceptInternalTableDisplayTypes",
"allElementsExceptNonReplacedInlineElementsTableRowsColumnsRowColumnGroups",
"allElementsExceptTableDisplayTypes",
"allElementsExceptTableElementsWhenCollapse",
"allElementsExceptTableRowColumnGroupsTableRowsColumns",
"allElementsExceptTableRowGroupsRowsColumnGroupsAndColumns",
"allElementsNoEffectIfDisplayNone",
"allElementsSomeValuesNoEffectOnNonInlineElements",
"allElementsSVGContainerElements",
"allElementsSVGContainerGraphicsAndGraphicsReferencingElements",
"allElementsThatCanReferenceImages",
"allElementsThatGenerateAPrincipalBox",
"allElementsTreeAbidingPseudoElementsPageMarginBoxes",
"allElementsUAsNotRequiredWhenCollapse",
"anyElementEffectOnProgressAndMeter",
"asLonghands",
"beforeAndAfterPseudos",
"blockContainerElements",
"blockContainers",
"blockContainersAndMultiColumnContainers",
"blockContainersExceptMultiColumnContainers",
"blockContainersExceptTableWrappers",
"blockContainersFlexContainersGridContainers",
"blockContainersFlexContainersGridContainersInlineBoxesTableRowsSVGTextContentElements",
"blockContainersMultiColumnContainersFlexContainersGridContainers",
"blockElementsInNormalFlow",
"blockLevelElements",
"blockLevelBoxesAndAbsolutelyPositionedBoxesAndGridItems",
"boxElements",
"childrenOfBoxElements",
"directChildrenOfElementsWithDisplayMozBoxMozInlineBox",
"elementsForWhichLayoutContainmentCanApply",
"elementsForWhichSizeContainmentCanApply",
"elementsThatAcceptInput",
"elementsWithDefaultPreferredSize",
"elementsWithDisplayBoxOrInlineBox",
"elementsWithDisplayMarker",
"elementsWithDisplayMozBoxMozInlineBox",
"elementsWithOverflowNotVisibleAndReplacedElements",
"exclusionElements",
"firstLetterPseudoElementsAndInlineLevelFirstChildren",
"flexContainers",
"flexItemsAndAbsolutelyPositionedFlexContainerChildren",
"flexItemsAndInFlowPseudos",
"flexItemsGridItemsAbsolutelyPositionedContainerChildren",
"flexItemsGridItemsAndAbsolutelyPositionedBoxes",
"floats",
"gridContainers",
"gridContainersWithMasonryLayout",
"gridContainersWithMasonryLayoutInTheirBlockAxis",
"gridContainersWithMasonryLayoutInTheirInlineAxis",
"gridItemsAndBoxesWithinGridContainer",
"iframeElements",
"images",
"inFlowBlockLevelElements",
"inFlowChildrenOfBoxElements",
"inlineBoxesAndBlockContainers",
"inlineLevelAndTableCellElements",
"limitedSVGElements",
"limitedSVGElementsCircle",
"limitedSVGElementsEllipse",
"limitedSVGElementsEllipseRect",
"limitedSVGElementsFilterPrimitives",
"limitedSVGElementsGeometry",
"limitedSVGElementsGraphics",
"limitedSVGElementsGraphicsAndUse",
"limitedSVGElementsPath",
"limitedSVGElementsShapes",
"limitedSVGElementsShapesAndTextContent",
"limitedSVGElementsShapeText",
"limitedSVGElementsTextContent",
"listItems",
"maskElements",
"multicolElements",
"multiColumnElementsFlexContainersGridContainers",
"multilineFlexContainers",
"nonReplacedBlockAndInlineBlockElements",
"nonReplacedBlockElements",
"nonReplacedElements",
"nonReplacedInlineElements",
"positionedElements",
"positionedElementsWithADefaultAnchorElement",
"replacedElements",
"rubyAnnotationsContainers",
"rubyBasesAnnotationsBaseAnnotationContainers",
"sameAsMargin",
"sameAsWidthAndHeight",
"scrollContainers",
"scrollingBoxes",
"sensitiveTextInputs",
"tableCaptionElements",
"tableCellElements",
"tableElements",
"textAndBlockContainers",
"textElements",
"textFields",
"transformableElements",
"xulImageElements"
]
},
"alsoApplyTo": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"enum": [
"::first-letter",
"::first-line",
"::placeholder"
]
}
},
"order": {
"enum": [
"canonicalOrder",
"lengthOrPercentageBeforeKeywordIfBothPresent",
"lengthOrPercentageBeforeKeywords",
"oneOrTwoValuesLengthAbsoluteKeywordsPercentages",
"orderOfAppearance",
"percentagesOrLengthsFollowedByFill",
"perGrammar",
"uniqueOrder"
]
},
"status": {
"enum": [
"standard",
"nonstandard",
"experimental",
"obsolete"
]
},
"mdn_url": {
"type": "string",
"pattern": "^https://developer.mozilla.org/docs/"
}
},
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"required": [
"syntax",
"inherited",
"animationType",
"percentages",
"groups",
"initial",
"appliesto",
"computed",
"order",
"status"
],
"properties": {
"syntax": {
"type": "string"
},
"media": {
"oneOf": [
{
"type": "string",
"enum": [
"all",
"aural",
"continuous",
"interactive",
"none",
"noPracticalMedia",
"paged",
"visual",
"visualInContinuousMediaNoEffectInOverflowColumns"
]
},
{
"type": "array",
"minItems": 2,
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"interactive",
"paged",
"visual"
]
}
}
]
},
"inherited": {
"type": "boolean"
},
"animationType": {
"oneOf": [
{
"$ref": "#/definitions/animationType"
},
{
"$ref": "#/definitions/propertyList"
}
]
},
"percentages": {
"oneOf": [
{
"$ref": "#/definitions/percentages"
},
{
"$ref": "#/definitions/propertyList"
}
]
},
"groups": {
"type": "array",
"minitems": 1,
"uniqueItems": true,
"items": {
"$ref": "definitions.json#/groupList"
}
},
"initial": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/propertyList"
}
]
},
"appliesto": {
"$ref": "#/definitions/appliesto"
},
"alsoAppliesTo": {
"$ref": "#/definitions/alsoApplyTo"
},
"computed": {
"oneOf": [
{
"$ref": "#/definitions/computed"
},
{
"$ref": "#/definitions/propertyList"
}
]
},
"order": {
"$ref": "#/definitions/order"
},
"stacking": {
"type": "boolean"
},
"status": {
"$ref": "#/definitions/status"
},
"mdn_url": {
"$ref": "#/definitions/mdn_url"
}
}
}
}

1071
node_modules/mdn-data/css/selectors.json generated vendored Normal file

File diff suppressed because it is too large Load Diff

36
node_modules/mdn-data/css/selectors.schema.json generated vendored Normal file
View File

@@ -0,0 +1,36 @@
{
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"syntax": {
"type": "string"
},
"groups": {
"type": "array",
"minitems": 1,
"uniqueItems": true,
"items": {
"$ref": "definitions.json#/groupList"
}
},
"status": {
"enum": [
"standard",
"nonstandard",
"experimental"
]
},
"mdn_url": {
"type": "string",
"pattern": "^https://developer.mozilla.org/docs/Web/CSS/"
}
},
"required": [
"syntax",
"groups",
"status"
]
}
}

899
node_modules/mdn-data/css/syntaxes.json generated vendored Normal file
View File

@@ -0,0 +1,899 @@
{
"abs()": {
"syntax": "abs( <calc-sum> )"
},
"absolute-size": {
"syntax": "xx-small | x-small | small | medium | large | x-large | xx-large | xxx-large"
},
"acos()": {
"syntax": "acos( <calc-sum> )"
},
"alpha-value": {
"syntax": "<number> | <percentage>"
},
"angle-percentage": {
"syntax": "<angle> | <percentage>"
},
"angular-color-hint": {
"syntax": "<angle-percentage>"
},
"angular-color-stop": {
"syntax": "<color> && <color-stop-angle>?"
},
"angular-color-stop-list": {
"syntax": "[ <angular-color-stop> [, <angular-color-hint>]? ]# , <angular-color-stop>"
},
"animateable-feature": {
"syntax": "scroll-position | contents | <custom-ident>"
},
"asin()": {
"syntax": "asin( <calc-sum> )"
},
"atan()": {
"syntax": "atan( <calc-sum> )"
},
"atan2()": {
"syntax": "atan2( <calc-sum>, <calc-sum> )"
},
"attachment": {
"syntax": "scroll | fixed | local"
},
"attr()": {
"syntax": "attr( <attr-name> <type-or-unit>? [, <attr-fallback> ]? )"
},
"attr-matcher": {
"syntax": "[ '~' | '|' | '^' | '$' | '*' ]? '='"
},
"attr-modifier": {
"syntax": "i | s"
},
"attribute-selector": {
"syntax": "'[' <wq-name> ']' | '[' <wq-name> <attr-matcher> [ <string-token> | <ident-token> ] <attr-modifier>? ']'"
},
"auto-repeat": {
"syntax": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )"
},
"auto-track-list": {
"syntax": "[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>? <auto-repeat>\n[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>?"
},
"axis": {
"syntax": "block | inline | x | y"
},
"baseline-position": {
"syntax": "[ first | last ]? baseline"
},
"basic-shape": {
"syntax": "<inset()> | <circle()> | <ellipse()> | <polygon()> | <path()>"
},
"bg-image": {
"syntax": "none | <image>"
},
"bg-layer": {
"syntax": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>"
},
"bg-position": {
"syntax": "[ [ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] | [ center | [ left | right ] <length-percentage>? ] && [ center | [ top | bottom ] <length-percentage>? ] ]"
},
"bg-size": {
"syntax": "[ <length-percentage> | auto ]{1,2} | cover | contain"
},
"blur()": {
"syntax": "blur( <length> )"
},
"blend-mode": {
"syntax": "normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity"
},
"box": {
"syntax": "border-box | padding-box | content-box"
},
"brightness()": {
"syntax": "brightness( <number-percentage> )"
},
"calc()": {
"syntax": "calc( <calc-sum> )"
},
"calc-sum": {
"syntax": "<calc-product> [ [ '+' | '-' ] <calc-product> ]*"
},
"calc-product": {
"syntax": "<calc-value> [ '*' <calc-value> | '/' <number> ]*"
},
"calc-value": {
"syntax": "<number> | <dimension> | <percentage> | <calc-constant> | ( <calc-sum> )"
},
"calc-constant": {
"syntax": "e | pi | infinity | -infinity | NaN"
},
"cf-final-image": {
"syntax": "<image> | <color>"
},
"cf-mixing-image": {
"syntax": "<percentage>? && <image>"
},
"circle()": {
"syntax": "circle( [ <shape-radius> ]? [ at <position> ]? )"
},
"clamp()": {
"syntax": "clamp( <calc-sum>#{3} )"
},
"class-selector": {
"syntax": "'.' <ident-token>"
},
"clip-source": {
"syntax": "<url>"
},
"color": {
"syntax": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <color()> | <hex-color> | <named-color> | <system-color> | <deprecated-system-color> | currentcolor | transparent"
},
"color-stop": {
"syntax": "<color-stop-length> | <color-stop-angle>"
},
"color-stop-angle": {
"syntax": "<angle-percentage>{1,2}"
},
"color-stop-length": {
"syntax": "<length-percentage>{1,2}"
},
"color-stop-list": {
"syntax": "[ <linear-color-stop> [, <linear-color-hint>]? ]# , <linear-color-stop>"
},
"color-interpolation-method": {
"syntax": "in [ <rectangular-color-space> | <polar-color-space> <hue-interpolation-method>? ]"
},
"combinator": {
"syntax": "'>' | '+' | '~' | [ '||' ]"
},
"common-lig-values": {
"syntax": "[ common-ligatures | no-common-ligatures ]"
},
"compat-auto": {
"syntax": "searchfield | textarea | push-button | slider-horizontal | checkbox | radio | square-button | menulist | listbox | meter | progress-bar | button"
},
"composite-style": {
"syntax": "clear | copy | source-over | source-in | source-out | source-atop | destination-over | destination-in | destination-out | destination-atop | xor"
},
"compositing-operator": {
"syntax": "add | subtract | intersect | exclude"
},
"compound-selector": {
"syntax": "[ <type-selector>? <subclass-selector>* [ <pseudo-element-selector> <pseudo-class-selector>* ]* ]!"
},
"compound-selector-list": {
"syntax": "<compound-selector>#"
},
"complex-selector": {
"syntax": "<compound-selector> [ <combinator>? <compound-selector> ]*"
},
"complex-selector-list": {
"syntax": "<complex-selector>#"
},
"conic-gradient()": {
"syntax": "conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )"
},
"contextual-alt-values": {
"syntax": "[ contextual | no-contextual ]"
},
"content-distribution": {
"syntax": "space-between | space-around | space-evenly | stretch"
},
"content-list": {
"syntax": "[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> ]+"
},
"content-position": {
"syntax": "center | start | end | flex-start | flex-end"
},
"content-replacement": {
"syntax": "<image>"
},
"contrast()": {
"syntax": "contrast( [ <number-percentage> ] )"
},
"cos()": {
"syntax": "cos( <calc-sum> )"
},
"counter": {
"syntax": "<counter()> | <counters()>"
},
"counter()": {
"syntax": "counter( <counter-name>, <counter-style>? )"
},
"counter-name": {
"syntax": "<custom-ident>"
},
"counter-style": {
"syntax": "<counter-style-name> | symbols()"
},
"counter-style-name": {
"syntax": "<custom-ident>"
},
"counters()": {
"syntax": "counters( <counter-name>, <string>, <counter-style>? )"
},
"cross-fade()": {
"syntax": "cross-fade( <cf-mixing-image> , <cf-final-image>? )"
},
"cubic-bezier-timing-function": {
"syntax": "ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number [0,1]>, <number>, <number [0,1]>, <number>)"
},
"deprecated-system-color": {
"syntax": "ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonFace | ButtonHighlight | ButtonShadow | ButtonText | CaptionText | GrayText | Highlight | HighlightText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText"
},
"discretionary-lig-values": {
"syntax": "[ discretionary-ligatures | no-discretionary-ligatures ]"
},
"display-box": {
"syntax": "contents | none"
},
"display-inside": {
"syntax": "flow | flow-root | table | flex | grid | ruby"
},
"display-internal": {
"syntax": "table-row-group | table-header-group | table-footer-group | table-row | table-cell | table-column-group | table-column | table-caption | ruby-base | ruby-text | ruby-base-container | ruby-text-container"
},
"display-legacy": {
"syntax": "inline-block | inline-list-item | inline-table | inline-flex | inline-grid"
},
"display-listitem": {
"syntax": "<display-outside>? && [ flow | flow-root ]? && list-item"
},
"display-outside": {
"syntax": "block | inline | run-in"
},
"drop-shadow()": {
"syntax": "drop-shadow( <length>{2,3} <color>? )"
},
"east-asian-variant-values": {
"syntax": "[ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]"
},
"east-asian-width-values": {
"syntax": "[ full-width | proportional-width ]"
},
"element()": {
"syntax": "element( <id-selector> )"
},
"ellipse()": {
"syntax": "ellipse( [ <shape-radius>{2} ]? [ at <position> ]? )"
},
"ending-shape": {
"syntax": "circle | ellipse"
},
"env()": {
"syntax": "env( <custom-ident> , <declaration-value>? )"
},
"exp()": {
"syntax": "exp( <calc-sum> )"
},
"explicit-track-list": {
"syntax": "[ <line-names>? <track-size> ]+ <line-names>?"
},
"family-name": {
"syntax": "<string> | <custom-ident>+"
},
"feature-tag-value": {
"syntax": "<string> [ <integer> | on | off ]?"
},
"feature-type": {
"syntax": "@stylistic | @historical-forms | @styleset | @character-variant | @swash | @ornaments | @annotation"
},
"feature-value-block": {
"syntax": "<feature-type> '{' <feature-value-declaration-list> '}'"
},
"feature-value-block-list": {
"syntax": "<feature-value-block>+"
},
"feature-value-declaration": {
"syntax": "<custom-ident>: <integer>+;"
},
"feature-value-declaration-list": {
"syntax": "<feature-value-declaration>"
},
"feature-value-name": {
"syntax": "<custom-ident>"
},
"fill-rule": {
"syntax": "nonzero | evenodd"
},
"filter-function": {
"syntax": "<blur()> | <brightness()> | <contrast()> | <drop-shadow()> | <grayscale()> | <hue-rotate()> | <invert()> | <opacity()> | <saturate()> | <sepia()>"
},
"filter-function-list": {
"syntax": "[ <filter-function> | <url> ]+"
},
"final-bg-layer": {
"syntax": "<'background-color'> || <bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>"
},
"fixed-breadth": {
"syntax": "<length-percentage>"
},
"fixed-repeat": {
"syntax": "repeat( [ <integer [1,∞]> ] , [ <line-names>? <fixed-size> ]+ <line-names>? )"
},
"fixed-size": {
"syntax": "<fixed-breadth> | minmax( <fixed-breadth> , <track-breadth> ) | minmax( <inflexible-breadth> , <fixed-breadth> )"
},
"font-stretch-absolute": {
"syntax": "normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | <percentage>"
},
"font-variant-css21": {
"syntax": "[ normal | small-caps ]"
},
"font-weight-absolute": {
"syntax": "normal | bold | <number [1,1000]>"
},
"frequency-percentage": {
"syntax": "<frequency> | <percentage>"
},
"general-enclosed": {
"syntax": "[ <function-token> <any-value> ) ] | ( <ident> <any-value> )"
},
"generic-family": {
"syntax": "serif | sans-serif | cursive | fantasy | monospace"
},
"generic-name": {
"syntax": "serif | sans-serif | cursive | fantasy | monospace"
},
"geometry-box": {
"syntax": "<shape-box> | fill-box | stroke-box | view-box"
},
"gradient": {
"syntax": "<linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()> | <repeating-conic-gradient()>"
},
"grayscale()": {
"syntax": "grayscale( <number-percentage> )"
},
"grid-line": {
"syntax": "auto | <custom-ident> | [ <integer> && <custom-ident>? ] | [ span && [ <integer> || <custom-ident> ] ]"
},
"historical-lig-values": {
"syntax": "[ historical-ligatures | no-historical-ligatures ]"
},
"hsl()": {
"syntax": "hsl( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsl( <hue>, <percentage>, <percentage>, <alpha-value>? )"
},
"hsla()": {
"syntax": "hsla( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsla( <hue>, <percentage>, <percentage>, <alpha-value>? )"
},
"hue": {
"syntax": "<number> | <angle>"
},
"hue-rotate()": {
"syntax": "hue-rotate( <angle> )"
},
"hue-interpolation-method": {
"syntax": "[ shorter | longer | increasing | decreasing ] hue"
},
"hwb()": {
"syntax": "hwb( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )"
},
"hypot()": {
"syntax": "hypot( <calc-sum># )"
},
"id-selector": {
"syntax": "<hash-token>"
},
"image": {
"syntax": "<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient>"
},
"image()": {
"syntax": "image( <image-tags>? [ <image-src>? , <color>? ]! )"
},
"image-set()": {
"syntax": "image-set( <image-set-option># )"
},
"image-set-option": {
"syntax": "[ <image> | <string> ] [ <resolution> || type(<string>) ]"
},
"image-src": {
"syntax": "<url> | <string>"
},
"image-tags": {
"syntax": "ltr | rtl"
},
"inflexible-breadth": {
"syntax": "<length-percentage> | min-content | max-content | auto"
},
"inset()": {
"syntax": "inset( <length-percentage>{1,4} [ round <'border-radius'> ]? )"
},
"invert()": {
"syntax": "invert( <number-percentage> )"
},
"keyframes-name": {
"syntax": "<custom-ident> | <string>"
},
"keyframe-block": {
"syntax": "<keyframe-selector># {\n <declaration-list>\n}"
},
"keyframe-block-list": {
"syntax": "<keyframe-block>+"
},
"keyframe-selector": {
"syntax": "from | to | <percentage> | <timeline-range-name> <percentage>"
},
"lab()": {
"syntax": "lab( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
},
"layer()": {
"syntax": "layer( <layer-name> )"
},
"layer-name": {
"syntax": "<ident> [ '.' <ident> ]*"
},
"lch()": {
"syntax": "lch( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )"
},
"leader()": {
"syntax": "leader( <leader-type> )"
},
"leader-type": {
"syntax": "dotted | solid | space | <string>"
},
"length-percentage": {
"syntax": "<length> | <percentage>"
},
"light-dark()": {
"syntax": "light-dark( <color>, <color> )"
},
"line-names": {
"syntax": "'[' <custom-ident>* ']'"
},
"line-name-list": {
"syntax": "[ <line-names> | <name-repeat> ]+"
},
"line-style": {
"syntax": "none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset"
},
"line-width": {
"syntax": "<length> | thin | medium | thick"
},
"linear-color-hint": {
"syntax": "<length-percentage>"
},
"linear-color-stop": {
"syntax": "<color> <color-stop-length>?"
},
"linear-gradient()": {
"syntax": "linear-gradient( [ [ <angle> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list> )"
},
"log()": {
"syntax": "log( <calc-sum>, <calc-sum>? )"
},
"mask-layer": {
"syntax": "<mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>"
},
"mask-position": {
"syntax": "[ <length-percentage> | left | center | right ] [ <length-percentage> | top | center | bottom ]?"
},
"mask-reference": {
"syntax": "none | <image> | <mask-source>"
},
"mask-source": {
"syntax": "<url>"
},
"masking-mode": {
"syntax": "alpha | luminance | match-source"
},
"matrix()": {
"syntax": "matrix( <number>#{6} )"
},
"matrix3d()": {
"syntax": "matrix3d( <number>#{16} )"
},
"max()": {
"syntax": "max( <calc-sum># )"
},
"media-and": {
"syntax": "<media-in-parens> [ and <media-in-parens> ]+"
},
"media-condition": {
"syntax": "<media-not> | <media-and> | <media-or> | <media-in-parens>"
},
"media-condition-without-or": {
"syntax": "<media-not> | <media-and> | <media-in-parens>"
},
"media-feature": {
"syntax": "( [ <mf-plain> | <mf-boolean> | <mf-range> ] )"
},
"media-in-parens": {
"syntax": "( <media-condition> ) | <media-feature> | <general-enclosed>"
},
"media-not": {
"syntax": "not <media-in-parens>"
},
"media-or": {
"syntax": "<media-in-parens> [ or <media-in-parens> ]+"
},
"media-query": {
"syntax": "<media-condition> | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?"
},
"media-query-list": {
"syntax": "<media-query>#"
},
"media-type": {
"syntax": "<ident>"
},
"mf-boolean": {
"syntax": "<mf-name>"
},
"mf-name": {
"syntax": "<ident>"
},
"mf-plain": {
"syntax": "<mf-name> : <mf-value>"
},
"mf-range": {
"syntax": "<mf-name> [ '<' | '>' ]? '='? <mf-value>\n| <mf-value> [ '<' | '>' ]? '='? <mf-name>\n| <mf-value> '<' '='? <mf-name> '<' '='? <mf-value>\n| <mf-value> '>' '='? <mf-name> '>' '='? <mf-value>"
},
"mf-value": {
"syntax": "<number> | <dimension> | <ident> | <ratio>"
},
"min()": {
"syntax": "min( <calc-sum># )"
},
"minmax()": {
"syntax": "minmax( [ <length-percentage> | min-content | max-content | auto ] , [ <length-percentage> | <flex> | min-content | max-content | auto ] )"
},
"mod()": {
"syntax": "mod( <calc-sum>, <calc-sum> )"
},
"name-repeat": {
"syntax": "repeat( [ <integer [1,∞]> | auto-fill ], <line-names>+ )"
},
"named-color": {
"syntax": "transparent | aliceblue | antiquewhite | aqua | aquamarine | azure | beige | bisque | black | blanchedalmond | blue | blueviolet | brown | burlywood | cadetblue | chartreuse | chocolate | coral | cornflowerblue | cornsilk | crimson | cyan | darkblue | darkcyan | darkgoldenrod | darkgray | darkgreen | darkgrey | darkkhaki | darkmagenta | darkolivegreen | darkorange | darkorchid | darkred | darksalmon | darkseagreen | darkslateblue | darkslategray | darkslategrey | darkturquoise | darkviolet | deeppink | deepskyblue | dimgray | dimgrey | dodgerblue | firebrick | floralwhite | forestgreen | fuchsia | gainsboro | ghostwhite | gold | goldenrod | gray | green | greenyellow | grey | honeydew | hotpink | indianred | indigo | ivory | khaki | lavender | lavenderblush | lawngreen | lemonchiffon | lightblue | lightcoral | lightcyan | lightgoldenrodyellow | lightgray | lightgreen | lightgrey | lightpink | lightsalmon | lightseagreen | lightskyblue | lightslategray | lightslategrey | lightsteelblue | lightyellow | lime | limegreen | linen | magenta | maroon | mediumaquamarine | mediumblue | mediumorchid | mediumpurple | mediumseagreen | mediumslateblue | mediumspringgreen | mediumturquoise | mediumvioletred | midnightblue | mintcream | mistyrose | moccasin | navajowhite | navy | oldlace | olive | olivedrab | orange | orangered | orchid | palegoldenrod | palegreen | paleturquoise | palevioletred | papayawhip | peachpuff | peru | pink | plum | powderblue | purple | rebeccapurple | red | rosybrown | royalblue | saddlebrown | salmon | sandybrown | seagreen | seashell | sienna | silver | skyblue | slateblue | slategray | slategrey | snow | springgreen | steelblue | tan | teal | thistle | tomato | turquoise | violet | wheat | white | whitesmoke | yellow | yellowgreen"
},
"namespace-prefix": {
"syntax": "<ident>"
},
"ns-prefix": {
"syntax": "[ <ident-token> | '*' ]? '|'"
},
"number-percentage": {
"syntax": "<number> | <percentage>"
},
"numeric-figure-values": {
"syntax": "[ lining-nums | oldstyle-nums ]"
},
"numeric-fraction-values": {
"syntax": "[ diagonal-fractions | stacked-fractions ]"
},
"numeric-spacing-values": {
"syntax": "[ proportional-nums | tabular-nums ]"
},
"nth": {
"syntax": "<an-plus-b> | even | odd"
},
"opacity()": {
"syntax": "opacity( [ <number-percentage> ] )"
},
"overflow-position": {
"syntax": "unsafe | safe"
},
"outline-radius": {
"syntax": "<length> | <percentage>"
},
"page-body": {
"syntax": "<declaration>? [ ; <page-body> ]? | <page-margin-box> <page-body>"
},
"page-margin-box": {
"syntax": "<page-margin-box-type> '{' <declaration-list> '}'"
},
"page-margin-box-type": {
"syntax": "@top-left-corner | @top-left | @top-center | @top-right | @top-right-corner | @bottom-left-corner | @bottom-left | @bottom-center | @bottom-right | @bottom-right-corner | @left-top | @left-middle | @left-bottom | @right-top | @right-middle | @right-bottom"
},
"page-selector-list": {
"syntax": "[ <page-selector># ]?"
},
"page-selector": {
"syntax": "<pseudo-page>+ | <ident> <pseudo-page>*"
},
"page-size": {
"syntax": "A5 | A4 | A3 | B5 | B4 | JIS-B5 | JIS-B4 | letter | legal | ledger"
},
"path()": {
"syntax": "path( [ <fill-rule>, ]? <string> )"
},
"paint()": {
"syntax": "paint( <ident>, <declaration-value>? )"
},
"perspective()": {
"syntax": "perspective( [ <length [0,∞]> | none ] )"
},
"polygon()": {
"syntax": "polygon( <fill-rule>? , [ <length-percentage> <length-percentage> ]# )"
},
"polar-color-space": {
"syntax": "hsl | hwb | lch | oklch"
},
"position": {
"syntax": "[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]"
},
"pow()": {
"syntax": "pow( <calc-sum>, <calc-sum> )"
},
"pseudo-class-selector": {
"syntax": "':' <ident-token> | ':' <function-token> <any-value> ')'"
},
"pseudo-element-selector": {
"syntax": "':' <pseudo-class-selector>"
},
"pseudo-page": {
"syntax": ": [ left | right | first | blank ]"
},
"quote": {
"syntax": "open-quote | close-quote | no-open-quote | no-close-quote"
},
"radial-gradient()": {
"syntax": "radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"
},
"ratio": {
"syntax": "<number [0,∞]> [ / <number [0,∞]> ]?"
},
"ray()": {
"syntax": "ray( <angle> && <ray-size>? && contain? && [at <position>]? )"
},
"ray-size": {
"syntax": "closest-side | closest-corner | farthest-side | farthest-corner | sides"
},
"rectangular-color-space": {
"syntax": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | xyz | xyz-d50 | xyz-d65"
},
"relative-selector": {
"syntax": "<combinator>? <complex-selector>"
},
"relative-selector-list": {
"syntax": "<relative-selector>#"
},
"relative-size": {
"syntax": "larger | smaller"
},
"rem()": {
"syntax": "rem( <calc-sum>, <calc-sum> )"
},
"repeat-style": {
"syntax": "repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}"
},
"repeating-conic-gradient()": {
"syntax": "repeating-conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )"
},
"repeating-linear-gradient()": {
"syntax": "repeating-linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"
},
"repeating-radial-gradient()": {
"syntax": "repeating-radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"
},
"reversed-counter-name": {
"syntax": "reversed( <counter-name> )"
},
"rgb()": {
"syntax": "rgb( <percentage>{3} [ / <alpha-value> ]? ) | rgb( <number>{3} [ / <alpha-value> ]? ) | rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )"
},
"rgba()": {
"syntax": "rgba( <percentage>{3} [ / <alpha-value> ]? ) | rgba( <number>{3} [ / <alpha-value> ]? ) | rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )"
},
"rotate()": {
"syntax": "rotate( [ <angle> | <zero> ] )"
},
"rotate3d()": {
"syntax": "rotate3d( <number> , <number> , <number> , [ <angle> | <zero> ] )"
},
"rotateX()": {
"syntax": "rotateX( [ <angle> | <zero> ] )"
},
"rotateY()": {
"syntax": "rotateY( [ <angle> | <zero> ] )"
},
"rotateZ()": {
"syntax": "rotateZ( [ <angle> | <zero> ] )"
},
"round()": {
"syntax": "round( <rounding-strategy>?, <calc-sum>, <calc-sum> )"
},
"rounding-strategy": {
"syntax": "nearest | up | down | to-zero"
},
"saturate()": {
"syntax": "saturate( <number-percentage> )"
},
"scale()": {
"syntax": "scale( [ <number> | <percentage> ]#{1,2} )"
},
"scale3d()": {
"syntax": "scale3d( [ <number> | <percentage> ]#{3} )"
},
"scaleX()": {
"syntax": "scaleX( [ <number> | <percentage> ] )"
},
"scaleY()": {
"syntax": "scaleY( [ <number> | <percentage> ] )"
},
"scaleZ()": {
"syntax": "scaleZ( [ <number> | <percentage> ] )"
},
"scroll()": {
"syntax": "scroll( [ <axis> || <scroller> ]? )"
},
"scroller": {
"syntax": "root | nearest | self"
},
"self-position": {
"syntax": "center | start | end | self-start | self-end | flex-start | flex-end"
},
"shape-radius": {
"syntax": "<length-percentage> | closest-side | farthest-side"
},
"sign()": {
"syntax": "sign( <calc-sum> )"
},
"skew()": {
"syntax": "skew( [ <angle> | <zero> ] , [ <angle> | <zero> ]? )"
},
"skewX()": {
"syntax": "skewX( [ <angle> | <zero> ] )"
},
"skewY()": {
"syntax": "skewY( [ <angle> | <zero> ] )"
},
"sepia()": {
"syntax": "sepia( <number-percentage> )"
},
"shadow": {
"syntax": "inset? && <length>{2,4} && <color>?"
},
"shadow-t": {
"syntax": "[ <length>{2,3} && <color>? ]"
},
"shape": {
"syntax": "rect(<top>, <right>, <bottom>, <left>)"
},
"shape-box": {
"syntax": "<box> | margin-box"
},
"side-or-corner": {
"syntax": "[ left | right ] || [ top | bottom ]"
},
"sin()": {
"syntax": "sin( <calc-sum> )"
},
"single-animation": {
"syntax": "<'animation-duration'> || <easing-function> || <'animation-delay'> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ] || <single-animation-timeline>"
},
"single-animation-direction": {
"syntax": "normal | reverse | alternate | alternate-reverse"
},
"single-animation-fill-mode": {
"syntax": "none | forwards | backwards | both"
},
"single-animation-iteration-count": {
"syntax": "infinite | <number>"
},
"single-animation-play-state": {
"syntax": "running | paused"
},
"single-animation-timeline": {
"syntax": "auto | none | <dashed-ident> | <scroll()> | <view()>"
},
"single-transition": {
"syntax": "[ none | <single-transition-property> ] || <time> || <easing-function> || <time> || <transition-behavior-value>"
},
"single-transition-property": {
"syntax": "all | <custom-ident>"
},
"size": {
"syntax": "closest-side | farthest-side | closest-corner | farthest-corner | <length> | <length-percentage>{2}"
},
"sqrt()": {
"syntax": "sqrt( <calc-sum> )"
},
"step-position": {
"syntax": "jump-start | jump-end | jump-none | jump-both | start | end"
},
"step-timing-function": {
"syntax": "step-start | step-end | steps(<integer>[, <step-position>]?)"
},
"subclass-selector": {
"syntax": "<id-selector> | <class-selector> | <attribute-selector> | <pseudo-class-selector>"
},
"supports-condition": {
"syntax": "not <supports-in-parens> | <supports-in-parens> [ and <supports-in-parens> ]* | <supports-in-parens> [ or <supports-in-parens> ]*"
},
"supports-in-parens": {
"syntax": "( <supports-condition> ) | <supports-feature> | <general-enclosed>"
},
"supports-feature": {
"syntax": "<supports-decl> | <supports-selector-fn>"
},
"supports-decl": {
"syntax": "( <declaration> )"
},
"supports-selector-fn": {
"syntax": "selector( <complex-selector> )"
},
"symbol": {
"syntax": "<string> | <image> | <custom-ident>"
},
"system-color": {
"syntax": "AccentColor | AccentColorText | ActiveText | ButtonBorder | ButtonFace | ButtonText | Canvas | CanvasText | Field | FieldText | GrayText | Highlight | HighlightText | LinkText | Mark | MarkText | SelectedItem | SelectedItemText | VisitedText"
},
"tan()": {
"syntax": "tan( <calc-sum> )"
},
"target": {
"syntax": "<target-counter()> | <target-counters()> | <target-text()>"
},
"target-counter()": {
"syntax": "target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )"
},
"target-counters()": {
"syntax": "target-counters( [ <string> | <url> ] , <custom-ident> , <string> , <counter-style>? )"
},
"target-text()": {
"syntax": "target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )"
},
"time-percentage": {
"syntax": "<time> | <percentage>"
},
"timeline-range-name": {
"syntax": "cover | contain | entry | exit | entry-crossing | exit-crossing"
},
"easing-function": {
"syntax": "linear | <cubic-bezier-timing-function> | <step-timing-function>"
},
"track-breadth": {
"syntax": "<length-percentage> | <flex> | min-content | max-content | auto"
},
"track-list": {
"syntax": "[ <line-names>? [ <track-size> | <track-repeat> ] ]+ <line-names>?"
},
"track-repeat": {
"syntax": "repeat( [ <integer [1,∞]> ] , [ <line-names>? <track-size> ]+ <line-names>? )"
},
"track-size": {
"syntax": "<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( <length-percentage> )"
},
"transform-function": {
"syntax": "<matrix()> | <translate()> | <translateX()> | <translateY()> | <scale()> | <scaleX()> | <scaleY()> | <rotate()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <translate3d()> | <translateZ()> | <scale3d()> | <scaleZ()> | <rotate3d()> | <rotateX()> | <rotateY()> | <rotateZ()> | <perspective()>"
},
"transform-list": {
"syntax": "<transform-function>+"
},
"transition-behavior-value": {
"syntax": "normal | allow-discrete"
},
"translate()": {
"syntax": "translate( <length-percentage> , <length-percentage>? )"
},
"translate3d()": {
"syntax": "translate3d( <length-percentage> , <length-percentage> , <length> )"
},
"translateX()": {
"syntax": "translateX( <length-percentage> )"
},
"translateY()": {
"syntax": "translateY( <length-percentage> )"
},
"translateZ()": {
"syntax": "translateZ( <length> )"
},
"type-or-unit": {
"syntax": "string | color | url | integer | number | length | angle | time | frequency | cap | ch | em | ex | ic | lh | rlh | rem | vb | vi | vw | vh | vmin | vmax | mm | Q | cm | in | pt | pc | px | deg | grad | rad | turn | ms | s | Hz | kHz | %"
},
"type-selector": {
"syntax": "<wq-name> | <ns-prefix>? '*'"
},
"var()": {
"syntax": "var( <custom-property-name> , <declaration-value>? )"
},
"view()": {
"syntax": "view([<axis> || <'view-timeline-inset'>]?)"
},
"viewport-length": {
"syntax": "auto | <length-percentage>"
},
"visual-box": {
"syntax": "content-box | padding-box | border-box"
},
"wq-name": {
"syntax": "<ns-prefix>? <ident-token>"
}
}

15
node_modules/mdn-data/css/syntaxes.schema.json generated vendored Normal file
View File

@@ -0,0 +1,15 @@
{
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"required": [
"syntax"
],
"properties": {
"syntax": {
"type": "string"
}
}
}
}

287
node_modules/mdn-data/css/types.json generated vendored Normal file
View File

@@ -0,0 +1,287 @@
{
"an-plus-b": {
"groups": [
"Selectors"
],
"status": "standard"
},
"angle": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/angle"
},
"angle-percentage": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/angle-percentage"
},
"basic-shape": {
"groups": [
"CSS Shapes",
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/basic-shape"
},
"blend-mode": {
"groups": [
"Compositing and Blending",
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/blend-mode"
},
"color": {
"groups": [
"CSS Color",
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value"
},
"custom-ident": {
"groups": [
"CSS Will Change",
"CSS Counter Styles",
"CSS Lists and Counters",
"CSS Animations",
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/custom-ident"
},
"dashed-ident": {
"groups": [
"CSS Animations",
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/dashed-ident"
},
"dimension": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/dimension"
},
"display-outside": {
"groups": [
"CSS Display"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/display-outside"
},
"display-inside": {
"groups": [
"CSS Display"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/display-inside"
},
"display-listitem": {
"groups": [
"CSS Display"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/display-listitem"
},
"display-internal": {
"groups": [
"CSS Display"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/display-internal"
},
"display-box": {
"groups": [
"CSS Display"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/display-box"
},
"display-legacy": {
"groups": [
"CSS Display"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/display-legacy"
},
"easing-function": {
"groups": [
"CSS Animations",
"CSS Transitions",
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/easing-function"
},
"filter-function": {
"groups": [
"Filter Effects"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function"
},
"flex": {
"groups": [
"CSS Grid Layout",
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/flex_value"
},
"frequency": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/frequency"
},
"frequency-percentage": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/frequency-percentage"
},
"gradient": {
"groups": [
"CSS Images",
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient"
},
"ident": {
"groups": [
"CSS Types"
],
"status": "standard"
},
"image": {
"groups": [
"CSS Images",
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/image"
},
"integer": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/integer"
},
"length": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/length"
},
"length-percentage": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/length-percentage"
},
"line-style": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/line-style"
},
"number": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/number"
},
"overflow": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overflow_value"
},
"percentage": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/percentage"
},
"position": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position_value"
},
"ratio": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/ratio"
},
"resolution": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/resolution"
},
"shape": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/shape"
},
"string": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/string"
},
"time": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/time"
},
"time-percentage": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/time-percentage"
},
"transform-function": {
"groups": [
"CSS Transforms",
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function"
},
"url": {
"groups": [
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/url"
}
}

32
node_modules/mdn-data/css/types.schema.json generated vendored Normal file
View File

@@ -0,0 +1,32 @@
{
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"groups": {
"type": "array",
"minitems": 1,
"uniqueItems": true,
"items": {
"$ref": "definitions.json#/groupList"
}
},
"status": {
"enum": [
"standard",
"nonstandard",
"experimental"
]
},
"mdn_url": {
"type": "string",
"pattern": "^https://developer.mozilla.org/docs/Web/CSS/"
}
},
"required": [
"groups",
"status"
]
}
}

213
node_modules/mdn-data/css/units.json generated vendored Normal file
View File

@@ -0,0 +1,213 @@
{
"cap": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"ch": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"cm": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"deg": {
"groups": [
"CSS Units",
"CSS Angles"
],
"status": "standard"
},
"dpcm": {
"groups": [
"CSS Units",
"CSS Resolutions"
],
"status": "standard"
},
"dpi": {
"groups": [
"CSS Units",
"CSS Resolutions"
],
"status": "standard"
},
"dppx": {
"groups": [
"CSS Units",
"CSS Resolutions"
],
"status": "standard"
},
"em": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"ex": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"fr": {
"groups": [
"CSS Units",
"CSS Flexible Lengths",
"CSS Grid Layout"
],
"status": "standard"
},
"grad": {
"groups": [
"CSS Units",
"CSS Angles"
],
"status": "standard"
},
"Hz": {
"groups": [
"CSS Units",
"CSS Frequencies"
],
"status": "standard"
},
"ic": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"in": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"kHz": {
"groups": [
"CSS Units",
"CSS Frequencies"
],
"status": "standard"
},
"mm": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"ms": {
"groups": [
"CSS Units",
"CSS Times"
],
"status": "standard"
},
"pc": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"pt": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"px": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"Q": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"rad": {
"groups": [
"CSS Units",
"CSS Angles"
],
"status": "standard"
},
"rem": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"s": {
"groups": [
"CSS Units",
"CSS Times"
],
"status": "standard"
},
"turn": {
"groups": [
"CSS Units",
"CSS Angles"
],
"status": "standard"
},
"vh": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"vmax": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"vmin": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"vw": {
"groups": [
"CSS Units",
"CSS Lengths"
],
"status": "standard"
},
"x": {
"groups": [
"CSS Units",
"CSS Resolutions"
],
"status": "standard"
}
}

28
node_modules/mdn-data/css/units.schema.json generated vendored Normal file
View File

@@ -0,0 +1,28 @@
{
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"groups": {
"type": "array",
"minitems": 1,
"uniqueItems": true,
"items": {
"$ref": "definitions.json#/groupList"
}
},
"status": {
"enum": [
"standard",
"nonstandard",
"experimental"
]
}
},
"required": [
"groups",
"status"
]
}
}

5
node_modules/mdn-data/index.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
module.exports = {
api: require('./api'),
css: require('./css'),
l10n: require('./l10n'),
}

1876
node_modules/mdn-data/l10n/css.json generated vendored Normal file

File diff suppressed because it is too large Load Diff

3
node_modules/mdn-data/l10n/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
module.exports = {
css: require('./css'),
}

38
node_modules/mdn-data/package.json generated vendored Normal file
View File

@@ -0,0 +1,38 @@
{
"name": "mdn-data",
"version": "2.12.2",
"description": "Open Web data by the Mozilla Developer Network",
"main": "index.js",
"files": [
"api/index.js",
"api/*.json",
"css/index.js",
"css/*.json",
"l10n/index.js",
"l10n/*.json"
],
"repository": {
"type": "git",
"url": "https://github.com/mdn/data.git"
},
"keywords": [
"data",
"mdn",
"mozilla",
"css"
],
"author": "Mozilla Developer Network",
"license": "CC0-1.0",
"bugs": {
"url": "https://github.com/mdn/data/issues"
},
"homepage": "https://developer.mozilla.org",
"devDependencies": {
"ajv": "^6.12.6",
"better-ajv-errors": "^1.1.2"
},
"scripts": {
"lint": "node test/lint",
"test": "npm run lint"
}
}