Closed sebastienbarre closed 9 years ago
This is an interesting issue. What do you think is the best way to support fallbacks like this? I suppose we could check for duplicates of the same property, and only test against the last one. The duplicate checking would be slightly tricky because of shorthand properties, but otherwise it seems pretty straightforward.
@sebastienbarre thoughts?
My gut feeling is that this is no longer an issue now that we can ignore rules (issue #25). This was the extra incentive for me to send that PR :) Since I know my build process always provides a px
fallback, I can safely ignore the corresponding rule. Thanks. Feel free to close, unless you think it would impact others.
Cool, let's close for now. Something to mull over still, but I agree that the ignore option is at least a decent workaround.
I'm using the pixrem PostCSS plugin, which transforms this:
into this:
Unfortunately,
doiuse
still reports an error, I assume it's not noticing a fallback was provided and choking on the second rule?Thanks