node_modules_csstree_data_patch.json 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717
  1. {
  2. "atrules": {
  3. "charset": {
  4. "prelude": "<string>"
  5. },
  6. "font-face": {
  7. "descriptors": {
  8. "unicode-range": {
  9. "comment": "replaces <unicode-range>, an old production name",
  10. "syntax": "<urange>#"
  11. }
  12. }
  13. }
  14. },
  15. "properties": {
  16. "-moz-background-clip": {
  17. "comment": "deprecated syntax in old Firefox, https://developer.mozilla.org/en/docs/Web/CSS/background-clip",
  18. "syntax": "padding | border"
  19. },
  20. "-moz-border-radius-bottomleft": {
  21. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius",
  22. "syntax": "<'border-bottom-left-radius'>"
  23. },
  24. "-moz-border-radius-bottomright": {
  25. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius",
  26. "syntax": "<'border-bottom-right-radius'>"
  27. },
  28. "-moz-border-radius-topleft": {
  29. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius",
  30. "syntax": "<'border-top-left-radius'>"
  31. },
  32. "-moz-border-radius-topright": {
  33. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius",
  34. "syntax": "<'border-bottom-right-radius'>"
  35. },
  36. "-moz-control-character-visibility": {
  37. "comment": "firefox specific keywords, https://bugzilla.mozilla.org/show_bug.cgi?id=947588",
  38. "syntax": "visible | hidden"
  39. },
  40. "-moz-osx-font-smoothing": {
  41. "comment": "misssed old syntax https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth",
  42. "syntax": "auto | grayscale"
  43. },
  44. "-moz-user-select": {
  45. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/user-select",
  46. "syntax": "none | text | all | -moz-none"
  47. },
  48. "-ms-flex-align": {
  49. "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align",
  50. "syntax": "start | end | center | baseline | stretch"
  51. },
  52. "-ms-flex-item-align": {
  53. "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align",
  54. "syntax": "auto | start | end | center | baseline | stretch"
  55. },
  56. "-ms-flex-line-pack": {
  57. "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-line-pack",
  58. "syntax": "start | end | center | justify | distribute | stretch"
  59. },
  60. "-ms-flex-negative": {
  61. "comment": "misssed old syntax implemented in IE; TODO: find references for comfirmation",
  62. "syntax": "<'flex-shrink'>"
  63. },
  64. "-ms-flex-pack": {
  65. "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-pack",
  66. "syntax": "start | end | center | justify | distribute"
  67. },
  68. "-ms-flex-order": {
  69. "comment": "misssed old syntax implemented in IE; https://msdn.microsoft.com/en-us/library/jj127303(v=vs.85).aspx",
  70. "syntax": "<integer>"
  71. },
  72. "-ms-flex-positive": {
  73. "comment": "misssed old syntax implemented in IE; TODO: find references for comfirmation",
  74. "syntax": "<'flex-grow'>"
  75. },
  76. "-ms-flex-preferred-size": {
  77. "comment": "misssed old syntax implemented in IE; TODO: find references for comfirmation",
  78. "syntax": "<'flex-basis'>"
  79. },
  80. "-ms-interpolation-mode": {
  81. "comment": "https://msdn.microsoft.com/en-us/library/ff521095(v=vs.85).aspx",
  82. "syntax": "nearest-neighbor | bicubic"
  83. },
  84. "-ms-grid-column-align": {
  85. "comment": "add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466338.aspx",
  86. "syntax": "start | end | center | stretch"
  87. },
  88. "-ms-grid-row-align": {
  89. "comment": "add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466348.aspx",
  90. "syntax": "start | end | center | stretch"
  91. },
  92. "-ms-hyphenate-limit-last": {
  93. "comment": "misssed old syntax implemented in IE; https://www.w3.org/TR/css-text-4/#hyphenate-line-limits",
  94. "syntax": "none | always | column | page | spread"
  95. },
  96. "-webkit-appearance": {
  97. "comment": "webkit specific keywords",
  98. "references": [
  99. "http://css-infos.net/property/-webkit-appearance"
  100. ],
  101. "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"
  102. },
  103. "-webkit-background-clip": {
  104. "comment": "https://developer.mozilla.org/en/docs/Web/CSS/background-clip",
  105. "syntax": "[ <box> | border | padding | content | text ]#"
  106. },
  107. "-webkit-column-break-after": {
  108. "comment": "added, http://help.dottoro.com/lcrthhhv.php",
  109. "syntax": "always | auto | avoid"
  110. },
  111. "-webkit-column-break-before": {
  112. "comment": "added, http://help.dottoro.com/lcxquvkf.php",
  113. "syntax": "always | auto | avoid"
  114. },
  115. "-webkit-column-break-inside": {
  116. "comment": "added, http://help.dottoro.com/lclhnthl.php",
  117. "syntax": "always | auto | avoid"
  118. },
  119. "-webkit-font-smoothing": {
  120. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth",
  121. "syntax": "auto | none | antialiased | subpixel-antialiased"
  122. },
  123. "-webkit-mask-box-image": {
  124. "comment": "missed; https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-mask-box-image",
  125. "syntax": "[ <url> | <gradient> | none ] [ <length-percentage>{4} <-webkit-mask-box-repeat>{2} ]?"
  126. },
  127. "-webkit-print-color-adjust": {
  128. "comment": "missed",
  129. "references": [
  130. "https://developer.mozilla.org/en/docs/Web/CSS/-webkit-print-color-adjust"
  131. ],
  132. "syntax": "economy | exact"
  133. },
  134. "-webkit-text-security": {
  135. "comment": "missed; http://help.dottoro.com/lcbkewgt.php",
  136. "syntax": "none | circle | disc | square"
  137. },
  138. "-webkit-user-drag": {
  139. "comment": "missed; http://help.dottoro.com/lcbixvwm.php",
  140. "syntax": "none | element | auto"
  141. },
  142. "-webkit-user-select": {
  143. "comment": "auto is supported by old webkit, https://developer.mozilla.org/en-US/docs/Web/CSS/user-select",
  144. "syntax": "auto | none | text | all"
  145. },
  146. "alignment-baseline": {
  147. "comment": "added SVG property",
  148. "references": [
  149. "https://www.w3.org/TR/SVG/text.html#AlignmentBaselineProperty"
  150. ],
  151. "syntax": "auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical"
  152. },
  153. "baseline-shift": {
  154. "comment": "added SVG property",
  155. "references": [
  156. "https://www.w3.org/TR/SVG/text.html#BaselineShiftProperty"
  157. ],
  158. "syntax": "baseline | sub | super | <svg-length>"
  159. },
  160. "behavior": {
  161. "comment": "added old IE property https://msdn.microsoft.com/en-us/library/ms530723(v=vs.85).aspx",
  162. "syntax": "<url>+"
  163. },
  164. "clip-rule": {
  165. "comment": "added SVG property",
  166. "references": [
  167. "https://www.w3.org/TR/SVG/masking.html#ClipRuleProperty"
  168. ],
  169. "syntax": "nonzero | evenodd"
  170. },
  171. "cue": {
  172. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  173. "syntax": "<'cue-before'> <'cue-after'>?"
  174. },
  175. "cue-after": {
  176. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  177. "syntax": "<url> <decibel>? | none"
  178. },
  179. "cue-before": {
  180. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  181. "syntax": "<url> <decibel>? | none"
  182. },
  183. "cursor": {
  184. "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",
  185. "references": [
  186. "https://www.sitepoint.com/css3-cursor-styles/"
  187. ],
  188. "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 ] ]"
  189. },
  190. "display": {
  191. "comment": "extended with -ms-flexbox",
  192. "syntax": "| <-non-standard-display>"
  193. },
  194. "position": {
  195. "comment": "extended with -webkit-sticky",
  196. "syntax": "| -webkit-sticky"
  197. },
  198. "dominant-baseline": {
  199. "comment": "added SVG property",
  200. "references": [
  201. "https://www.w3.org/TR/SVG/text.html#DominantBaselineProperty"
  202. ],
  203. "syntax": "auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge"
  204. },
  205. "image-rendering": {
  206. "comment": "extended with <-non-standard-image-rendering>, added SVG keywords optimizeSpeed and optimizeQuality",
  207. "references": [
  208. "https://developer.mozilla.org/en/docs/Web/CSS/image-rendering",
  209. "https://www.w3.org/TR/SVG/painting.html#ImageRenderingProperty"
  210. ],
  211. "syntax": "| optimizeSpeed | optimizeQuality | <-non-standard-image-rendering>"
  212. },
  213. "fill": {
  214. "comment": "added SVG property",
  215. "references": [
  216. "https://www.w3.org/TR/SVG/painting.html#FillProperty"
  217. ],
  218. "syntax": "<paint>"
  219. },
  220. "fill-opacity": {
  221. "comment": "added SVG property",
  222. "references": [
  223. "https://www.w3.org/TR/SVG/painting.html#FillProperty"
  224. ],
  225. "syntax": "<number-zero-one>"
  226. },
  227. "fill-rule": {
  228. "comment": "added SVG property",
  229. "references": [
  230. "https://www.w3.org/TR/SVG/painting.html#FillProperty"
  231. ],
  232. "syntax": "nonzero | evenodd"
  233. },
  234. "filter": {
  235. "comment": "extend with IE legacy syntaxes",
  236. "syntax": "| <-ms-filter-function-list>"
  237. },
  238. "glyph-orientation-horizontal": {
  239. "comment": "added SVG property",
  240. "references": [
  241. "https://www.w3.org/TR/SVG/text.html#GlyphOrientationHorizontalProperty"
  242. ],
  243. "syntax": "<angle>"
  244. },
  245. "glyph-orientation-vertical": {
  246. "comment": "added SVG property",
  247. "references": [
  248. "https://www.w3.org/TR/SVG/text.html#GlyphOrientationVerticalProperty"
  249. ],
  250. "syntax": "<angle>"
  251. },
  252. "kerning": {
  253. "comment": "added SVG property",
  254. "references": [
  255. "https://www.w3.org/TR/SVG/text.html#KerningProperty"
  256. ],
  257. "syntax": "auto | <svg-length>"
  258. },
  259. "letter-spacing": {
  260. "comment": "fix syntax <length> -> <length-percentage>",
  261. "references": [
  262. "https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/letter-spacing"
  263. ],
  264. "syntax": "normal | <length-percentage>"
  265. },
  266. "marker": {
  267. "comment": "added SVG property",
  268. "references": [
  269. "https://www.w3.org/TR/SVG/painting.html#MarkerProperties"
  270. ],
  271. "syntax": "none | <url>"
  272. },
  273. "marker-end": {
  274. "comment": "added SVG property",
  275. "references": [
  276. "https://www.w3.org/TR/SVG/painting.html#MarkerProperties"
  277. ],
  278. "syntax": "none | <url>"
  279. },
  280. "marker-mid": {
  281. "comment": "added SVG property",
  282. "references": [
  283. "https://www.w3.org/TR/SVG/painting.html#MarkerProperties"
  284. ],
  285. "syntax": "none | <url>"
  286. },
  287. "marker-start": {
  288. "comment": "added SVG property",
  289. "references": [
  290. "https://www.w3.org/TR/SVG/painting.html#MarkerProperties"
  291. ],
  292. "syntax": "none | <url>"
  293. },
  294. "max-width": {
  295. "comment": "fix auto -> none (https://github.com/mdn/data/pull/431); extend by non-standard width keywords https://developer.mozilla.org/en-US/docs/Web/CSS/max-width",
  296. "syntax": "none | <length-percentage> | min-content | max-content | fit-content(<length-percentage>) | <-non-standard-width>"
  297. },
  298. "min-width": {
  299. "comment": "extend by non-standard width keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width",
  300. "syntax": "auto | <length-percentage> | min-content | max-content | fit-content(<length-percentage>) | <-non-standard-width>"
  301. },
  302. "overflow": {
  303. "comment": "extend by vendor keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow",
  304. "syntax": "| <-non-standard-overflow>"
  305. },
  306. "pause": {
  307. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  308. "syntax": "<'pause-before'> <'pause-after'>?"
  309. },
  310. "pause-after": {
  311. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  312. "syntax": "<time> | none | x-weak | weak | medium | strong | x-strong"
  313. },
  314. "pause-before": {
  315. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  316. "syntax": "<time> | none | x-weak | weak | medium | strong | x-strong"
  317. },
  318. "rest": {
  319. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  320. "syntax": "<'rest-before'> <'rest-after'>?"
  321. },
  322. "rest-after": {
  323. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  324. "syntax": "<time> | none | x-weak | weak | medium | strong | x-strong"
  325. },
  326. "rest-before": {
  327. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  328. "syntax": "<time> | none | x-weak | weak | medium | strong | x-strong"
  329. },
  330. "shape-rendering": {
  331. "comment": "added SVG property",
  332. "references": [
  333. "https://www.w3.org/TR/SVG/painting.html#ShapeRenderingPropert"
  334. ],
  335. "syntax": "auto | optimizeSpeed | crispEdges | geometricPrecision"
  336. },
  337. "src": {
  338. "comment": "added @font-face's src property https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src",
  339. "syntax": "[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#"
  340. },
  341. "speak": {
  342. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  343. "syntax": "auto | none | normal"
  344. },
  345. "speak-as": {
  346. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  347. "syntax": "normal | spell-out || digits || [ literal-punctuation | no-punctuation ]"
  348. },
  349. "stroke": {
  350. "comment": "added SVG property",
  351. "references": [
  352. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  353. ],
  354. "syntax": "<paint>"
  355. },
  356. "stroke-dasharray": {
  357. "comment": "added SVG property; a list of comma and/or white space separated <length>s and <percentage>s",
  358. "references": [
  359. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  360. ],
  361. "syntax": "none | [ <svg-length>+ ]#"
  362. },
  363. "stroke-dashoffset": {
  364. "comment": "added SVG property",
  365. "references": [
  366. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  367. ],
  368. "syntax": "<svg-length>"
  369. },
  370. "stroke-linecap": {
  371. "comment": "added SVG property",
  372. "references": [
  373. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  374. ],
  375. "syntax": "butt | round | square"
  376. },
  377. "stroke-linejoin": {
  378. "comment": "added SVG property",
  379. "references": [
  380. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  381. ],
  382. "syntax": "miter | round | bevel"
  383. },
  384. "stroke-miterlimit": {
  385. "comment": "added SVG property (<miterlimit> = <number-one-or-greater>) ",
  386. "references": [
  387. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  388. ],
  389. "syntax": "<number-one-or-greater>"
  390. },
  391. "stroke-opacity": {
  392. "comment": "added SVG property",
  393. "references": [
  394. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  395. ],
  396. "syntax": "<number-zero-one>"
  397. },
  398. "stroke-width": {
  399. "comment": "added SVG property",
  400. "references": [
  401. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  402. ],
  403. "syntax": "<svg-length>"
  404. },
  405. "text-anchor": {
  406. "comment": "added SVG property",
  407. "references": [
  408. "https://www.w3.org/TR/SVG/text.html#TextAlignmentProperties"
  409. ],
  410. "syntax": "start | middle | end"
  411. },
  412. "unicode-bidi": {
  413. "comment": "added prefixed keywords https://developer.mozilla.org/en-US/docs/Web/CSS/unicode-bidi",
  414. "syntax": "| -moz-isolate | -moz-isolate-override | -moz-plaintext | -webkit-isolate | -webkit-isolate-override | -webkit-plaintext"
  415. },
  416. "unicode-range": {
  417. "comment": "added missed property https://developer.mozilla.org/en-US/docs/Web/CSS/%40font-face/unicode-range",
  418. "syntax": "<urange>#"
  419. },
  420. "voice-balance": {
  421. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  422. "syntax": "<number> | left | center | right | leftwards | rightwards"
  423. },
  424. "voice-duration": {
  425. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  426. "syntax": "auto | <time>"
  427. },
  428. "voice-family": {
  429. "comment": "<name> -> <family-name>, https://www.w3.org/TR/css3-speech/#property-index",
  430. "syntax": "[ [ <family-name> | <generic-voice> ] , ]* [ <family-name> | <generic-voice> ] | preserve"
  431. },
  432. "voice-pitch": {
  433. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  434. "syntax": "<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]"
  435. },
  436. "voice-range": {
  437. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  438. "syntax": "<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]"
  439. },
  440. "voice-rate": {
  441. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  442. "syntax": "[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage>"
  443. },
  444. "voice-stress": {
  445. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  446. "syntax": "normal | strong | moderate | none | reduced"
  447. },
  448. "voice-volume": {
  449. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  450. "syntax": "silent | [ [ x-soft | soft | medium | loud | x-loud ] || <decibel> ]"
  451. },
  452. "writing-mode": {
  453. "comment": "extend with SVG keywords",
  454. "syntax": "| <svg-writing-mode>"
  455. }
  456. },
  457. "syntaxes": {
  458. "-legacy-gradient": {
  459. "comment": "added collection of legacy gradient syntaxes",
  460. "syntax": "<-webkit-gradient()> | <-legacy-linear-gradient> | <-legacy-repeating-linear-gradient> | <-legacy-radial-gradient> | <-legacy-repeating-radial-gradient>"
  461. },
  462. "-legacy-linear-gradient": {
  463. "comment": "like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient",
  464. "syntax": "-moz-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-linear-gradient( <-legacy-linear-gradient-arguments> )"
  465. },
  466. "-legacy-repeating-linear-gradient": {
  467. "comment": "like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient",
  468. "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> )"
  469. },
  470. "-legacy-linear-gradient-arguments": {
  471. "comment": "like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient",
  472. "syntax": "[ <angle> | <side-or-corner> ]? , <color-stop-list>"
  473. },
  474. "-legacy-radial-gradient": {
  475. "comment": "deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients",
  476. "syntax": "-moz-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-radial-gradient( <-legacy-radial-gradient-arguments> )"
  477. },
  478. "-legacy-repeating-radial-gradient": {
  479. "comment": "deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients",
  480. "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> )"
  481. },
  482. "-legacy-radial-gradient-arguments": {
  483. "comment": "deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients",
  484. "syntax": "[ <position> , ]? [ [ [ <-legacy-radial-gradient-shape> || <-legacy-radial-gradient-size> ] | [ <length> | <percentage> ]{2} ] , ]? <color-stop-list>"
  485. },
  486. "-legacy-radial-gradient-size": {
  487. "comment": "before a standard it contains 2 extra keywords (`contain` and `cover`) https://www.w3.org/TR/2011/WD-css3-images-20110908/#ltsize",
  488. "syntax": "closest-side | closest-corner | farthest-side | farthest-corner | contain | cover"
  489. },
  490. "-legacy-radial-gradient-shape": {
  491. "comment": "define to double sure it doesn't extends in future https://www.w3.org/TR/2011/WD-css3-images-20110908/#ltshape",
  492. "syntax": "circle | ellipse"
  493. },
  494. "-non-standard-font": {
  495. "comment": "non standard fonts",
  496. "references": [
  497. "https://webkit.org/blog/3709/using-the-system-font-in-web-content/"
  498. ],
  499. "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"
  500. },
  501. "-non-standard-color": {
  502. "comment": "non standard colors",
  503. "references": [
  504. "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",
  505. "https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Mozilla_Color_Preference_Extensions"
  506. ],
  507. "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"
  508. },
  509. "-non-standard-image-rendering": {
  510. "comment": "non-standard keywords http://phrogz.net/tmp/canvas_image_zoom.html",
  511. "syntax": "optimize-contrast | -moz-crisp-edges | -o-crisp-edges | -webkit-optimize-contrast"
  512. },
  513. "-non-standard-overflow": {
  514. "comment": "non-standard keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow",
  515. "syntax": "-moz-scrollbars-none | -moz-scrollbars-horizontal | -moz-scrollbars-vertical | -moz-hidden-unscrollable"
  516. },
  517. "-non-standard-width": {
  518. "comment": "non-standard keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width",
  519. "syntax": "fill-available | min-intrinsic | intrinsic | -moz-available | -moz-fit-content | -moz-min-content | -moz-max-content | -webkit-min-content | -webkit-max-content"
  520. },
  521. "-webkit-gradient()": {
  522. "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 )",
  523. "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>]* )"
  524. },
  525. "-webkit-gradient-color-stop": {
  526. "comment": "first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/",
  527. "syntax": "from( <color> ) | color-stop( [ <number-zero-one> | <percentage> ] , <color> ) | to( <color> )"
  528. },
  529. "-webkit-gradient-point": {
  530. "comment": "first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/",
  531. "syntax": "[ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]"
  532. },
  533. "-webkit-gradient-radius": {
  534. "comment": "first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/",
  535. "syntax": "<length> | <percentage>"
  536. },
  537. "-webkit-gradient-type": {
  538. "comment": "first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/",
  539. "syntax": "linear | radial"
  540. },
  541. "-webkit-mask-box-repeat": {
  542. "comment": "missed; https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-mask-box-image",
  543. "syntax": "repeat | stretch | round"
  544. },
  545. "-webkit-mask-clip-style": {
  546. "comment": "missed; there is no enough information about `-webkit-mask-clip` property, but looks like all those keywords are working",
  547. "syntax": "border | border-box | padding | padding-box | content | content-box | text"
  548. },
  549. "-ms-filter-function-list": {
  550. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter",
  551. "syntax": "<-ms-filter-function>+"
  552. },
  553. "-ms-filter-function": {
  554. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter",
  555. "syntax": "<-ms-filter-function-progid> | <-ms-filter-function-legacy>"
  556. },
  557. "-ms-filter-function-progid": {
  558. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter",
  559. "syntax": "'progid:' [ <ident-token> '.' ]* [ <ident-token> | <function-token> <any-value>? ) ]"
  560. },
  561. "-ms-filter-function-legacy": {
  562. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter",
  563. "syntax": "<ident-token> | <function-token> <any-value>? )"
  564. },
  565. "-ms-filter": {
  566. "syntax": "<string>"
  567. },
  568. "age": {
  569. "comment": "https://www.w3.org/TR/css3-speech/#voice-family",
  570. "syntax": "child | young | old"
  571. },
  572. "attr-name": {
  573. "syntax": "<wq-name>"
  574. },
  575. "attr-fallback": {
  576. "syntax": "<any-value>"
  577. },
  578. "border-radius": {
  579. "comment": "missed, https://drafts.csswg.org/css-backgrounds-3/#the-border-radius",
  580. "syntax": "<length-percentage>{1,2}"
  581. },
  582. "bottom": {
  583. "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",
  584. "syntax": "<length> | auto"
  585. },
  586. "content-list": {
  587. "comment": "missed -> https://drafts.csswg.org/css-content/#typedef-content-list (document-url, <target> and leader() is omitted util stabilization)",
  588. "syntax": "[ <string> | contents | <image> | <quote> | <target> | <leader()> | <attr()> | counter( <ident>, <'list-style-type'>? ) ]+"
  589. },
  590. "element()": {
  591. "comment": "https://drafts.csswg.org/css-gcpm/#element-syntax & https://drafts.csswg.org/css-images-4/#element-notation",
  592. "syntax": "element( <custom-ident> , [ first | start | last | first-except ]? ) | element( <id-selector> )"
  593. },
  594. "generic-voice": {
  595. "comment": "https://www.w3.org/TR/css3-speech/#voice-family",
  596. "syntax": "[ <age>? <gender> <integer>? ]"
  597. },
  598. "gender": {
  599. "comment": "https://www.w3.org/TR/css3-speech/#voice-family",
  600. "syntax": "male | female | neutral"
  601. },
  602. "generic-family": {
  603. "comment": "added -apple-system",
  604. "references": [
  605. "https://webkit.org/blog/3709/using-the-system-font-in-web-content/"
  606. ],
  607. "syntax": "| -apple-system"
  608. },
  609. "gradient": {
  610. "comment": "added legacy syntaxes support",
  611. "syntax": "| <-legacy-gradient>"
  612. },
  613. "left": {
  614. "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",
  615. "syntax": "<length> | auto"
  616. },
  617. "mask-image": {
  618. "comment": "missed; https://drafts.fxtf.org/css-masking-1/#the-mask-image",
  619. "syntax": "<mask-reference>#"
  620. },
  621. "name-repeat": {
  622. "comment": "missed, and looks like obsolete, keep it as is since other property syntaxes should be changed too; https://www.w3.org/TR/2015/WD-css-grid-1-20150917/#typedef-name-repeat",
  623. "syntax": "repeat( [ <positive-integer> | auto-fill ], <line-names>+)"
  624. },
  625. "named-color": {
  626. "comment": "added non standard color names",
  627. "syntax": "| <-non-standard-color>"
  628. },
  629. "paint": {
  630. "comment": "used by SVG https://www.w3.org/TR/SVG/painting.html#SpecifyingPaint",
  631. "syntax": "none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke"
  632. },
  633. "page-size": {
  634. "comment": "https://www.w3.org/TR/css-page-3/#typedef-page-size-page-size",
  635. "syntax": "A5 | A4 | A3 | B5 | B4 | JIS-B5 | JIS-B4 | letter | legal | ledger"
  636. },
  637. "ratio": {
  638. "comment": "missed, https://drafts.csswg.org/mediaqueries-4/#typedef-ratio",
  639. "syntax": "<integer> / <integer>"
  640. },
  641. "right": {
  642. "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",
  643. "syntax": "<length> | auto"
  644. },
  645. "shape": {
  646. "comment": "missed spaces in function body and add backwards compatible syntax",
  647. "syntax": "rect( <top>, <right>, <bottom>, <left> ) | rect( <top> <right> <bottom> <left> )"
  648. },
  649. "svg-length": {
  650. "comment": "All coordinates and lengths in SVG can be specified with or without a unit identifier",
  651. "references": [
  652. "https://www.w3.org/TR/SVG11/coords.html#Units"
  653. ],
  654. "syntax": "<percentage> | <length> | <number>"
  655. },
  656. "svg-writing-mode": {
  657. "comment": "SVG specific keywords (deprecated for CSS)",
  658. "references": [
  659. "https://developer.mozilla.org/en/docs/Web/CSS/writing-mode",
  660. "https://www.w3.org/TR/SVG/text.html#WritingModeProperty"
  661. ],
  662. "syntax": "lr-tb | rl-tb | tb-rl | lr | rl | tb"
  663. },
  664. "top": {
  665. "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",
  666. "syntax": "<length> | auto"
  667. },
  668. "track-group": {
  669. "comment": "used by old grid-columns and grid-rows syntax v0",
  670. "syntax": "'(' [ <string>* <track-minmax> <string>* ]+ ')' [ '[' <positive-integer> ']' ]? | <track-minmax>"
  671. },
  672. "track-list-v0": {
  673. "comment": "used by old grid-columns and grid-rows syntax v0",
  674. "syntax": "[ <string>* <track-group> <string>* ]+ | none"
  675. },
  676. "track-minmax": {
  677. "comment": "used by old grid-columns and grid-rows syntax v0",
  678. "syntax": "minmax( <track-breadth> , <track-breadth> ) | auto | <track-breadth> | fit-content"
  679. },
  680. "x": {
  681. "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",
  682. "syntax": "<number>"
  683. },
  684. "y": {
  685. "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",
  686. "syntax": "<number>"
  687. },
  688. "declaration": {
  689. "comment": "missed, restored by https://drafts.csswg.org/css-syntax",
  690. "syntax": "<ident-token> : <declaration-value>? [ '!' important ]?"
  691. },
  692. "declaration-list": {
  693. "comment": "missed, restored by https://drafts.csswg.org/css-syntax",
  694. "syntax": "[ <declaration>? ';' ]* <declaration>?"
  695. },
  696. "url": {
  697. "comment": "https://drafts.csswg.org/css-values-4/#urls",
  698. "syntax": "url( <string> <url-modifier>* ) | <url-token>"
  699. },
  700. "url-modifier": {
  701. "comment": "https://drafts.csswg.org/css-values-4/#typedef-url-modifier",
  702. "syntax": "<ident> | <function-token> <any-value> )"
  703. },
  704. "number-zero-one": {
  705. "syntax": "<number [0,1]>"
  706. },
  707. "number-one-or-greater": {
  708. "syntax": "<number [1,∞]>"
  709. },
  710. "positive-integer": {
  711. "syntax": "<integer [0,∞]>"
  712. },
  713. "-non-standard-display": {
  714. "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"
  715. }
  716. }
  717. }