at-rules.json 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  1. {
  2. "@charset": {
  3. "syntax": "@charset \"<charset>\";",
  4. "groups": [
  5. "CSS Syntax"
  6. ],
  7. "status": "standard",
  8. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@charset"
  9. },
  10. "@counter-style": {
  11. "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}",
  12. "interfaces": [
  13. "CSSCounterStyleRule"
  14. ],
  15. "groups": [
  16. "CSS Counter Styles"
  17. ],
  18. "descriptors": {
  19. "additive-symbols": {
  20. "syntax": "[ <integer [0,∞]> && <symbol> ]#",
  21. "media": "all",
  22. "initial": "n/a (required)",
  23. "percentages": "no",
  24. "computed": "asSpecified",
  25. "order": "orderOfAppearance",
  26. "status": "standard",
  27. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style/additive-symbols"
  28. },
  29. "fallback": {
  30. "syntax": "<counter-style-name>",
  31. "media": "all",
  32. "initial": "decimal",
  33. "percentages": "no",
  34. "computed": "asSpecified",
  35. "order": "uniqueOrder",
  36. "status": "standard",
  37. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style/fallback"
  38. },
  39. "negative": {
  40. "syntax": "<symbol> <symbol>?",
  41. "media": "all",
  42. "initial": "\"-\" hyphen-minus",
  43. "percentages": "no",
  44. "computed": "asSpecified",
  45. "order": "orderOfAppearance",
  46. "status": "standard",
  47. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style/negative"
  48. },
  49. "pad": {
  50. "syntax": "<integer [0,∞]> && <symbol>",
  51. "media": "all",
  52. "initial": "0 \"\"",
  53. "percentages": "no",
  54. "computed": "asSpecified",
  55. "order": "uniqueOrder",
  56. "status": "standard",
  57. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style/pad"
  58. },
  59. "prefix": {
  60. "syntax": "<symbol>",
  61. "media": "all",
  62. "initial": "\"\"",
  63. "percentages": "no",
  64. "computed": "asSpecified",
  65. "order": "uniqueOrder",
  66. "status": "standard",
  67. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style/prefix"
  68. },
  69. "range": {
  70. "syntax": "[ [ <integer> | infinite ]{2} ]# | auto",
  71. "media": "all",
  72. "initial": "auto",
  73. "percentages": "no",
  74. "computed": "asSpecified",
  75. "order": "orderOfAppearance",
  76. "status": "standard",
  77. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style/range"
  78. },
  79. "speak-as": {
  80. "syntax": "auto | bullets | numbers | words | spell-out | <counter-style-name>",
  81. "media": "all",
  82. "initial": "auto",
  83. "percentages": "no",
  84. "computed": "asSpecified",
  85. "order": "uniqueOrder",
  86. "status": "standard",
  87. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style/speak-as"
  88. },
  89. "suffix": {
  90. "syntax": "<symbol>",
  91. "media": "all",
  92. "initial": "\". \"",
  93. "percentages": "no",
  94. "computed": "asSpecified",
  95. "order": "uniqueOrder",
  96. "status": "standard",
  97. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style/suffix"
  98. },
  99. "symbols": {
  100. "syntax": "<symbol>+",
  101. "media": "all",
  102. "initial": "n/a (required)",
  103. "percentages": "no",
  104. "computed": "asSpecified",
  105. "order": "orderOfAppearance",
  106. "status": "standard",
  107. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style/symbols"
  108. },
  109. "system": {
  110. "syntax": "cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]",
  111. "media": "all",
  112. "initial": "symbolic",
  113. "percentages": "no",
  114. "computed": "asSpecified",
  115. "order": "uniqueOrder",
  116. "status": "standard",
  117. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style/system"
  118. }
  119. },
  120. "status": "standard",
  121. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style"
  122. },
  123. "@container": {
  124. "syntax": "@container <container-condition># {\n <block-contents>\n}",
  125. "interfaces": [
  126. "CSSContainerRule"
  127. ],
  128. "groups": [
  129. "CSS Conditional Rules"
  130. ],
  131. "status": "standard",
  132. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@container"
  133. },
  134. "@document": {
  135. "syntax": "@document [ <url> | url-prefix(<string>) | domain(<string>) | media-document(<string>) | regexp(<string>) ]# {\n <group-rule-body>\n}",
  136. "interfaces": [
  137. "CSSDocumentRule"
  138. ],
  139. "groups": [
  140. "CSS Conditional Rules"
  141. ],
  142. "status": "nonstandard",
  143. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@document"
  144. },
  145. "@font-face": {
  146. "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}",
  147. "interfaces": [
  148. "CSSFontFaceRule"
  149. ],
  150. "groups": [
  151. "CSS Fonts"
  152. ],
  153. "descriptors": {
  154. "ascent-override": {
  155. "syntax": "normal | <percentage>",
  156. "media": "all",
  157. "initial": "normal",
  158. "percentages": "asSpecified",
  159. "computed": "asSpecified",
  160. "order": "orderOfAppearance",
  161. "status": "standard",
  162. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/ascent-override"
  163. },
  164. "descent-override": {
  165. "syntax": "normal | <percentage>",
  166. "media": "all",
  167. "initial": "normal",
  168. "percentages": "asSpecified",
  169. "computed": "asSpecified",
  170. "order": "orderOfAppearance",
  171. "status": "standard",
  172. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/descent-override"
  173. },
  174. "font-display": {
  175. "syntax": "auto | block | swap | fallback | optional",
  176. "media": "visual",
  177. "percentages": "no",
  178. "initial": "auto",
  179. "computed": "asSpecified",
  180. "order": "uniqueOrder",
  181. "status": "standard",
  182. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-display"
  183. },
  184. "font-family": {
  185. "syntax": "<family-name>",
  186. "media": "all",
  187. "initial": "n/a (required)",
  188. "percentages": "no",
  189. "computed": "asSpecified",
  190. "order": "uniqueOrder",
  191. "status": "standard",
  192. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-family"
  193. },
  194. "font-feature-settings": {
  195. "syntax": "normal | <feature-tag-value>#",
  196. "media": "all",
  197. "initial": "normal",
  198. "percentages": "no",
  199. "computed": "asSpecified",
  200. "order": "orderOfAppearance",
  201. "status": "standard",
  202. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-feature-settings"
  203. },
  204. "font-stretch": {
  205. "syntax": "<font-stretch-absolute>{1,2}",
  206. "media": "all",
  207. "initial": "normal",
  208. "percentages": "no",
  209. "computed": "asSpecified",
  210. "order": "uniqueOrder",
  211. "status": "obsolete",
  212. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-stretch"
  213. },
  214. "font-style": {
  215. "syntax": "normal | italic | oblique <angle>{0,2}",
  216. "media": "all",
  217. "initial": "normal",
  218. "percentages": "no",
  219. "computed": "asSpecified",
  220. "order": "uniqueOrder",
  221. "status": "standard",
  222. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-style"
  223. },
  224. "font-variation-settings": {
  225. "syntax": "normal | [ <string> <number> ]#",
  226. "media": "all",
  227. "initial": "normal",
  228. "percentages": "no",
  229. "computed": "asSpecified",
  230. "order": "orderOfAppearance",
  231. "status": "standard",
  232. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-variation-settings"
  233. },
  234. "font-weight": {
  235. "syntax": "<font-weight-absolute>{1,2}",
  236. "media": "all",
  237. "initial": "normal",
  238. "percentages": "no",
  239. "computed": "asSpecified",
  240. "order": "uniqueOrder",
  241. "status": "standard",
  242. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-weight"
  243. },
  244. "line-gap-override": {
  245. "syntax": "normal | <percentage>",
  246. "media": "all",
  247. "initial": "normal",
  248. "percentages": "asSpecified",
  249. "computed": "asSpecified",
  250. "order": "orderOfAppearance",
  251. "status": "standard",
  252. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/line-gap-override"
  253. },
  254. "size-adjust": {
  255. "syntax": "<percentage>",
  256. "media": "all",
  257. "initial": "100%",
  258. "percentages": "asSpecified",
  259. "computed": "asSpecified",
  260. "order": "orderOfAppearance",
  261. "status": "standard",
  262. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/size-adjust"
  263. },
  264. "src": {
  265. "syntax": "[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",
  266. "media": "all",
  267. "initial": "n/a (required)",
  268. "percentages": "no",
  269. "computed": "asSpecified",
  270. "order": "orderOfAppearance",
  271. "status": "standard",
  272. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/src"
  273. },
  274. "unicode-range": {
  275. "syntax": "<unicode-range-token>#",
  276. "media": "all",
  277. "initial": "U+0-10FFFF",
  278. "percentages": "no",
  279. "computed": "asSpecified",
  280. "order": "orderOfAppearance",
  281. "status": "standard",
  282. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/unicode-range"
  283. }
  284. },
  285. "status": "standard",
  286. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face"
  287. },
  288. "@font-feature-values": {
  289. "syntax": "@font-feature-values <family-name># {\n <feature-value-block-list>\n}",
  290. "interfaces": [
  291. "CSSFontFeatureValuesRule"
  292. ],
  293. "groups": [
  294. "CSS Fonts"
  295. ],
  296. "status": "standard",
  297. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"
  298. },
  299. "@font-palette-values": {
  300. "syntax": "@font-palette-values <dashed-ident> {\n <declaration-list>\n}",
  301. "interfaces": [
  302. "CSSFontPaletteValuesRule"
  303. ],
  304. "groups": [
  305. "CSS Fonts"
  306. ],
  307. "descriptors": {
  308. "base-palette": {
  309. "syntax": "light | dark | <integer [0,∞]>",
  310. "media": "all",
  311. "initial": "n/a (required)",
  312. "percentages": "no",
  313. "computed": "asSpecified",
  314. "order": "uniqueOrder",
  315. "status": "standard",
  316. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/base-palette"
  317. },
  318. "font-family": {
  319. "syntax": "<family-name>#",
  320. "media": "all",
  321. "initial": "n/a (required)",
  322. "percentages": "no",
  323. "computed": "asSpecified",
  324. "order": "orderOfAppearance",
  325. "status": "standard",
  326. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/font-family"
  327. },
  328. "override-colors": {
  329. "syntax": "[ <integer [0,∞]> <color> ]#",
  330. "media": "all",
  331. "initial": "n/a (required)",
  332. "percentages": "no",
  333. "computed": "asSpecified",
  334. "order": "orderOfAppearance",
  335. "status": "standard",
  336. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/override-colors"
  337. }
  338. },
  339. "status": "standard",
  340. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values"
  341. },
  342. "@import": {
  343. "syntax": "@import [ <string> | <url> ]\n [ layer | layer(<layer-name>) ]?\n [ supports( [ <supports-condition> | <declaration> ] ) ]?\n <media-query-list>? ;",
  344. "interfaces": [
  345. "CSSImportRule"
  346. ],
  347. "groups": [
  348. "CSS Cascading and Inheritance"
  349. ],
  350. "status": "standard",
  351. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@import"
  352. },
  353. "@keyframes": {
  354. "syntax": "@keyframes <keyframes-name> {\n <qualified-rule-list>\n}",
  355. "interfaces": [
  356. "CSSKeyframeRule",
  357. "CSSKeyframesRule"
  358. ],
  359. "groups": [
  360. "CSS Animations"
  361. ],
  362. "status": "standard",
  363. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@keyframes"
  364. },
  365. "@layer": {
  366. "syntax": "@layer [ <layer-name># | <layer-name>? {\n <stylesheet>\n} ]",
  367. "interfaces": [
  368. "CSSLayerBlockRule",
  369. "CSSLayerStatementRule"
  370. ],
  371. "groups": [
  372. "CSS Cascading and Inheritance"
  373. ],
  374. "status": "standard",
  375. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@layer"
  376. },
  377. "@media": {
  378. "syntax": "@media <media-query-list> {\n <group-rule-body>\n}",
  379. "interfaces": [
  380. "CSSMediaRule"
  381. ],
  382. "groups": [
  383. "CSS Conditional Rules",
  384. "Media Queries"
  385. ],
  386. "status": "standard",
  387. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@media"
  388. },
  389. "@namespace": {
  390. "syntax": "@namespace <namespace-prefix>? [ <string> | <url> ];",
  391. "interfaces": [
  392. "CSSNamespaceRule"
  393. ],
  394. "groups": [
  395. "CSS Namespaces"
  396. ],
  397. "status": "standard",
  398. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@namespace"
  399. },
  400. "@page": {
  401. "syntax": "@page <page-selector-list> {\n <page-body>\n}",
  402. "interfaces": [
  403. "CSSPageRule"
  404. ],
  405. "groups": [
  406. "CSS Paged Media"
  407. ],
  408. "descriptors": {
  409. "bleed": {
  410. "syntax": "auto | <length>",
  411. "media": [
  412. "visual",
  413. "paged"
  414. ],
  415. "initial": "auto",
  416. "percentages": "no",
  417. "computed": "asSpecified",
  418. "order": "uniqueOrder",
  419. "status": "standard"
  420. },
  421. "marks": {
  422. "syntax": "none | [ crop || cross ]",
  423. "media": [
  424. "visual",
  425. "paged"
  426. ],
  427. "initial": "none",
  428. "percentages": "no",
  429. "computed": "asSpecified",
  430. "order": "orderOfAppearance",
  431. "status": "standard"
  432. },
  433. "page-orientation": {
  434. "syntax": "upright | rotate-left | rotate-right",
  435. "media": [
  436. "visual",
  437. "paged"
  438. ],
  439. "initial": "upright",
  440. "percentages": "no",
  441. "computed": "asSpecified",
  442. "order": "orderOfAppearance",
  443. "status": "standard",
  444. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@page/page-orientation"
  445. },
  446. "size": {
  447. "syntax": "<length [0,∞]>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",
  448. "media": [
  449. "visual",
  450. "paged"
  451. ],
  452. "initial": "auto",
  453. "percentages": "no",
  454. "computed": "asSpecifiedRelativeToAbsoluteLengths",
  455. "order": "orderOfAppearance",
  456. "status": "standard",
  457. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@page/size"
  458. }
  459. },
  460. "status": "standard",
  461. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@page"
  462. },
  463. "@position-try": {
  464. "syntax": "@position-try <dashed-ident> {\n <declaration-list>\n}",
  465. "interfaces": [
  466. "CSSPositionTryRule"
  467. ],
  468. "groups": [
  469. "CSS Anchor Positioning"
  470. ],
  471. "status": "experimental",
  472. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@position-try"
  473. },
  474. "@property": {
  475. "syntax": "@property <custom-property-name> {\n <declaration-list>\n}",
  476. "interfaces": [
  477. "CSSPropertyRule"
  478. ],
  479. "groups": [
  480. "CSS Houdini"
  481. ],
  482. "descriptors": {
  483. "inherits": {
  484. "syntax": "true | false",
  485. "media": "all",
  486. "percentages": "no",
  487. "initial": "auto",
  488. "computed": "asSpecified",
  489. "order": "uniqueOrder",
  490. "status": "standard",
  491. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property/inherits"
  492. },
  493. "initial-value": {
  494. "syntax": "<declaration-value>?",
  495. "media": "all",
  496. "initial": "n/a (required)",
  497. "percentages": "no",
  498. "computed": "asSpecified",
  499. "order": "uniqueOrder",
  500. "status": "standard",
  501. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property/initial-value"
  502. },
  503. "syntax": {
  504. "syntax": "<string>",
  505. "media": "all",
  506. "percentages": "no",
  507. "initial": "n/a (required)",
  508. "computed": "asSpecified",
  509. "order": "uniqueOrder",
  510. "status": "standard",
  511. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property/syntax"
  512. }
  513. },
  514. "status": "standard",
  515. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property"
  516. },
  517. "@scope": {
  518. "syntax": "@scope [(<scope-start>)]? [to (<scope-end>)]? {\n <rule-list>\n}",
  519. "interfaces": [
  520. "CSSScopeRule"
  521. ],
  522. "groups": [
  523. "CSS Conditional Rules"
  524. ],
  525. "status": "standard",
  526. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@scope"
  527. },
  528. "@starting-style": {
  529. "syntax": "@starting-style {\n <declaration-list> | <group-rule-body>\n}",
  530. "interfaces": [
  531. "CSSStartingStyleRule"
  532. ],
  533. "groups": [
  534. "CSS Transitions"
  535. ],
  536. "status": "standard",
  537. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@starting-style"
  538. },
  539. "@supports": {
  540. "syntax": "@supports <supports-condition> {\n <group-rule-body>\n}",
  541. "interfaces": [
  542. "CSSSupportsRule"
  543. ],
  544. "groups": [
  545. "CSS Conditional Rules"
  546. ],
  547. "status": "standard",
  548. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@supports"
  549. },
  550. "@view-transition": {
  551. "syntax": "@view-transition {\n <declaration-list>\n}",
  552. "interfaces": [
  553. "CSSViewTransitionRule"
  554. ],
  555. "groups": [
  556. "CSS View Transitions"
  557. ],
  558. "descriptors": {
  559. "navigation": {
  560. "syntax": "auto | none",
  561. "media": "all",
  562. "initial": "none",
  563. "percentages": "no",
  564. "computed": "asSpecified",
  565. "order": "uniqueOrder",
  566. "status": "standard"
  567. },
  568. "types": {
  569. "syntax": "none | <custom-ident>+",
  570. "media": "all",
  571. "initial": "none",
  572. "percentages": "no",
  573. "computed": "asSpecified",
  574. "order": "uniqueOrder",
  575. "status": "standard"
  576. }
  577. },
  578. "status": "standard",
  579. "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@view-transition"
  580. }
  581. }