Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Counting CSS conditional comments? #53

Open
marcric opened this issue Nov 2, 2011 · 2 comments
Open

Counting CSS conditional comments? #53

marcric opened this issue Nov 2, 2011 · 2 comments

Comments

@marcric
Copy link

marcric commented Nov 2, 2011

Apparently DOM Monster is counting CSS conditional comments.

In my site the only comment is a hack for IE

And DOM Monster reports it as a regular comment.

Should DOM Monster ignore this kind of comment when counting?

If so, how?

Regards.

@mRs-
Copy link

mRs- commented Dec 12, 2011

I think it is easy possible, we could track down the conditional comments and remove it from counting. But i don't know if Thomas like the idea behind this.

Is this really needed?

@marcric
Copy link
Author

marcric commented Dec 13, 2011

Well, my point is:

Conditional comments are not "real comments" they are there with a programmatic purpose.

So IMHO they couldn't be counted as regular comments.

Should be counted in a separate comment category at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants