Skip to content

Commit

Permalink
CSS: Duplicate selectors support @media. Fixed #28
Browse files Browse the repository at this point in the history
  • Loading branch information
madskristensen committed Mar 23, 2015
1 parent 52cefb1 commit 382808d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public ItemCheckResult CheckItem(ParseItem item, ICssCheckerContext context)
if (cache[i].Start >= start)
break;

if (ruleText == cache[i].Value)
if (ruleText == cache[i].Value && rule.Parent == cache[i].Rule.Parent)
{
dupe = cache[i];
break;
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This is for all Web developers using Visual Studio.
To get the latest nightly build, follow [these instructions](http://vswebessentials.com/download#nightly).


##Getting started
## Getting started
To contribute to this project, you'll need to do a few things first:

1. Fork the project on GitHub
Expand All @@ -24,7 +24,7 @@ To install your local fork into your main VS instance, you will first need to op
You can then build the project, then double-click the VSIX file from the bin folder to install it in Visual Studio.


##Useful Links
## Useful Links
- [Getting started with Visual Studio extension development](http://blog.slaks.net/2013-10-18/extending-visual-studio-part-1-getting-started/)
- [About Web Essentials features](http://blogs.msdn.com/b/mvpawardprogram/archive/2013/11/05/making-web-development-wonderful-again-with-web-essentials.aspx)
- [Inside the Visual Studio editor](http://msdn.microsoft.com/en-us/library/vstudio/dd885240.aspx)
Expand Down

0 comments on commit 382808d

Please sign in to comment.