patch.json 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853
  1. {
  2. "atrules": {
  3. "charset": {
  4. "prelude": "<string>"
  5. },
  6. "container": {
  7. "prelude": "[ <container-name> ]? <container-condition>"
  8. },
  9. "font-face": {
  10. "descriptors": {
  11. "unicode-range": {
  12. "comment": "replaces <unicode-range>, an old production name",
  13. "syntax": "<urange>#"
  14. }
  15. }
  16. },
  17. "font-features-values": {
  18. "comment": "The features values syntax is defined in https://www.w3.org/TR/css-fonts-4/#at-ruledef-font-feature-values",
  19. "prelude": "[<string> | <custom-ident>]+",
  20. "descriptors": {
  21. "font-display": "auto | block | swap | fallback | optional"
  22. }
  23. },
  24. "scope": {
  25. "prelude": "[ ( <scope-start> ) ]? [ to ( <scope-end> ) ]?"
  26. },
  27. "position-try": {
  28. "comment": "The list of descriptors: https://developer.mozilla.org/en-US/docs/Web/CSS/@position-try",
  29. "descriptors": {
  30. "top": "<'top'>",
  31. "left": "<'left'>",
  32. "bottom": "<'bottom'>",
  33. "right": "<'right'>",
  34. "inset-block-start": "<'inset-block-start'>",
  35. "inset-block-end": "<'inset-block-end'>",
  36. "inset-inline-start": "<'inset-inline-start'>",
  37. "inset-inline-end": "<'inset-inline-end'>",
  38. "inset-block": "<'inset-block'>",
  39. "inset-inline": "<'inset-inline'>",
  40. "inset": "<'inset'>",
  41. "margin-top": "<'margin-top'>",
  42. "margin-left": "<'margin-left'>",
  43. "margin-bottom": "<'margin-bottom'>",
  44. "margin-right": "<'margin-right'>",
  45. "margin-block-start": "<'margin-block-start'>",
  46. "margin-block-end": "<'margin-block-end'>",
  47. "margin-inline-start": "<'margin-inline-start'>",
  48. "margin-inline-end": "<'margin-inline-end'>",
  49. "margin": "<'margin'>",
  50. "margin-block": "<'margin-block'>",
  51. "margin-inline": "<'margin-inline'>",
  52. "width": "<'width'>",
  53. "height": "<'height'>",
  54. "min-width": "<'min-width'>",
  55. "min-height": "<'min-height'>",
  56. "max-width": "<'max-width'>",
  57. "max-height": "<'max-height'>",
  58. "block-size": "<'block-size'>",
  59. "inline-size": "<'inline-size'>",
  60. "min-block-size": "<'min-block-size'>",
  61. "min-inline-size": "<'min-inline-size'>",
  62. "max-block-size": "<'max-block-size'>",
  63. "max-inline-size": "<'max-inline-size'>",
  64. "align-self": "<'align-self'> | anchor-center",
  65. "justify-self": "<'justify-self'> | anchor-center"
  66. }
  67. }
  68. },
  69. "properties": {
  70. "-moz-background-clip": {
  71. "comment": "deprecated syntax in old Firefox, https://developer.mozilla.org/en/docs/Web/CSS/background-clip",
  72. "syntax": "padding | border"
  73. },
  74. "-moz-border-radius-bottomleft": {
  75. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius",
  76. "syntax": "<'border-bottom-left-radius'>"
  77. },
  78. "-moz-border-radius-bottomright": {
  79. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius",
  80. "syntax": "<'border-bottom-right-radius'>"
  81. },
  82. "-moz-border-radius-topleft": {
  83. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius",
  84. "syntax": "<'border-top-left-radius'>"
  85. },
  86. "-moz-border-radius-topright": {
  87. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius",
  88. "syntax": "<'border-bottom-right-radius'>"
  89. },
  90. "-moz-control-character-visibility": {
  91. "comment": "firefox specific keywords, https://bugzilla.mozilla.org/show_bug.cgi?id=947588",
  92. "syntax": "visible | hidden"
  93. },
  94. "-moz-osx-font-smoothing": {
  95. "comment": "misssed old syntax https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth",
  96. "syntax": "auto | grayscale"
  97. },
  98. "-moz-user-select": {
  99. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/user-select",
  100. "syntax": "none | text | all | -moz-none"
  101. },
  102. "-ms-flex-align": {
  103. "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align",
  104. "syntax": "start | end | center | baseline | stretch"
  105. },
  106. "-ms-flex-item-align": {
  107. "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align",
  108. "syntax": "auto | start | end | center | baseline | stretch"
  109. },
  110. "-ms-flex-line-pack": {
  111. "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-line-pack",
  112. "syntax": "start | end | center | justify | distribute | stretch"
  113. },
  114. "-ms-flex-negative": {
  115. "comment": "misssed old syntax implemented in IE; TODO: find references for comfirmation",
  116. "syntax": "<'flex-shrink'>"
  117. },
  118. "-ms-flex-pack": {
  119. "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-pack",
  120. "syntax": "start | end | center | justify | distribute"
  121. },
  122. "-ms-flex-order": {
  123. "comment": "misssed old syntax implemented in IE; https://msdn.microsoft.com/en-us/library/jj127303(v=vs.85).aspx",
  124. "syntax": "<integer>"
  125. },
  126. "-ms-flex-positive": {
  127. "comment": "misssed old syntax implemented in IE; TODO: find references for comfirmation",
  128. "syntax": "<'flex-grow'>"
  129. },
  130. "-ms-flex-preferred-size": {
  131. "comment": "misssed old syntax implemented in IE; TODO: find references for comfirmation",
  132. "syntax": "<'flex-basis'>"
  133. },
  134. "-ms-interpolation-mode": {
  135. "comment": "https://msdn.microsoft.com/en-us/library/ff521095(v=vs.85).aspx",
  136. "syntax": "nearest-neighbor | bicubic"
  137. },
  138. "-ms-grid-column-align": {
  139. "comment": "add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466338.aspx",
  140. "syntax": "start | end | center | stretch"
  141. },
  142. "-ms-grid-row-align": {
  143. "comment": "add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466348.aspx",
  144. "syntax": "start | end | center | stretch"
  145. },
  146. "-ms-hyphenate-limit-last": {
  147. "comment": "misssed old syntax implemented in IE; https://www.w3.org/TR/css-text-4/#hyphenate-line-limits",
  148. "syntax": "none | always | column | page | spread"
  149. },
  150. "-webkit-appearance": {
  151. "comment": "webkit specific keywords",
  152. "references": [
  153. "http://css-infos.net/property/-webkit-appearance"
  154. ],
  155. "syntax": "none | button | button-bevel | caps-lock-indicator | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbargripper-horizontal | scrollbargripper-vertical | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield | -apple-pay-button"
  156. },
  157. "-webkit-background-clip": {
  158. "comment": "https://developer.mozilla.org/en/docs/Web/CSS/background-clip",
  159. "syntax": "[ <visual-box> | border | padding | content | text ]#"
  160. },
  161. "-webkit-column-break-after": {
  162. "comment": "added, http://help.dottoro.com/lcrthhhv.php",
  163. "syntax": "always | auto | avoid"
  164. },
  165. "-webkit-column-break-before": {
  166. "comment": "added, http://help.dottoro.com/lcxquvkf.php",
  167. "syntax": "always | auto | avoid"
  168. },
  169. "-webkit-column-break-inside": {
  170. "comment": "added, http://help.dottoro.com/lclhnthl.php",
  171. "syntax": "always | auto | avoid"
  172. },
  173. "-webkit-font-smoothing": {
  174. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth",
  175. "syntax": "auto | none | antialiased | subpixel-antialiased"
  176. },
  177. "-webkit-mask-box-image": {
  178. "comment": "missed; https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-mask-box-image",
  179. "syntax": "[ <url> | <gradient> | none ] [ <length-percentage>{4} <-webkit-mask-box-repeat>{2} ]?"
  180. },
  181. "-webkit-print-color-adjust": {
  182. "comment": "missed",
  183. "references": [
  184. "https://developer.mozilla.org/en/docs/Web/CSS/-webkit-print-color-adjust"
  185. ],
  186. "syntax": "economy | exact"
  187. },
  188. "-webkit-text-security": {
  189. "comment": "missed; http://help.dottoro.com/lcbkewgt.php",
  190. "syntax": "none | circle | disc | square"
  191. },
  192. "-webkit-user-drag": {
  193. "comment": "missed; http://help.dottoro.com/lcbixvwm.php",
  194. "syntax": "none | element | auto"
  195. },
  196. "-webkit-user-select": {
  197. "comment": "auto is supported by old webkit, https://developer.mozilla.org/en-US/docs/Web/CSS/user-select",
  198. "syntax": "auto | none | text | all"
  199. },
  200. "alignment-baseline": {
  201. "comment": "added SVG property",
  202. "references": [
  203. "https://www.w3.org/TR/SVG/text.html#AlignmentBaselineProperty"
  204. ],
  205. "syntax": "auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical"
  206. },
  207. "baseline-shift": {
  208. "comment": "added SVG property",
  209. "references": [
  210. "https://www.w3.org/TR/SVG/text.html#BaselineShiftProperty"
  211. ],
  212. "syntax": "baseline | sub | super | <svg-length>"
  213. },
  214. "behavior": {
  215. "comment": "added old IE property https://msdn.microsoft.com/en-us/library/ms530723(v=vs.85).aspx",
  216. "syntax": "<url>+"
  217. },
  218. "container-type": {
  219. "comment": "https://www.w3.org/TR/css-contain-3/#propdef-container-type",
  220. "syntax": "normal || [ size | inline-size ]"
  221. },
  222. "cue": {
  223. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  224. "syntax": "<'cue-before'> <'cue-after'>?"
  225. },
  226. "cue-after": {
  227. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  228. "syntax": "<url> <decibel>? | none"
  229. },
  230. "cue-before": {
  231. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  232. "syntax": "<url> <decibel>? | none"
  233. },
  234. "cursor": {
  235. "comment": "added legacy keywords: hand, -webkit-grab. -webkit-grabbing, -webkit-zoom-in, -webkit-zoom-out, -moz-grab, -moz-grabbing, -moz-zoom-in, -moz-zoom-out",
  236. "references": [
  237. "https://www.sitepoint.com/css3-cursor-styles/"
  238. ],
  239. "syntax": "[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing | hand | -webkit-grab | -webkit-grabbing | -webkit-zoom-in | -webkit-zoom-out | -moz-grab | -moz-grabbing | -moz-zoom-in | -moz-zoom-out ] ]"
  240. },
  241. "display": {
  242. "comment": "extended with -ms-flexbox",
  243. "syntax": "| <-non-standard-display>"
  244. },
  245. "position": {
  246. "comment": "extended with -webkit-sticky",
  247. "syntax": "| -webkit-sticky"
  248. },
  249. "dominant-baseline": {
  250. "comment": "added SVG property",
  251. "references": [
  252. "https://www.w3.org/TR/SVG/text.html#DominantBaselineProperty"
  253. ],
  254. "syntax": "auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge"
  255. },
  256. "image-rendering": {
  257. "comment": "extended with <-non-standard-image-rendering>, added SVG keywords optimizeSpeed and optimizeQuality",
  258. "references": [
  259. "https://developer.mozilla.org/en/docs/Web/CSS/image-rendering",
  260. "https://www.w3.org/TR/SVG/painting.html#ImageRenderingProperty"
  261. ],
  262. "syntax": "| optimizeSpeed | optimizeQuality | <-non-standard-image-rendering>"
  263. },
  264. "fill-opacity": {
  265. "comment": "added SVG property",
  266. "references": [
  267. "https://developer.mozilla.org/en-US/docs/Web/CSS/fill-opacity",
  268. "https://www.w3.org/TR/SVG/painting.html#FillProperty"
  269. ],
  270. "syntax": "<number-zero-one> | <percentage>"
  271. },
  272. "filter": {
  273. "comment": "extend with IE legacy syntaxes",
  274. "syntax": "| <-ms-filter-function-list>"
  275. },
  276. "font": {
  277. "comment": "align with font-4, fix <'font-family'>#, add non standard fonts",
  278. "references": [
  279. "https://drafts.csswg.org/css-fonts-4/#font-prop",
  280. "https://github.com/w3c/csswg-drafts/pull/10832",
  281. "https://webkit.org/blog/3709/using-the-system-font-in-web-content/"
  282. ],
  283. "syntax": "[ [ <'font-style'> || <font-variant-css2> || <'font-weight'> || <font-width-css3> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'># ] | <system-family-name> | <-non-standard-font>"
  284. },
  285. "glyph-orientation-horizontal": {
  286. "comment": "added SVG property",
  287. "references": [
  288. "https://www.w3.org/TR/SVG/text.html#GlyphOrientationHorizontalProperty"
  289. ],
  290. "syntax": "<angle>"
  291. },
  292. "glyph-orientation-vertical": {
  293. "comment": "added SVG property",
  294. "references": [
  295. "https://www.w3.org/TR/SVG/text.html#GlyphOrientationVerticalProperty"
  296. ],
  297. "syntax": "<angle>"
  298. },
  299. "kerning": {
  300. "comment": "added SVG property",
  301. "references": [
  302. "https://www.w3.org/TR/SVG/text.html#KerningProperty"
  303. ],
  304. "syntax": "auto | <svg-length>"
  305. },
  306. "letter-spacing": {
  307. "comment": "fix syntax <length> -> <length-percentage>",
  308. "references": [
  309. "https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/letter-spacing"
  310. ],
  311. "syntax": "normal | <length-percentage>"
  312. },
  313. "max-width": {
  314. "comment": "extend by non-standard size keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width",
  315. "syntax": "| stretch | <-non-standard-size>"
  316. },
  317. "max-height": {
  318. "comment": "extend by non-standard size keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width",
  319. "syntax": "| stretch | <-non-standard-size>"
  320. },
  321. "width": {
  322. "references": [
  323. "https://developer.mozilla.org/en-US/docs/Web/CSS/width",
  324. "https://github.com/csstree/stylelint-validator/issues/29"
  325. ],
  326. "syntax": "| stretch | <-non-standard-size>"
  327. },
  328. "height": {
  329. "syntax": "| stretch | <-non-standard-size>"
  330. },
  331. "min-width": {
  332. "comment": "extend by non-standard width keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width",
  333. "syntax": "| stretch | <-non-standard-size>"
  334. },
  335. "min-height": {
  336. "syntax": "| stretch | <-non-standard-size>"
  337. },
  338. "overflow": {
  339. "comment": "extend by vendor keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow",
  340. "syntax": "| <-non-standard-overflow>"
  341. },
  342. "overflow-x": {
  343. "comment": "extend by vendor keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-x",
  344. "syntax": "| <-non-standard-overflow>"
  345. },
  346. "overflow-y": {
  347. "comment": "extend by vendor keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-y",
  348. "syntax": "| <-non-standard-overflow>"
  349. },
  350. "overflow-block": {
  351. "comment": "extend by vendor keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-y",
  352. "syntax": "| <-non-standard-overflow>"
  353. },
  354. "overflow-inline": {
  355. "comment": "extend by vendor keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-x",
  356. "syntax": "| <-non-standard-overflow>"
  357. },
  358. "pause": {
  359. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  360. "syntax": "<'pause-before'> <'pause-after'>?"
  361. },
  362. "pause-after": {
  363. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  364. "syntax": "<time> | none | x-weak | weak | medium | strong | x-strong"
  365. },
  366. "pause-before": {
  367. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  368. "syntax": "<time> | none | x-weak | weak | medium | strong | x-strong"
  369. },
  370. "position-try-options": {
  371. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/position-try-fallbacks",
  372. "syntax": "<'position-try-fallbacks'>"
  373. },
  374. "rest": {
  375. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  376. "syntax": "<'rest-before'> <'rest-after'>?"
  377. },
  378. "rest-after": {
  379. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  380. "syntax": "<time> | none | x-weak | weak | medium | strong | x-strong"
  381. },
  382. "rest-before": {
  383. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  384. "syntax": "<time> | none | x-weak | weak | medium | strong | x-strong"
  385. },
  386. "speak": {
  387. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  388. "syntax": "auto | never | always"
  389. },
  390. "stroke-dasharray": {
  391. "comment": "added SVG property; a list of comma and/or white space separated <length>s and <percentage>s",
  392. "references": [
  393. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  394. ],
  395. "syntax": "none | [ <svg-length>+ ]#"
  396. },
  397. "stroke-dashoffset": {
  398. "comment": "added SVG property",
  399. "references": [
  400. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  401. ],
  402. "syntax": "<svg-length>"
  403. },
  404. "stroke-linejoin": {
  405. "comment": "added SVG property",
  406. "references": [
  407. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  408. ],
  409. "syntax": "miter | round | bevel"
  410. },
  411. "stroke-miterlimit": {
  412. "comment": "added SVG property (<miterlimit> = <number-one-or-greater>) ",
  413. "references": [
  414. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  415. ],
  416. "syntax": "<number-one-or-greater>"
  417. },
  418. "stroke-width": {
  419. "comment": "added SVG property",
  420. "references": [
  421. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  422. ],
  423. "syntax": "<svg-length>"
  424. },
  425. "unicode-bidi": {
  426. "comment": "added prefixed keywords https://developer.mozilla.org/en-US/docs/Web/CSS/unicode-bidi",
  427. "syntax": "| -moz-isolate | -moz-isolate-override | -moz-plaintext | -webkit-isolate | -webkit-isolate-override | -webkit-plaintext"
  428. },
  429. "voice-balance": {
  430. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  431. "syntax": "<number> | left | center | right | leftwards | rightwards"
  432. },
  433. "voice-duration": {
  434. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  435. "syntax": "auto | <time>"
  436. },
  437. "voice-family": {
  438. "comment": "<name> -> <family-name>, https://www.w3.org/TR/css3-speech/#property-index",
  439. "syntax": "[ [ <family-name> | <generic-voice> ] , ]* [ <family-name> | <generic-voice> ] | preserve"
  440. },
  441. "voice-pitch": {
  442. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  443. "syntax": "<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]"
  444. },
  445. "voice-range": {
  446. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  447. "syntax": "<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]"
  448. },
  449. "voice-rate": {
  450. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  451. "syntax": "[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage>"
  452. },
  453. "voice-stress": {
  454. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  455. "syntax": "normal | strong | moderate | none | reduced"
  456. },
  457. "voice-volume": {
  458. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  459. "syntax": "silent | [ [ x-soft | soft | medium | loud | x-loud ] || <decibel> ]"
  460. },
  461. "writing-mode": {
  462. "comment": "extend with SVG keywords",
  463. "syntax": "| <svg-writing-mode>"
  464. },
  465. "white-space-trim": {
  466. "syntax": "none | discard-before || discard-after || discard-inner",
  467. "comment": "missed, https://www.w3.org/TR/css-text-4/#white-space-trim"
  468. }
  469. },
  470. "types": {
  471. "-legacy-gradient": {
  472. "comment": "added collection of legacy gradient syntaxes",
  473. "syntax": "<-webkit-gradient()> | <-legacy-linear-gradient> | <-legacy-repeating-linear-gradient> | <-legacy-radial-gradient> | <-legacy-repeating-radial-gradient>"
  474. },
  475. "-legacy-linear-gradient": {
  476. "comment": "like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient",
  477. "syntax": "-moz-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-linear-gradient( <-legacy-linear-gradient-arguments> )"
  478. },
  479. "-legacy-repeating-linear-gradient": {
  480. "comment": "like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient",
  481. "syntax": "-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )"
  482. },
  483. "-legacy-linear-gradient-arguments": {
  484. "comment": "like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient",
  485. "syntax": "[ <angle> | <side-or-corner> ]? , <color-stop-list>"
  486. },
  487. "-legacy-radial-gradient": {
  488. "comment": "deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients",
  489. "syntax": "-moz-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-radial-gradient( <-legacy-radial-gradient-arguments> )"
  490. },
  491. "-legacy-repeating-radial-gradient": {
  492. "comment": "deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients",
  493. "syntax": "-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )"
  494. },
  495. "-legacy-radial-gradient-arguments": {
  496. "comment": "deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients",
  497. "syntax": "[ <position> , ]? [ [ [ <-legacy-radial-gradient-shape> || <-legacy-radial-gradient-size> ] | [ <length> | <percentage> ]{2} ] , ]? <color-stop-list>"
  498. },
  499. "-legacy-radial-gradient-size": {
  500. "comment": "before a standard it contains 2 extra keywords (`contain` and `cover`) https://www.w3.org/TR/2011/WD-css3-images-20110908/#ltsize",
  501. "syntax": "closest-side | closest-corner | farthest-side | farthest-corner | contain | cover"
  502. },
  503. "-legacy-radial-gradient-shape": {
  504. "comment": "define to double sure it doesn't extends in future https://www.w3.org/TR/2011/WD-css3-images-20110908/#ltshape",
  505. "syntax": "circle | ellipse"
  506. },
  507. "-non-standard-font": {
  508. "comment": "non standard fonts",
  509. "references": [
  510. "https://webkit.org/blog/3709/using-the-system-font-in-web-content/"
  511. ],
  512. "syntax": "-apple-system-body | -apple-system-headline | -apple-system-subheadline | -apple-system-caption1 | -apple-system-caption2 | -apple-system-footnote | -apple-system-short-body | -apple-system-short-headline | -apple-system-short-subheadline | -apple-system-short-caption1 | -apple-system-short-footnote | -apple-system-tall-body"
  513. },
  514. "-non-standard-color": {
  515. "comment": "non standard colors",
  516. "references": [
  517. "http://cssdot.ru/%D0%A1%D0%BF%D1%80%D0%B0%D0%B2%D0%BE%D1%87%D0%BD%D0%B8%D0%BA_CSS/color-i305.html",
  518. "https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Mozilla_Color_Preference_Extensions"
  519. ],
  520. "syntax": "-moz-ButtonDefault | -moz-ButtonHoverFace | -moz-ButtonHoverText | -moz-CellHighlight | -moz-CellHighlightText | -moz-Combobox | -moz-ComboboxText | -moz-Dialog | -moz-DialogText | -moz-dragtargetzone | -moz-EvenTreeRow | -moz-Field | -moz-FieldText | -moz-html-CellHighlight | -moz-html-CellHighlightText | -moz-mac-accentdarkestshadow | -moz-mac-accentdarkshadow | -moz-mac-accentface | -moz-mac-accentlightesthighlight | -moz-mac-accentlightshadow | -moz-mac-accentregularhighlight | -moz-mac-accentregularshadow | -moz-mac-chrome-active | -moz-mac-chrome-inactive | -moz-mac-focusring | -moz-mac-menuselect | -moz-mac-menushadow | -moz-mac-menutextselect | -moz-MenuHover | -moz-MenuHoverText | -moz-MenuBarText | -moz-MenuBarHoverText | -moz-nativehyperlinktext | -moz-OddTreeRow | -moz-win-communicationstext | -moz-win-mediatext | -moz-activehyperlinktext | -moz-default-background-color | -moz-default-color | -moz-hyperlinktext | -moz-visitedhyperlinktext | -webkit-activelink | -webkit-focus-ring-color | -webkit-link | -webkit-text"
  521. },
  522. "-non-standard-image-rendering": {
  523. "comment": "non-standard keywords http://phrogz.net/tmp/canvas_image_zoom.html",
  524. "syntax": "optimize-contrast | -moz-crisp-edges | -o-crisp-edges | -webkit-optimize-contrast"
  525. },
  526. "-non-standard-overflow": {
  527. "comment": "non-standard keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow",
  528. "syntax": "overlay | -moz-scrollbars-none | -moz-scrollbars-horizontal | -moz-scrollbars-vertical | -moz-hidden-unscrollable"
  529. },
  530. "-non-standard-size": {
  531. "comment": "non-standard keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width",
  532. "syntax": "intrinsic | min-intrinsic | -webkit-fill-available | -webkit-fit-content | -webkit-min-content | -webkit-max-content | -moz-available | -moz-fit-content | -moz-min-content | -moz-max-content"
  533. },
  534. "-webkit-gradient()": {
  535. "comment": "first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/ - TODO: simplify when after match algorithm improvement ( [, point, radius | , point] -> [, radius]? , point )",
  536. "syntax": "-webkit-gradient( <-webkit-gradient-type>, <-webkit-gradient-point> [, <-webkit-gradient-point> | , <-webkit-gradient-radius>, <-webkit-gradient-point> ] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )"
  537. },
  538. "-webkit-gradient-color-stop": {
  539. "comment": "first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/",
  540. "syntax": "from( <color> ) | color-stop( [ <number-zero-one> | <percentage> ] , <color> ) | to( <color> )"
  541. },
  542. "-webkit-gradient-point": {
  543. "comment": "first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/",
  544. "syntax": "[ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]"
  545. },
  546. "-webkit-gradient-radius": {
  547. "comment": "first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/",
  548. "syntax": "<length> | <percentage>"
  549. },
  550. "-webkit-gradient-type": {
  551. "comment": "first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/",
  552. "syntax": "linear | radial"
  553. },
  554. "-webkit-mask-box-repeat": {
  555. "comment": "missed; https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-mask-box-image",
  556. "syntax": "repeat | stretch | round"
  557. },
  558. "-ms-filter-function-list": {
  559. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter",
  560. "syntax": "<-ms-filter-function>+"
  561. },
  562. "-ms-filter-function": {
  563. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter",
  564. "syntax": "<-ms-filter-function-progid> | <-ms-filter-function-legacy>"
  565. },
  566. "-ms-filter-function-progid": {
  567. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter",
  568. "syntax": "'progid:' [ <ident-token> '.' ]* [ <ident-token> | <function-token> <any-value>? ) ]"
  569. },
  570. "-ms-filter-function-legacy": {
  571. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter",
  572. "syntax": "<ident-token> | <function-token> <any-value>? )"
  573. },
  574. "age": {
  575. "comment": "https://www.w3.org/TR/css3-speech/#voice-family",
  576. "syntax": "child | young | old"
  577. },
  578. "attr-name": {
  579. "syntax": "<wq-name>"
  580. },
  581. "attr-fallback": {
  582. "syntax": "<any-value>"
  583. },
  584. "autospace": {
  585. "syntax": "no-autospace | [ ideograph-alpha || ideograph-numeric || punctuation ] || [ insert | replace ]"
  586. },
  587. "bottom": {
  588. "comment": "missed; not sure we should add it, but no others except `shape` is using it so it's ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect",
  589. "syntax": "<length> | auto"
  590. },
  591. "content-list": {
  592. "comment": "added attr(), see https://github.com/csstree/csstree/issues/201",
  593. "syntax": "[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> | <attr()> ]+"
  594. },
  595. "container-condition": {
  596. "comment": "missed, https://drafts.csswg.org/css-contain-3/#container-rule",
  597. "syntax": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
  598. },
  599. "coord-box": {
  600. "syntax": "content-box | padding-box | border-box | fill-box | stroke-box | view-box"
  601. },
  602. "cubic-bezier-easing-function": {
  603. "comment": "missed, https://drafts.csswg.org/css-easing-1/#cubic-bezier-easing-function",
  604. "syntax": "ease | ease-in | ease-out | ease-in-out | cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )"
  605. },
  606. "element()": {
  607. "comment": "https://drafts.csswg.org/css-gcpm/#element-syntax & https://drafts.csswg.org/css-images-4/#element-notation",
  608. "syntax": "element( <custom-ident> , [ first | start | last | first-except ]? ) | element( <id-selector> )"
  609. },
  610. "generic-voice": {
  611. "comment": "https://www.w3.org/TR/css3-speech/#voice-family",
  612. "syntax": "[ <age>? <gender> <integer>? ]"
  613. },
  614. "gender": {
  615. "comment": "https://www.w3.org/TR/css3-speech/#voice-family",
  616. "syntax": "male | female | neutral"
  617. },
  618. "general-enclosed": {
  619. "comment": "remove ident-token, optional any-value, brackets (see https://drafts.csswg.org/mediaqueries-5/#typedef-general-enclosed)",
  620. "syntax": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
  621. },
  622. "generic-family": {
  623. "comment": "new definition on font-4, https://drafts.csswg.org/css-fonts-4/#typedef-generic-family",
  624. "syntax": "<generic-script-specific>| <generic-complete> | <generic-incomplete> | <-non-standard-generic-family>"
  625. },
  626. "generic-script-specific": {
  627. "syntax": "generic(kai) | generic(fangsong) | generic(nastaliq)"
  628. },
  629. "-non-standard-generic-family": {
  630. "syntax": "-apple-system | BlinkMacSystemFont",
  631. "references": [
  632. "https://css-tricks.com/snippets/css/system-font-stack/",
  633. "https://webkit.org/blog/3709/using-the-system-font-in-web-content/"
  634. ]
  635. },
  636. "gradient": {
  637. "comment": "added legacy syntaxes support",
  638. "syntax": "| <-legacy-gradient>"
  639. },
  640. "intrinsic-size-keyword": {
  641. "comment": "Missing from mdn-data. 4.3. Intrinsic Size Keywords https://www.w3.org/TR/css-sizing-4/#intrinsic-size-keywords",
  642. "syntax": "min-content | max-content | fit-content"
  643. },
  644. "left": {
  645. "comment": "missed; not sure we should add it, but no others except `shape` is using it so it's ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect",
  646. "syntax": "<length> | auto"
  647. },
  648. "color": {
  649. "comment": "css-color-5, added non standard color names",
  650. "syntax": "<color-base> | currentColor | <system-color> | <device-cmyk()> | <light-dark()> | <-non-standard-color>"
  651. },
  652. "device-cmyk()": {
  653. "syntax": "<legacy-device-cmyk-syntax> | <modern-device-cmyk-syntax>"
  654. },
  655. "legacy-device-cmyk-syntax": {
  656. "syntax": "device-cmyk( <number>#{4} )"
  657. },
  658. "modern-device-cmyk-syntax": {
  659. "syntax": "device-cmyk( <cmyk-component>{4} [ / [ <alpha-value> | none ] ]? )"
  660. },
  661. "cmyk-component": {
  662. "syntax": "<number> | <percentage> | none"
  663. },
  664. "color-mix()": {
  665. "syntax": "color-mix( <color-interpolation-method> , [ <color> && <percentage [0,100]>? ]#{2} )"
  666. },
  667. "color-space": {
  668. "syntax": "<rectangular-color-space> | <polar-color-space> | <custom-color-space>"
  669. },
  670. "paint": {
  671. "comment": "used by SVG https://www.w3.org/TR/SVG/painting.html#SpecifyingPaint",
  672. "syntax": "none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke"
  673. },
  674. "right": {
  675. "comment": "missed; not sure we should add it, but no others except `shape` is using it so it's ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect",
  676. "syntax": "<length> | auto"
  677. },
  678. "shape": {
  679. "comment": "missed spaces in function body and add backwards compatible syntax",
  680. "syntax": "rect( <top>, <right>, <bottom>, <left> ) | rect( <top> <right> <bottom> <left> )"
  681. },
  682. "scope-start": {
  683. "syntax": "<forgiving-selector-list>"
  684. },
  685. "scope-end": {
  686. "syntax": "<forgiving-selector-list>"
  687. },
  688. "forgiving-selector-list": {
  689. "syntax": "<complex-real-selector-list>"
  690. },
  691. "forgiving-relative-selector-list": {
  692. "syntax": "<relative-real-selector-list>"
  693. },
  694. "complex-real-selector-list": {
  695. "syntax": "<complex-real-selector>#"
  696. },
  697. "simple-selector-list": {
  698. "syntax": "<simple-selector>#"
  699. },
  700. "relative-real-selector-list": {
  701. "syntax": "<relative-real-selector>#"
  702. },
  703. "complex-selector": {
  704. "syntax": "<complex-selector-unit> [ <combinator>? <complex-selector-unit> ]*"
  705. },
  706. "complex-selector-unit": {
  707. "syntax": "[ <compound-selector>? <pseudo-compound-selector>* ]!"
  708. },
  709. "complex-real-selector": {
  710. "syntax": "<compound-selector> [ <combinator>? <compound-selector> ]*"
  711. },
  712. "relative-real-selector": {
  713. "syntax": "<combinator>? <complex-real-selector>"
  714. },
  715. "compound-selector": {
  716. "syntax": "[ <type-selector>? <subclass-selector>* ]!"
  717. },
  718. "pseudo-compound-selector": {
  719. "syntax": " <pseudo-element-selector> <pseudo-class-selector>*"
  720. },
  721. "simple-selector": {
  722. "syntax": "<type-selector> | <subclass-selector>"
  723. },
  724. "combinator": {
  725. "syntax": "'>' | '+' | '~' | [ '|' '|' ]"
  726. },
  727. "pseudo-element-selector": {
  728. "syntax": "':' <pseudo-class-selector> | <legacy-pseudo-element-selector>"
  729. },
  730. "legacy-pseudo-element-selector": {
  731. "syntax": " ':' [before | after | first-line | first-letter]"
  732. },
  733. "svg-length": {
  734. "comment": "All coordinates and lengths in SVG can be specified with or without a unit identifier",
  735. "references": [
  736. "https://www.w3.org/TR/SVG11/coords.html#Units"
  737. ],
  738. "syntax": "<percentage> | <length> | <number>"
  739. },
  740. "svg-writing-mode": {
  741. "comment": "SVG specific keywords (deprecated for CSS)",
  742. "references": [
  743. "https://developer.mozilla.org/en/docs/Web/CSS/writing-mode",
  744. "https://www.w3.org/TR/SVG/text.html#WritingModeProperty"
  745. ],
  746. "syntax": "lr-tb | rl-tb | tb-rl | lr | rl | tb"
  747. },
  748. "top": {
  749. "comment": "missed; not sure we should add it, but no others except `shape` is using it so it's ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect",
  750. "syntax": "<length> | auto"
  751. },
  752. "x": {
  753. "comment": "missed; not sure we should add it, but no others except `cursor` is using it so it's ok for now; https://drafts.csswg.org/css-ui-3/#cursor",
  754. "syntax": "<number>"
  755. },
  756. "y": {
  757. "comment": "missed; not sure we should add it, but no others except `cursor` is using so it's ok for now; https://drafts.csswg.org/css-ui-3/#cursor",
  758. "syntax": "<number>"
  759. },
  760. "declaration": {
  761. "comment": "missed, restored by https://drafts.csswg.org/css-syntax",
  762. "syntax": "<ident-token> : <declaration-value>? [ '!' important ]?"
  763. },
  764. "declaration-list": {
  765. "comment": "missed, restored by https://drafts.csswg.org/css-syntax",
  766. "syntax": "[ <declaration>? ';' ]* <declaration>?"
  767. },
  768. "url": {
  769. "comment": "https://drafts.csswg.org/css-values-4/#urls",
  770. "syntax": "url( <string> <url-modifier>* ) | <url-token>"
  771. },
  772. "url-modifier": {
  773. "comment": "https://drafts.csswg.org/css-values-4/#typedef-url-modifier",
  774. "syntax": "<ident> | <function-token> <any-value> )"
  775. },
  776. "number-zero-one": {
  777. "syntax": "<number [0,1]>"
  778. },
  779. "number-one-or-greater": {
  780. "syntax": "<number [1,∞]>"
  781. },
  782. "color()": {
  783. "syntax": "color( <colorspace-params> [ / [ <alpha-value> | none ] ]? )"
  784. },
  785. "colorspace-params": {
  786. "syntax": "[ <predefined-rgb-params> | <xyz-params>]"
  787. },
  788. "xyz-params": {
  789. "syntax": "<xyz-space> [ <number> | <percentage> | none ]{3}"
  790. },
  791. "xyz-space": {
  792. "syntax": "xyz | xyz-d50 | xyz-d65"
  793. },
  794. "query-in-parens": {
  795. "comment": "missed, https://drafts.csswg.org/css-contain-3/#container-rule",
  796. "syntax": "( <container-condition> ) | ( <size-feature> ) | style( <style-query> ) | <general-enclosed>"
  797. },
  798. "size-feature": {
  799. "comment": "missed, https://drafts.csswg.org/css-contain-3/#typedef-size-feature",
  800. "syntax": "<mf-plain> | <mf-boolean> | <mf-range>"
  801. },
  802. "style-query": {
  803. "comment": "missed, https://drafts.csswg.org/css-contain-3/#container-rule",
  804. "syntax": "<style-condition> | <style-feature>"
  805. },
  806. "style-condition": {
  807. "comment": "missed, https://drafts.csswg.org/css-contain-3/#container-rule",
  808. "syntax": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ]"
  809. },
  810. "style-in-parens": {
  811. "comment": "missed, https://drafts.csswg.org/css-contain-3/#container-rule",
  812. "syntax": "( <style-condition> ) | ( <style-feature> ) | <general-enclosed>"
  813. },
  814. "-non-standard-display": {
  815. "syntax": "-ms-inline-flexbox | -ms-grid | -ms-inline-grid | -webkit-flex | -webkit-inline-flex | -webkit-box | -webkit-inline-box | -moz-inline-stack | -moz-box | -moz-inline-box"
  816. },
  817. "inset-area": {
  818. "syntax": "[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | x-self-start | x-self-end | span-x-self-start | span-x-self-end | span-all ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | y-self-start | y-self-end | span-y-self-start | span-y-self-end | span-all ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all ] | [ self-block-start | self-block-end | span-self-block-start | span-self-block-end | span-all ] || [ self-inline-start | self-inline-end | span-self-inline-start | span-self-inline-end | span-all ] | [ start | center | end | span-start | span-end | span-all ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all ]{1,2} ]",
  819. "comment": "initial name for <position-area> before renamed",
  820. "references": [
  821. "https://www.w3.org/TR/css-anchor-position-1/#inset-area"
  822. ]
  823. },
  824. "position-area": {
  825. "syntax": "[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | x-self-start | x-self-end | span-x-self-start | span-x-self-end | span-all ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | y-self-start | y-self-end | span-y-self-start | span-y-self-end | span-all ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all ] | [ start | center | end | span-start | span-end | span-all ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all ]{1,2} ]",
  826. "comment": "replaced <inset-area>",
  827. "references": [
  828. "https://drafts.csswg.org/css-anchor-position-1/#typedef-position-area"
  829. ]
  830. },
  831. "syntax": {
  832. "syntax": "'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]* | <syntax-string>"
  833. },
  834. "syntax-component": {
  835. "syntax": "<syntax-single-component> <syntax-multiplier>? | '<' transform-list '>'"
  836. },
  837. "syntax-single-component": {
  838. "syntax": "'<' <syntax-type-name> '>' | <ident>"
  839. },
  840. "syntax-type-name": {
  841. "syntax": "angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function"
  842. },
  843. "syntax-combinator": {
  844. "syntax": "'|'"
  845. },
  846. "syntax-multiplier": {
  847. "syntax": "'#' | '+'"
  848. },
  849. "syntax-string": {
  850. "syntax": "<string>"
  851. }
  852. }
  853. }