add comment.

This commit is contained in:
Steven Orvell
2016-06-28 14:52:55 -07:00
parent 4e51ef6445
commit e770343893
+5
View File
@@ -252,6 +252,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
} else {
return hostScope + paren;
}
// if no paren, do a straight :host replacement.
// TODO(sorvell): this should not strictly be necessary but
// it's needed to maintain support for `:host[foo]` type selectors
// which have been improperly used under Shady DOM. This should be
// deprecated.
} else {
return selector.replace(HOST, hostScope);
}