* Check for grid/flexbox options.
(node, result)
| 442 | * Check for grid/flexbox options. |
| 443 | */ |
| 444 | disabledDecl(node, result) { |
| 445 | if (node.type === 'decl' && this.gridStatus(node, result) === false) { |
| 446 | if (node.prop.includes('grid') || node.prop === 'justify-items') { |
| 447 | return true |
| 448 | } |
| 449 | } |
| 450 | if (node.type === 'decl' && this.prefixes.options.flexbox === false) { |
| 451 | let other = ['order', 'justify-content', 'align-items', 'align-content'] |
| 452 | if (node.prop.includes('flex') || other.includes(node.prop)) { |
| 453 | return true |
| 454 | } |
| 455 | } |
| 456 | |
| 457 | return this.disabled(node, result) |
| 458 | } |
| 459 | |
| 460 | /** |
| 461 | * Check for grid/flexbox options. |
no test coverage detected