Created
May 26, 2021 19:56
-
-
Save bedney/c84d63b12284caffa3539a56c4b59bda to your computer and use it in GitHub Desktop.
Stylelint - should recognize namespace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<style> | |
@namespace foo url("http://www.foo.com"); | |
foo|bar { | |
color: red; | |
} | |
</style> | |
</head> | |
<body xmlns:foo="http://www.foo.com"> | |
<foo:bar>This should be red</foo:bar> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment