source: node_modules/autoprefixer/lib/hacks/grid-row-align.js@ 505f39a

Last change on this file since 505f39a was 2058e5c, checked in by istevanoska <ilinastevanoska@…>, 6 months ago

Working / before login

  • Property mode set to 100644
File size: 496 bytes
Line 
1let Declaration = require('../declaration')
2
3class GridRowAlign extends Declaration {
4 /**
5 * Do not prefix flexbox values
6 */
7 check(decl) {
8 return !decl.value.includes('flex-') && decl.value !== 'baseline'
9 }
10
11 /**
12 * Change IE property back
13 */
14 normalize() {
15 return 'align-self'
16 }
17
18 /**
19 * Change property name for IE
20 */
21 prefixed(prop, prefix) {
22 return prefix + 'grid-row-align'
23 }
24}
25
26GridRowAlign.names = ['grid-row-align']
27
28module.exports = GridRowAlign
Note: See TracBrowser for help on using the repository browser.