Fix media-feature-name-no-vendor-prefix
positions for *-device-pixel-ratio
#6975
Labels
media-feature-name-no-vendor-prefix
positions for *-device-pixel-ratio
#6975
What steps are needed to reproduce the bug?
What Stylelint configuration is needed to reproduce the bug?
How did you run Stylelint?
https://stylelint.io/demo/#N4Igxg9gJgpiBcIACBbGUCWBDABAChQwDsBaElCALxNgDcMwYSAHDADxgBsSAnLAFwwR4OAAwA6UQEZRAFgCUAGnwkA7jABGAawz9yxGjHqMW7LrwFCRE6XPk5gAHSI4cmWg+evXkThB4iAOY8MDBEANxeOAC+ztEgiiAAZhicMAByWGgIIDBsWcxp4mAAziUJ4BBEKYE5Ti44jrls-GFQJU0iANpRrk0l-ACeaZzEepDVGIEkA1hEUFg8UE1RALqKUU08AK5pHQieDX0gaJhYJEkwAtshJERZTEQQJNtEWk+qRJ04XUS7nKsorEiPFEhMagAxfwoAQ5ABWJSqFVgzHKiHqxwGwy4Y2+TU4AhgAyaGwa-SGIzGJHBUxm-DmCyWeJABNaxJAcRA0SAA
Which version of Stylelint or dependencies are you using?
What did you expect to happen?
I expected a correct source index for both media queries.
What actually happened?
The source index for the first media query warning is offset by 3 characters.
Does the bug relate to non-standard syntax?
No response
Proposal to fix the bug
Update :
stylelint/lib/rules/media-feature-name-no-vendor-prefix/index.js
Line 35 in 5abe468
To :
Add extra tests :
The text was updated successfully, but these errors were encountered: