patch.json 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802
  1. {
  2. "properties": {
  3. "--*": {
  4. "comment": "syntax is incorrect and can't be parsed, drop for now",
  5. "syntax": null
  6. },
  7. "-moz-background-clip": {
  8. "comment": "deprecated syntax in old Firefox, https://developer.mozilla.org/en/docs/Web/CSS/background-clip",
  9. "syntax": "padding | border"
  10. },
  11. "-moz-border-radius-bottomleft": {
  12. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius",
  13. "syntax": "<'border-bottom-left-radius'>"
  14. },
  15. "-moz-border-radius-bottomright": {
  16. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius",
  17. "syntax": "<'border-bottom-right-radius'>"
  18. },
  19. "-moz-border-radius-topleft": {
  20. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius",
  21. "syntax": "<'border-top-left-radius'>"
  22. },
  23. "-moz-border-radius-topright": {
  24. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius",
  25. "syntax": "<'border-bottom-right-radius'>"
  26. },
  27. "-moz-osx-font-smoothing": {
  28. "comment": "misssed old syntax https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth",
  29. "syntax": "auto | grayscale"
  30. },
  31. "-moz-user-select": {
  32. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/user-select",
  33. "syntax": "none | text | all | -moz-none"
  34. },
  35. "-ms-flex-align": {
  36. "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align",
  37. "syntax": "start | end | center | baseline | stretch"
  38. },
  39. "-ms-flex-item-align": {
  40. "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align",
  41. "syntax": "auto | start | end | center | baseline | stretch"
  42. },
  43. "-ms-flex-line-pack": {
  44. "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-line-pack",
  45. "syntax": "start | end | center | justify | distribute | stretch"
  46. },
  47. "-ms-flex-negative": {
  48. "comment": "misssed old syntax implemented in IE; TODO: find references for comfirmation",
  49. "syntax": "<'flex-shrink'>"
  50. },
  51. "-ms-flex-pack": {
  52. "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-pack",
  53. "syntax": "start | end | center | justify | distribute"
  54. },
  55. "-ms-flex-order": {
  56. "comment": "misssed old syntax implemented in IE; https://msdn.microsoft.com/en-us/library/jj127303(v=vs.85).aspx",
  57. "syntax": "<integer>"
  58. },
  59. "-ms-flex-positive": {
  60. "comment": "misssed old syntax implemented in IE; TODO: find references for comfirmation",
  61. "syntax": "<'flex-grow'>"
  62. },
  63. "-ms-flex-preferred-size": {
  64. "comment": "misssed old syntax implemented in IE; TODO: find references for comfirmation",
  65. "syntax": "<'flex-basis'>"
  66. },
  67. "-ms-interpolation-mode": {
  68. "comment": "https://msdn.microsoft.com/en-us/library/ff521095(v=vs.85).aspx",
  69. "syntax": "nearest-neighbor | bicubic"
  70. },
  71. "-ms-grid-column-align": {
  72. "comment": "add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466338.aspx",
  73. "syntax": "start | end | center | stretch"
  74. },
  75. "-ms-grid-row-align": {
  76. "comment": "add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466348.aspx",
  77. "syntax": "start | end | center | stretch"
  78. },
  79. "-webkit-appearance": {
  80. "comment": "webkit specific keywords",
  81. "references": [
  82. "http://css-infos.net/property/-webkit-appearance"
  83. ],
  84. "syntax": "none | button | button-bevel | caps-lock-indicator | caret | checkbox | default-button | listbox | listitem | media-fullscreen-button | media-mute-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | 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"
  85. },
  86. "-webkit-background-clip": {
  87. "comment": "https://developer.mozilla.org/en/docs/Web/CSS/background-clip",
  88. "syntax": "[ <box> | border | padding | content | text ]#"
  89. },
  90. "-webkit-column-break-after": {
  91. "comment": "added, http://help.dottoro.com/lcrthhhv.php",
  92. "syntax": "always | auto | avoid"
  93. },
  94. "-webkit-column-break-before": {
  95. "comment": "added, http://help.dottoro.com/lcxquvkf.php",
  96. "syntax": "always | auto | avoid"
  97. },
  98. "-webkit-column-break-inside": {
  99. "comment": "added, http://help.dottoro.com/lclhnthl.php",
  100. "syntax": "always | auto | avoid"
  101. },
  102. "-webkit-font-smoothing": {
  103. "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth",
  104. "syntax": "auto | none | antialiased | subpixel-antialiased"
  105. },
  106. "-webkit-line-clamp": {
  107. "comment": "non-standard and deprecated but may still using by some sites",
  108. "syntax": "<positive-integer>"
  109. },
  110. "-webkit-mask-box-image": {
  111. "comment": "missed; https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-mask-box-image",
  112. "syntax": "[ <url> | <gradient> | none ] [ <length-percentage>{4} <-webkit-mask-box-repeat>{2} ]?"
  113. },
  114. "-webkit-mask-clip": {
  115. "comment": "change type to <-webkit-mask-clip-style> since it differ from <mask-clip>, extra space between [ and ,",
  116. "syntax": "<-webkit-mask-clip-style> [, <-webkit-mask-clip-style> ]*"
  117. },
  118. "-webkit-print-color-adjust": {
  119. "comment": "missed",
  120. "references": [
  121. "https://developer.mozilla.org/en/docs/Web/CSS/-webkit-print-color-adjust"
  122. ],
  123. "syntax": "economy | exact"
  124. },
  125. "-webkit-text-security": {
  126. "comment": "missed; http://help.dottoro.com/lcbkewgt.php",
  127. "syntax": "none | circle | disc | square"
  128. },
  129. "-webkit-user-drag": {
  130. "comment": "missed; http://help.dottoro.com/lcbixvwm.php",
  131. "syntax": "none | element | auto"
  132. },
  133. "-webkit-user-select": {
  134. "comment": "auto is supported by old webkit, https://developer.mozilla.org/en-US/docs/Web/CSS/user-select",
  135. "syntax": "auto | none | text | all"
  136. },
  137. "alignment-baseline": {
  138. "comment": "added SVG property",
  139. "references": [
  140. "https://www.w3.org/TR/SVG/text.html#AlignmentBaselineProperty"
  141. ],
  142. "syntax": "auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical"
  143. },
  144. "baseline-shift": {
  145. "comment": "added SVG property",
  146. "references": [
  147. "https://www.w3.org/TR/SVG/text.html#BaselineShiftProperty"
  148. ],
  149. "syntax": "baseline | sub | super | <svg-length>"
  150. },
  151. "behavior": {
  152. "comment": "added old IE property https://msdn.microsoft.com/en-us/library/ms530723(v=vs.85).aspx",
  153. "syntax": "<url>+"
  154. },
  155. "clip-rule": {
  156. "comment": "added SVG property",
  157. "references": [
  158. "https://www.w3.org/TR/SVG/masking.html#ClipRuleProperty"
  159. ],
  160. "syntax": "nonzero | evenodd"
  161. },
  162. "cue": {
  163. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  164. "syntax": "<'cue-before'> <'cue-after'>?"
  165. },
  166. "cue-after": {
  167. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  168. "syntax": "<url> <decibel>? | none"
  169. },
  170. "cue-before": {
  171. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  172. "syntax": "<url> <decibel>? | none"
  173. },
  174. "cursor": {
  175. "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",
  176. "refenrences": [
  177. "https://www.sitepoint.com/css3-cursor-styles/"
  178. ],
  179. "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 ] ]"
  180. },
  181. "display": {
  182. "comment": "extended with -ms-flexbox",
  183. "syntax": "none | inline | block | list-item | inline-list-item | inline-block | inline-table | table | table-cell | table-column | table-column-group | table-footer-group | table-header-group | table-row | table-row-group | flex | inline-flex | grid | inline-grid | run-in | ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container | contents | -ms-flexbox | -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"
  184. },
  185. "position": {
  186. "comment": "extended with -webkit-sticky",
  187. "syntax": "static | relative | absolute | sticky | fixed | -webkit-sticky"
  188. },
  189. "dominant-baseline": {
  190. "comment": "added SVG property",
  191. "references": [
  192. "https://www.w3.org/TR/SVG/text.html#DominantBaselineProperty"
  193. ],
  194. "syntax": "auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge"
  195. },
  196. "image-rendering": {
  197. "comment": "extended with <-non-standard-image-rendering>, added SVG keywords optimizeSpeed and optimizeQuality",
  198. "references": [
  199. "https://developer.mozilla.org/en/docs/Web/CSS/image-rendering",
  200. "https://www.w3.org/TR/SVG/painting.html#ImageRenderingProperty"
  201. ],
  202. "syntax": "auto | crisp-edges | pixelated | optimizeSpeed | optimizeQuality | <-non-standard-image-rendering>"
  203. },
  204. "fill": {
  205. "comment": "added SVG property",
  206. "references": [
  207. "https://www.w3.org/TR/SVG/painting.html#FillProperty"
  208. ],
  209. "syntax": "<paint>"
  210. },
  211. "fill-opacity": {
  212. "comment": "added SVG property",
  213. "references": [
  214. "https://www.w3.org/TR/SVG/painting.html#FillProperty"
  215. ],
  216. "syntax": "<number-zero-one>"
  217. },
  218. "fill-rule": {
  219. "comment": "added SVG property",
  220. "references": [
  221. "https://www.w3.org/TR/SVG/painting.html#FillProperty"
  222. ],
  223. "syntax": "nonzero | evenodd"
  224. },
  225. "filter": {
  226. "comment": "extend with IE legacy syntaxes",
  227. "syntax": "none | <filter-function-list> | <-ms-filter>"
  228. },
  229. "font": {
  230. "comment": "extend with non-standard fonts",
  231. "syntax": "[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar | <-non-standard-font>"
  232. },
  233. "glyph-orientation-horizontal": {
  234. "comment": "added SVG property",
  235. "references": [
  236. "https://www.w3.org/TR/SVG/text.html#GlyphOrientationHorizontalProperty"
  237. ],
  238. "syntax": "<angle>"
  239. },
  240. "glyph-orientation-vertical": {
  241. "comment": "added SVG property",
  242. "references": [
  243. "https://www.w3.org/TR/SVG/text.html#GlyphOrientationVerticalProperty"
  244. ],
  245. "syntax": "<angle>"
  246. },
  247. "kerning": {
  248. "comment": "added SVG property",
  249. "references": [
  250. "https://www.w3.org/TR/SVG/text.html#KerningProperty"
  251. ],
  252. "syntax": "auto | <svg-length>"
  253. },
  254. "letter-spacing": {
  255. "comment": "fix syntax <length> -> <length-percentage>",
  256. "references": [
  257. "https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/letter-spacing"
  258. ],
  259. "syntax": "normal | <length-percentage>"
  260. },
  261. "line-height-step": {
  262. "comment": "fix extra spaces around",
  263. "syntax": "none | <length>"
  264. },
  265. "marker": {
  266. "comment": "added SVG property",
  267. "references": [
  268. "https://www.w3.org/TR/SVG/painting.html#MarkerProperties"
  269. ],
  270. "syntax": "none | <url>"
  271. },
  272. "marker-end": {
  273. "comment": "added SVG property",
  274. "references": [
  275. "https://www.w3.org/TR/SVG/painting.html#MarkerProperties"
  276. ],
  277. "syntax": "none | <url>"
  278. },
  279. "marker-mid": {
  280. "comment": "added SVG property",
  281. "references": [
  282. "https://www.w3.org/TR/SVG/painting.html#MarkerProperties"
  283. ],
  284. "syntax": "none | <url>"
  285. },
  286. "marker-start": {
  287. "comment": "added SVG property",
  288. "references": [
  289. "https://www.w3.org/TR/SVG/painting.html#MarkerProperties"
  290. ],
  291. "syntax": "none | <url>"
  292. },
  293. "max-width": {
  294. "comment": "extend by non-standard width keywords https://developer.mozilla.org/en-US/docs/Web/CSS/max-width",
  295. "syntax": "<length> | <percentage> | none | max-content | min-content | fit-content | fill-available | <-non-standard-width>"
  296. },
  297. "min-width": {
  298. "comment": "extend by non-standard width keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width",
  299. "syntax": "<length> | <percentage> | auto | max-content | min-content | fit-content | fill-available | <-non-standard-width>"
  300. },
  301. "opacity": {
  302. "comment": "strict to 0..1 <number> -> <number-zero-one>",
  303. "syntax": "<number-zero-one>"
  304. },
  305. "overflow": {
  306. "comment": "extend by vendor keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow",
  307. "syntax": "visible | hidden | scroll | auto | <-non-standard-overflow>"
  308. },
  309. "pause": {
  310. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  311. "syntax": "<'pause-before'> <'pause-after'>?"
  312. },
  313. "pause-after": {
  314. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  315. "syntax": "<time> | none | x-weak | weak | medium | strong | x-strong"
  316. },
  317. "pause-before": {
  318. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  319. "syntax": "<time> | none | x-weak | weak | medium | strong | x-strong"
  320. },
  321. "rest": {
  322. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  323. "syntax": "<'rest-before'> <'rest-after'>?"
  324. },
  325. "rest-after": {
  326. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  327. "syntax": "<time> | none | x-weak | weak | medium | strong | x-strong"
  328. },
  329. "rest-before": {
  330. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  331. "syntax": "<time> | none | x-weak | weak | medium | strong | x-strong"
  332. },
  333. "shape-rendering": {
  334. "comment": "added SVG property",
  335. "references": [
  336. "https://www.w3.org/TR/SVG/painting.html#ShapeRenderingPropert"
  337. ],
  338. "syntax": "auto | optimizeSpeed | crispEdges | geometricPrecision"
  339. },
  340. "src": {
  341. "comment": "added @font-face's src property https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src",
  342. "syntax": "[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#"
  343. },
  344. "speak": {
  345. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  346. "syntax": "auto | none | normal"
  347. },
  348. "speak-as": {
  349. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  350. "syntax": "normal | spell-out || digits || [ literal-punctuation | no-punctuation ]"
  351. },
  352. "stroke": {
  353. "comment": "added SVG property",
  354. "references": [
  355. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  356. ],
  357. "syntax": "<paint>"
  358. },
  359. "stroke-dasharray": {
  360. "comment": "added SVG property; a list of comma and/or white space separated <length>s and <percentage>s",
  361. "references": [
  362. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  363. ],
  364. "syntax": "none | [ <svg-length>+ ]#"
  365. },
  366. "stroke-dashoffset": {
  367. "comment": "added SVG property",
  368. "references": [
  369. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  370. ],
  371. "syntax": "<svg-length>"
  372. },
  373. "stroke-linecap": {
  374. "comment": "added SVG property",
  375. "references": [
  376. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  377. ],
  378. "syntax": "butt | round | square"
  379. },
  380. "stroke-linejoin": {
  381. "comment": "added SVG property",
  382. "references": [
  383. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  384. ],
  385. "syntax": "miter | round | bevel"
  386. },
  387. "stroke-miterlimit": {
  388. "comment": "added SVG property (<miterlimit> = <number-one-or-greater>) ",
  389. "references": [
  390. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  391. ],
  392. "syntax": "<number-one-or-greater>"
  393. },
  394. "stroke-opacity": {
  395. "comment": "added SVG property",
  396. "references": [
  397. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  398. ],
  399. "syntax": "<number-zero-one>"
  400. },
  401. "stroke-width": {
  402. "comment": "added SVG property",
  403. "references": [
  404. "https://www.w3.org/TR/SVG/painting.html#StrokeProperties"
  405. ],
  406. "syntax": "<svg-length>"
  407. },
  408. "text-anchor": {
  409. "comment": "added SVG property",
  410. "references": [
  411. "https://www.w3.org/TR/SVG/text.html#TextAlignmentProperties"
  412. ],
  413. "syntax": "start | middle | end"
  414. },
  415. "transform-origin": {
  416. "comment": "move first group to the end since less collecting",
  417. "syntax": "[ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>? | [ <length-percentage> | left | center | right | top | bottom ]"
  418. },
  419. "unicode-bidi": {
  420. "comment": "added prefixed keywords https://developer.mozilla.org/en-US/docs/Web/CSS/unicode-bidi",
  421. "syntax": "normal | embed | isolate | bidi-override | isolate-override | plaintext | -moz-isolate | -moz-isolate-override | -moz-plaintext | -webkit-isolate"
  422. },
  423. "unicode-range": {
  424. "comment": "added missed property https://developer.mozilla.org/en-US/docs/Web/CSS/%40font-face/unicode-range",
  425. "syntax": "<unicode-range>#"
  426. },
  427. "voice-balance": {
  428. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  429. "syntax": "<number> | left | center | right | leftwards | rightwards"
  430. },
  431. "voice-duration": {
  432. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  433. "syntax": "auto | <time>"
  434. },
  435. "voice-family": {
  436. "comment": "<name> -> <family-name>, https://www.w3.org/TR/css3-speech/#property-index",
  437. "syntax": "[ [ <family-name> | <generic-voice> ] , ]* [ <family-name> | <generic-voice> ] | preserve"
  438. },
  439. "voice-pitch": {
  440. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  441. "syntax": "<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]"
  442. },
  443. "voice-range": {
  444. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  445. "syntax": "<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]"
  446. },
  447. "voice-rate": {
  448. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  449. "syntax": "[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage>"
  450. },
  451. "voice-stress": {
  452. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  453. "syntax": "normal | strong | moderate | none | reduced"
  454. },
  455. "voice-volume": {
  456. "comment": "https://www.w3.org/TR/css3-speech/#property-index",
  457. "syntax": "silent | [ [ x-soft | soft | medium | loud | x-loud ] || <decibel> ]"
  458. },
  459. "word-break": {
  460. "comment": "extend with non-standard keywords",
  461. "syntax": "normal | break-all | keep-all | <-non-standard-word-break>"
  462. },
  463. "writing-mode": {
  464. "comment": "extend with SVG keywords",
  465. "syntax": "horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr | <svg-writing-mode>"
  466. }
  467. },
  468. "syntaxes": {
  469. "-legacy-gradient": {
  470. "comment": "added collection of legacy gradient syntaxes",
  471. "syntax": "<-webkit-gradient()> | <-legacy-linear-gradient> | <-legacy-repeating-linear-gradient> | <-legacy-radial-gradient> | <-legacy-repeating-radial-gradient>"
  472. },
  473. "-legacy-linear-gradient": {
  474. "comment": "like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient",
  475. "syntax": "-moz-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-linear-gradient( <-legacy-linear-gradient-arguments> )"
  476. },
  477. "-legacy-repeating-linear-gradient": {
  478. "comment": "like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient",
  479. "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> )"
  480. },
  481. "-legacy-linear-gradient-arguments": {
  482. "comment": "like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient",
  483. "syntax": "[ <angle> | <side-or-corner> ]? , <color-stop-list>"
  484. },
  485. "-legacy-radial-gradient": {
  486. "comment": "deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients",
  487. "syntax": "-moz-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-radial-gradient( <-legacy-radial-gradient-arguments> )"
  488. },
  489. "-legacy-repeating-radial-gradient": {
  490. "comment": "deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients",
  491. "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> )"
  492. },
  493. "-legacy-radial-gradient-arguments": {
  494. "comment": "deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients",
  495. "syntax": "[ <position> , ]? [ [ [ <-legacy-radial-gradient-shape> || <-legacy-radial-gradient-size> ] | [ <length> | <percentage> ]{2} ] , ]? <color-stop-list>"
  496. },
  497. "-legacy-radial-gradient-size": {
  498. "comment": "before a standard it contains 2 extra keywords (`contain` and `cover`) https://www.w3.org/TR/2011/WD-css3-images-20110908/#ltsize",
  499. "syntax": "closest-side | closest-corner | farthest-side | farthest-corner | contain | cover"
  500. },
  501. "-legacy-radial-gradient-shape": {
  502. "comment": "define to duoble sure it doesn't extends in future https://www.w3.org/TR/2011/WD-css3-images-20110908/#ltshape",
  503. "syntax": "circle | ellipse"
  504. },
  505. "-non-standard-font": {
  506. "comment": "non standard fonts",
  507. "preferences": [
  508. "https://webkit.org/blog/3709/using-the-system-font-in-web-content/"
  509. ],
  510. "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"
  511. },
  512. "-non-standard-color": {
  513. "comment": "non standard colors",
  514. "references": [
  515. "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",
  516. "https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Mozilla_Color_Preference_Extensions"
  517. ],
  518. "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"
  519. },
  520. "-non-standard-image-rendering": {
  521. "comment": "non-standard keywords http://phrogz.net/tmp/canvas_image_zoom.html",
  522. "syntax": "optimize-contrast | -moz-crisp-edges | -o-crisp-edges | -webkit-optimize-contrast"
  523. },
  524. "-non-standard-overflow": {
  525. "comment": "non-standard keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow",
  526. "syntax": "-moz-scrollbars-none | -moz-scrollbars-horizontal | -moz-scrollbars-vertical | -moz-hidden-unscrollable"
  527. },
  528. "-non-standard-width": {
  529. "comment": "non-standard keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width",
  530. "syntax": "min-intrinsic | intrinsic | -moz-min-content | -moz-max-content | -webkit-min-content | -webkit-max-content"
  531. },
  532. "-non-standard-word-break": {
  533. "comment": "non-standard keywords https://css-tricks.com/almanac/properties/w/word-break/",
  534. "syntax": "break-word"
  535. },
  536. "-webkit-gradient()": {
  537. "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 )",
  538. "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>]* )"
  539. },
  540. "-webkit-gradient-color-stop": {
  541. "comment": "first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/",
  542. "syntax": "from( <color> ) | color-stop( [ <number-zero-one> | <percentage> ] , <color> ) | to( <color> )"
  543. },
  544. "-webkit-gradient-point": {
  545. "comment": "first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/",
  546. "syntax": "[ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]"
  547. },
  548. "-webkit-gradient-radius": {
  549. "comment": "first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/",
  550. "syntax": "<length> | <percentage>"
  551. },
  552. "-webkit-gradient-type": {
  553. "comment": "first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/",
  554. "syntax": "linear | radial"
  555. },
  556. "-webkit-mask-box-repeat": {
  557. "comment": "missed; https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-mask-box-image",
  558. "syntax": "repeat | stretch | round"
  559. },
  560. "-webkit-mask-clip-style": {
  561. "comment": "missed; there is no enough information about `-webkit-mask-clip` property, but looks like all those keywords are working",
  562. "syntax": "border | border-box | padding | padding-box | content | content-box | text"
  563. },
  564. "-ms-filter": {
  565. "syntax": "[ <progid> | FlipH | FlipV ]+"
  566. },
  567. "age": {
  568. "comment": "https://www.w3.org/TR/css3-speech/#voice-family",
  569. "syntax": "child | young | old"
  570. },
  571. "attr()": {
  572. "comment": "drop it since it's a generic",
  573. "syntax": null
  574. },
  575. "border-radius": {
  576. "comment": "missed, https://drafts.csswg.org/css-backgrounds-3/#the-border-radius",
  577. "syntax": "<length-percentage>{1,2}"
  578. },
  579. "bottom": {
  580. "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",
  581. "syntax": "<length> | auto"
  582. },
  583. "content-list": {
  584. "comment": "missed -> https://drafts.csswg.org/css-content/#typedef-content-list (document-url, <target> and leader() is omitted util stabilization)",
  585. "syntax": "[ <string> | contents | <url> | <quote> | <attr()> | counter( <ident>, <'list-style-type'>? ) ]+"
  586. },
  587. "inset()": {
  588. "comment": "changed <border-radius> to <'border-radius'>",
  589. "syntax": "inset( <length-percentage>{1,4} [ round <'border-radius'> ]? )"
  590. },
  591. "generic-voice": {
  592. "comment": "https://www.w3.org/TR/css3-speech/#voice-family",
  593. "syntax": "[ <age>? <gender> <integer>? ]"
  594. },
  595. "gender": {
  596. "comment": "https://www.w3.org/TR/css3-speech/#voice-family",
  597. "syntax": "male | female | neutral"
  598. },
  599. "generic-family": {
  600. "comment": "added -apple-system",
  601. "references": [
  602. "https://webkit.org/blog/3709/using-the-system-font-in-web-content/"
  603. ],
  604. "syntax": "serif | sans-serif | cursive | fantasy | monospace | -apple-system"
  605. },
  606. "gradient": {
  607. "comment": "added -webkit-gradient() since may to be used for legacy support",
  608. "syntax": "<-legacy-gradient> | <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()>"
  609. },
  610. "left": {
  611. "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",
  612. "syntax": "<length> | auto"
  613. },
  614. "mask-image": {
  615. "comment": "missed; https://drafts.fxtf.org/css-masking-1/#the-mask-image",
  616. "syntax": "<mask-reference>#"
  617. },
  618. "matrix()": {
  619. "comment": "redundant max",
  620. "syntax": "matrix( <number> [, <number> ]{5} )"
  621. },
  622. "matrix3d()": {
  623. "comment": "redundant max",
  624. "syntax": "matrix3d( <number> [, <number> ]{15} )"
  625. },
  626. "name-repeat": {
  627. "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",
  628. "syntax": "repeat( [ <positive-integer> | auto-fill ], <line-names>+)"
  629. },
  630. "named-color": {
  631. "comment": "replaced <ident> to list of colors according to https://www.w3.org/TR/css-color-4/#named-colors",
  632. "syntax": "transparent | aliceblue | antiquewhite | aqua | aquamarine | azure | beige | bisque | black | blanchedalmond | blue | blueviolet | brown | burlywood | cadetblue | chartreuse | chocolate | coral | cornflowerblue | cornsilk | crimson | cyan | darkblue | darkcyan | darkgoldenrod | darkgray | darkgreen | darkgrey | darkkhaki | darkmagenta | darkolivegreen | darkorange | darkorchid | darkred | darksalmon | darkseagreen | darkslateblue | darkslategray | darkslategrey | darkturquoise | darkviolet | deeppink | deepskyblue | dimgray | dimgrey | dodgerblue | firebrick | floralwhite | forestgreen | fuchsia | gainsboro | ghostwhite | gold | goldenrod | gray | green | greenyellow | grey | honeydew | hotpink | indianred | indigo | ivory | khaki | lavender | lavenderblush | lawngreen | lemonchiffon | lightblue | lightcoral | lightcyan | lightgoldenrodyellow | lightgray | lightgreen | lightgrey | lightpink | lightsalmon | lightseagreen | lightskyblue | lightslategray | lightslategrey | lightsteelblue | lightyellow | lime | limegreen | linen | magenta | maroon | mediumaquamarine | mediumblue | mediumorchid | mediumpurple | mediumseagreen | mediumslateblue | mediumspringgreen | mediumturquoise | mediumvioletred | midnightblue | mintcream | mistyrose | moccasin | navajowhite | navy | oldlace | olive | olivedrab | orange | orangered | orchid | palegoldenrod | palegreen | paleturquoise | palevioletred | papayawhip | peachpuff | peru | pink | plum | powderblue | purple | rebeccapurple | red | rosybrown | royalblue | saddlebrown | salmon | sandybrown | seagreen | seashell | sienna | silver | skyblue | slateblue | slategray | slategrey | snow | springgreen | steelblue | tan | teal | thistle | tomato | turquoise | violet | wheat | white | whitesmoke | yellow | yellowgreen | <-non-standard-color>"
  633. },
  634. "outline-radius": {
  635. "comment": "missed, looks like it's a similar to <border-radius> https://developer.mozilla.org/en/docs/Web/CSS/-moz-outline-radius",
  636. "syntax": "<border-radius>"
  637. },
  638. "paint": {
  639. "comment": "simplified SVG syntax (omit <icccolor>, replace <funciri> for <url>) https://www.w3.org/TR/SVG/painting.html#SpecifyingPaint",
  640. "syntax": "none | currentColor | <color> | <url> [ none | currentColor | <color> ]?"
  641. },
  642. "path()": {
  643. "comment": "missed, `motion` property was renamed, but left it as is for now; path() syntax was get from last draft https://drafts.fxtf.org/motion-1/#funcdef-offset-path-path",
  644. "syntax": "path( <string> )"
  645. },
  646. "right": {
  647. "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",
  648. "syntax": "<length> | auto"
  649. },
  650. "shape": {
  651. "comment": "missed spaces in function body and add backwards compatible syntax",
  652. "syntax": "rect( [ [ <top>, <right>, <bottom>, <left> ] | [ <top> <right> <bottom> <left> ] ] )"
  653. },
  654. "single-transition": {
  655. "comment": "moved <single-transition-timing-function> in the beginning to avoid wrong match to <single-transition-property>",
  656. "syntax": "<single-transition-timing-function> || [ none | <single-transition-property> ] || <time> || <time>"
  657. },
  658. "svg-length": {
  659. "comment": "All coordinates and lengths in SVG can be specified with or without a unit identifier",
  660. "references": [
  661. "https://www.w3.org/TR/SVG11/coords.html#Units"
  662. ],
  663. "syntax": "<percentage> | <length> | <number>"
  664. },
  665. "svg-writing-mode": {
  666. "comment": "SVG specific keywords (deprecated for CSS)",
  667. "references": [
  668. "https://developer.mozilla.org/en/docs/Web/CSS/writing-mode",
  669. "https://www.w3.org/TR/SVG/text.html#WritingModeProperty"
  670. ],
  671. "syntax": "lr-tb | rl-tb | tb-rl | lr | rl | tb"
  672. },
  673. "top": {
  674. "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",
  675. "syntax": "<length> | auto"
  676. },
  677. "x": {
  678. "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",
  679. "syntax": "<number>"
  680. },
  681. "y": {
  682. "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",
  683. "syntax": "<number>"
  684. },
  685. "var()": {
  686. "comment": "drop it since it's a generic (also syntax is incorrect and can't be parsed)",
  687. "syntax": null
  688. },
  689. "an-plus-b": {
  690. "comment": "syntax is incorrect and can't be parsed, drop for now",
  691. "syntax": null
  692. },
  693. "feature-type": {
  694. "comment": "syntax is incorrect and can't be parsed, drop for now",
  695. "syntax": null
  696. },
  697. "feature-value-block": {
  698. "comment": "syntax is incorrect and can't be parsed, drop for now",
  699. "syntax": null
  700. },
  701. "feature-value-declaration": {
  702. "comment": "syntax is incorrect and can't be parsed, drop for now",
  703. "syntax": null
  704. },
  705. "feature-value-block-list": {
  706. "comment": "syntax is incorrect and can't be parsed, drop for now",
  707. "syntax": null
  708. },
  709. "feature-value-declaration-list": {
  710. "comment": "syntax is incorrect and can't be parsed, drop for now",
  711. "syntax": null
  712. },
  713. "general-enclosed": {
  714. "comment": "syntax is incorrect and can't be parsed, drop for now",
  715. "syntax": null
  716. },
  717. "keyframe-block": {
  718. "comment": "syntax is incorrect and can't be parsed, drop for now",
  719. "syntax": null
  720. },
  721. "keyframe-block-list": {
  722. "comment": "syntax is incorrect and can't be parsed, drop for now",
  723. "syntax": null
  724. },
  725. "mf-plain": {
  726. "comment": "syntax is incorrect and can't be parsed, drop for now",
  727. "syntax": null
  728. },
  729. "mf-range": {
  730. "comment": "syntax is incorrect and can't be parsed, drop for now",
  731. "syntax": null
  732. },
  733. "mf-value": {
  734. "comment": "syntax is incorrect and can't be parsed, drop for now",
  735. "syntax": null
  736. },
  737. "media-and": {
  738. "comment": "syntax is incorrect and can't be parsed, drop for now",
  739. "syntax": null
  740. },
  741. "media-condition": {
  742. "comment": "syntax is incorrect and can't be parsed, drop for now",
  743. "syntax": null
  744. },
  745. "media-not": {
  746. "comment": "syntax is incorrect and can't be parsed, drop for now",
  747. "syntax": null
  748. },
  749. "media-or": {
  750. "comment": "syntax is incorrect and can't be parsed, drop for now",
  751. "syntax": null
  752. },
  753. "media-in-parens": {
  754. "comment": "syntax is incorrect and can't be parsed, drop for now",
  755. "syntax": null
  756. },
  757. "media-feature": {
  758. "comment": "syntax is incorrect and can't be parsed, drop for now",
  759. "syntax": null
  760. },
  761. "media-condition-without-or": {
  762. "comment": "syntax is incorrect and can't be parsed, drop for now",
  763. "syntax": null
  764. },
  765. "media-query": {
  766. "comment": "syntax is incorrect and can't be parsed, drop for now",
  767. "syntax": null
  768. },
  769. "media-query-list": {
  770. "comment": "syntax is incorrect and can't be parsed, drop for now",
  771. "syntax": null
  772. },
  773. "nth": {
  774. "comment": "syntax has <an-plus-b> that doesn't support currently, drop for now",
  775. "syntax": null
  776. },
  777. "page-selector": {
  778. "comment": "syntax is incorrect and can't be parsed, drop for now",
  779. "syntax": null
  780. },
  781. "page-selector-list": {
  782. "comment": "syntax is incorrect and can't be parsed, drop for now",
  783. "syntax": null
  784. },
  785. "page-body": {
  786. "comment": "syntax is incorrect and can't be parsed, drop for now",
  787. "syntax": null
  788. },
  789. "page-margin-box": {
  790. "comment": "syntax is incorrect and can't be parsed, drop for now",
  791. "syntax": null
  792. },
  793. "page-margin-box-type": {
  794. "comment": "syntax is incorrect and can't be parsed, drop for now",
  795. "syntax": null
  796. },
  797. "pseudo-page": {
  798. "comment": "syntax is incorrect and can't be parsed, drop for now",
  799. "syntax": null
  800. }
  801. }
  802. }