@import with Extra Comma in Media Types List

Test of Filter

This text will be green if the rule has been applied.

Code Syntax


@import url(styles.css) ,screen;
         

Browser Support / Behaviour

Applied By

Not Applied By

Destroyed

Unknown

Special Notes / Browser Specific Behaviour

Commas should be used to separate multiple media types in an @import statement but can't be used when there is only one media type.

Standards-compliant browsers will ignore the whole rule and the declaration will not be applied (so the text in the example block should be red in compliant browsers).

More information