patch.json 40 KB

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