Closed smelukov closed 2 months ago
.some { color: rgb(255, 0, 255, 1); }
In this example, alpha component is excess and validator will tell about it: Mismatch syntax But, will be cool if validator will suggesting some fixes for these (and similar) cases:
Mismatch syntax
fixes: [ 'rgb(255, 0, 255);', 'rgba(255, 0, 255, 1);' ]
Some other examples:
.some { width: 10; }
fixes: [ '10px' ]
.some { coor: rgb(255, 0, 255, 1); }
fixes: [ 'color' ]
Too complex and out of scope, sorry...
In this example, alpha component is excess and validator will tell about it:
Mismatch syntax
But, will be cool if validator will suggesting some fixes for these (and similar) cases:Some other examples: