I noticed that conditional comments are bring scoped as
invalid illegal bad-comments-or-CDATA html
IE conditional comments flagged as invalid
smlombardi
#1
leedohm
#2
HTML doesn’t support nested comments to my understanding:
So I think this behavior is correct even if against some edge case conventions?
smlombardi
#3
Yes, it might not be “correct” but “conditional IE comments” are pretty standard.
If you are using a usemin
Gulp or Grunt task, then you would use the second level of comments too.