Skip to content
Snippets Groups Projects
Commit 3d37b5de authored by Yadd's avatar Yadd
Browse files

Add patch to fix mdn-data

Closes: #1005620
parent e0db7b4e
No related branches found
No related tags found
No related merge requests found
mdn-data
Description: revert mdn-data changes
Bug-Debian: https://bugs.debian.org/1005620
Forwarded: https://github.com/csstree/csstree/issues/180
Last-Update: 2022-02-16
--- a/node_modules/mdn-data/css/at-rules.json 2022-02-16 17:08:07.551767079 +0100
+++ b/node_modules/mdn-data/css/at-rules.json 2022-02-16 17:08:56.796088895 +0100
@@ -273,9 +273,8 @@
"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>? ;",
+ "syntax": "@import [ <string> | <url> ] [ <media-query-list> ]?;",
"groups": [
- "CSS Conditional Rules",
"Media Queries"
],
"status": "standard",
@@ -293,18 +292,6 @@
"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": [
@@ -418,17 +405,6 @@
"status": "experimental",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property"
},
- "@scroll-timeline": {
- "syntax": "@scroll-timeline <timeline-name> { <declaration-list> }",
- "interfaces": [
- "ScrollTimeline"
- ],
- "groups": [
- "CSS Animations"
- ],
- "status": "standard",
- "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@scroll-timeline"
- },
"@supports": {
"syntax": "@supports <supports-condition> {\n <group-rule-body>\n}",
"interfaces": [
......@@ -4,5 +4,6 @@
dh $@
override_dh_auto_build:
patch -p1 <debian/patches/mdn-data.patch
node scripts/bundle
node scripts/esm-to-cjs.cjs
# Used during build
patch-file-present-but-not-mentioned-in-series mdn-data.patch
# False positives
very-long-line-length-in-source-file CHANGELOG.md line *
very-long-line-length-in-source-file data/patch.json line *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment