Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.69 KB | None | 0 0
  1. 'border-radius': {
  2. properties: [
  3. 'border-radius',
  4. 'border-top-left-radius',
  5. 'border-top-right-radius',
  6. 'border-bottom-right-radius',
  7. 'border-bottom-left-radius'
  8. ]
  9. },
  10. 'css-boxshadow': { properties: ['box-shadow'] },
  11. 'css-animation': {
  12. properties: [
  13. 'animation',
  14. 'animation-name',
  15. 'animation-duration',
  16. 'animation-delay',
  17. 'animation-direction',
  18. 'animation-fill-mode',
  19. 'animation-iteration-count',
  20. 'animation-play-state',
  21. 'animation-timing-function',
  22. '@keyframes'
  23. ]
  24. },
  25. 'css-transitions': {
  26. properties: [
  27. 'transition',
  28. 'transition-property',
  29. 'transition-duration',
  30. 'transition-delay',
  31. 'transition-timing-function'
  32. ]
  33. },
  34. transforms2d: {
  35. properties: [
  36. 'transform',
  37. 'transform-origin'
  38. ]
  39. },
  40. transforms3d: {
  41. properties: [
  42. 'perspective',
  43. 'perspective-origin',
  44. 'transform-style',
  45. 'backface-visibility'
  46. ]
  47. },
  48. 'css-gradients': {
  49. properties: [
  50. 'background',
  51. 'background-image',
  52. 'border-image'
  53. ],
  54. values: [
  55. /(^|[^-])linear-gradient/,
  56. /(^|[^-])radial-gradient/
  57. ]
  58. },
  59. 'css3-boxsizing': { properties: ['box-sizing'] },
  60. 'css-filters': { properties: ['filter'] },
  61. multicolumn: {
  62. properties: [
  63. 'columns',
  64. 'column-width',
  65. 'column-gap',
  66. 'column-rule',
  67. 'column-rule-color',
  68. 'column-rule-width',
  69. 'column-count',
  70. 'column-rule-style',
  71. 'column-span',
  72. 'column-fill',
  73. 'break-before',
  74. 'break-after',
  75. 'break-inside'
  76. ]
  77. },
  78. 'user-select-none': { properties: ['user-select'] },
  79. flexbox: {
  80. properties: ['display'],
  81. values: [
  82. 'display-flex',
  83. 'inline-flex',
  84. 'flex',
  85. 'flex-grow',
  86. 'flex-shrink',
  87. 'flex-basis',
  88. 'flex-direction',
  89. 'flex-wrap',
  90. 'flex-flow',
  91. 'justify-content',
  92. 'order',
  93. 'align-items',
  94. 'align-self',
  95. 'align-content'
  96. ]
  97. },
  98. calc: {
  99. values: ['calc'],
  100. properties: ['']
  101. },
  102. 'background-img-opts': {
  103. properties: [
  104. 'background-clip',
  105. 'background-origin',
  106. 'background-size'
  107. ]
  108. },
  109. 'font-feature': {
  110. properties: [
  111. 'font-feature-settings',
  112. 'font-variant-ligatures',
  113. 'font-language-override',
  114. 'font-kerning'
  115. ]
  116. },
  117. 'border-image': { properties: ['border-image'] },
  118. 'css-selection': {
  119. properties: ['::selection'],
  120. selector: true
  121. },
  122. 'css-placeholder': {
  123. properties: ['::placeholder'],
  124. selector: true
  125. },
  126. 'css-hyphens': { properties: ['hyphens'] },
  127. fullscreen: {
  128. properties: [':fullscreen'],
  129. selector: true
  130. },
  131. 'css3-tabsize': { properties: ['tab-size'] },
  132. 'intrinsic-width': {
  133. properties: [
  134. 'width',
  135. 'min-width',
  136. 'max-width',
  137. 'height',
  138. 'min-height',
  139. 'max-height'
  140. ],
  141. values: [
  142. 'max-content',
  143. 'min-content',
  144. 'fit-content',
  145. 'fill-available'
  146. ]
  147. },
  148. 'css3-cursors-newer': {
  149. properties: ['cursor'],
  150. values: [
  151. 'zoom-in',
  152. 'zoom-out',
  153. 'grab',
  154. 'grabbing'
  155. ]
  156. },
  157. 'css-sticky': {
  158. properties: ['position'],
  159. values: ['sticky']
  160. },
  161. pointer: { properties: ['touch-action'] },
  162. 'text-decoration': {
  163. properties: [
  164. 'text-decoration-style',
  165. 'text-decoration-line',
  166. 'text-decoration-color'
  167. ]
  168. },
  169. 'text-size-adjust': { properties: ['text-size-adjust'] },
  170. 'css-masks': {
  171. properties: [
  172. 'clip-path',
  173. 'mask',
  174. 'mask-clip',
  175. 'mask-composite',
  176. 'mask-image',
  177. 'mask-origin',
  178. 'mask-position',
  179. 'mask-repeat',
  180. 'mask-size'
  181. ]
  182. },
  183. fontface: { atrules: ['font-face'] },
  184. multibackgrounds: {
  185. properties: [/^background-?/],
  186. values: [function (value) {
  187. return list.comma(value).length > 1
  188. }]
  189. },
  190. 'css-table': {
  191. properties: ['display'],
  192. values: [
  193. 'table',
  194. 'table-cell',
  195. 'table-row',
  196. 'table-layout'
  197. ]
  198. },
  199. 'css-gencontent': {
  200. selectors: [
  201. ':before',
  202. ':after'
  203. ]
  204. },
  205. 'css-fixed': {
  206. properties: ['position'],
  207. values: ['fixed']
  208. },
  209. 'css-sel2': {
  210. selectors: [
  211. matchOutsideOfBrackets(/\*/),
  212. matchOutsideOfBrackets(/>/),
  213. matchOutsideOfBrackets(/\+/),
  214. matchOutsideOfBrackets(/\./),
  215. matchOutsideOfBrackets(/#/),
  216. ':first-child',
  217. ':link',
  218. ':visited',
  219. ':active',
  220. ':hover',
  221. ':focus',
  222. ':lang',
  223. new RegExp('\\[' + pats.attrcc + '\\]'),
  224. new RegExp('\\[' + pats.attrcc + '=' + pats.attrcc + '\\]'),
  225. new RegExp('\\[' + pats.attrcc + '\\~=' + pats.attrcc + '\\]'),
  226. new RegExp('\\[' + pats.attrcc + '\\|=' + pats.attrcc + '\\]')
  227. ]
  228. },
  229. 'css-sel3': {
  230. selectors: [
  231. new RegExp('\\[' + pats.attrcc + '\\^=' + pats.attrcc + '\\]'),
  232. new RegExp('\\[' + pats.attrcc + '\\$=' + pats.attrcc + '\\]'),
  233. new RegExp('\\[' + pats.attrcc + '\\*=' + pats.attrcc + '\\]'),
  234. ':root',
  235. ':nth-child',
  236. ':nth-last-child',
  237. 'nth-of-type',
  238. 'nth-last-of-type',
  239. ':last-child',
  240. ':first-of-type',
  241. ':last-of-type',
  242. ':only-child',
  243. ':only-of-type',
  244. ':empty',
  245. ':target',
  246. ':enabled',
  247. ':disabled',
  248. ':checked',
  249. ':not',
  250. /^[^\[]*~/
  251. ]
  252. },
  253. 'css-textshadow': { properties: ['text-shadow'] },
  254. 'css3-colors': {
  255. properties: [''],
  256. values: [
  257. 'rgba',
  258. 'hsl',
  259. 'hsla'
  260. ]
  261. },
  262. 'css-mediaqueries': { atrules: ['media'] },
  263. 'css-canvas': {
  264. properties: [/^background/],
  265. values: [/^-webkit-canvas/]
  266. },
  267. 'css-reflections': { properties: ['box-reflect'] },
  268. 'svg-css': { unimplemented: true },
  269. 'css-featurequeries': { atrules: ['supports'] },
  270. 'css-opacity': { properties: ['opacity'] },
  271. 'text-overflow': { properties: ['text-overflow'] },
  272. wordwrap: { properties: ['overflow-wrap'] },
  273. 'object-fit': { properties: ['object-fit'] },
  274. minmaxwh: {
  275. properties: [
  276. 'min-width',
  277. 'max-width',
  278. 'min-height',
  279. 'max-height'
  280. ]
  281. },
  282. 'text-stroke': { unimplemented: true },
  283. 'inline-block': {
  284. properties: ['display'],
  285. values: ['inline-block']
  286. },
  287. 'css-grid': { unimplemented: true },
  288. rem: {
  289. properties: [''],
  290. values: ['rem']
  291. },
  292. ttf: { unimplemented: true },
  293. 'pointer-events': { properties: ['pointer-events'] },
  294. 'css-regions': { unimplemented: true },
  295. 'css-counters': {
  296. properties: [
  297. 'counter-reset',
  298. 'counter-increment'
  299. ]
  300. },
  301. 'css-resize': { properties: ['resize'] },
  302. 'css-repeating-gradients': {
  303. properties: [''],
  304. values: [
  305. 'repeating-linear-gradient',
  306. 'repeating-radial-gradient'
  307. ]
  308. },
  309. 'word-break': { properties: ['word-break'] },
  310. 'viewport-units': {
  311. properties: [''],
  312. values: [
  313. 'vw',
  314. 'vh',
  315. 'vmin',
  316. 'vmax'
  317. ]
  318. },
  319. outline: {
  320. properties: [
  321. 'outline',
  322. 'outline-style',
  323. 'outline-width',
  324. 'outline-color'
  325. ]
  326. },
  327. 'css3-cursors': {
  328. properties: ['cursor'],
  329. values: [
  330. 'none',
  331. 'context-menu',
  332. 'cell',
  333. 'vertical-text',
  334. 'alias',
  335. 'copy',
  336. 'no-drop',
  337. 'not-allowed',
  338. 'nesw-resize',
  339. 'nwse-resize',
  340. 'col-resize',
  341. 'row-resize',
  342. 'all-scroll'
  343. ]
  344. },
  345. 'css-variables': { unimplemented: true },
  346. 'css-backgroundblendmode': { properties: ['background-blend-mode'] },
  347. 'css-mixblendmode': { properties: ['mix-blend-mode'] },
  348. 'will-change': { properties: ['will-change'] },
  349. 'css-shapes': {
  350. properties: [
  351. 'shape-outside',
  352. 'shape-image-threshold',
  353. 'shape-margin'
  354. ]
  355. },
  356. 'kerning-pairs-ligatures': {
  357. properties: ['text-rendering'],
  358. values: ['optimizeLegibility']
  359. },
  360. 'css-image-orientation': { properties: ['image-orientation'] },
  361. 'css-appearance': { properties: ['appearance'] },
  362. 'css-background-offsets': { unimplemented: true },
  363. 'css-touch-action': { properties: ['touch-action'] },
  364. 'css-clip-path': { properties: ['clip-path'] },
  365. 'font-unicode-range': {
  366. properties: ['unicode-range']
  367. },
  368. 'css-font-stretch': { properties: ['font-stretch'] },
  369. 'font-size-adjust': { properties: ['font-size-adjust'] },
  370. 'css-media-resolution': {
  371. atrules: ['media'],
  372. params: [
  373. 'min-resolution',
  374. 'max-resolution'
  375. ]
  376. },
  377. 'css-image-set': {
  378. properties: [''],
  379. values: ['image-set']
  380. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement