case sensitive issues

44 views
Skip to first unread message

Stefan Liebenberg

unread,
Jul 25, 2014, 10:04:54 AM7/25/14
to closure-style...@googlegroups.com
Is there a flag or quick fix that will allow us to avoid getting renamed classes that would be duplicates in a case insensitive environment?

For example we have two classes that rename to 'pc' and 'Pc'. We've noticed that some of our query searches  (via goog.dom.getElementsByClassName ) have been returning false positives when renaming is enabled. This seems to be because parent.querySelectorAll is not case sensitive. 


Ian Flanigan

unread,
Jul 25, 2014, 10:14:28 AM7/25/14
to closure-style...@googlegroups.com
It should be case-sensitive if you're in standards-mode and case-insensitive if you're not. A repro case would be helpful.

Ian


On Fri, Jul 25, 2014 at 4:04 PM, Stefan Liebenberg <siga....@gmail.com> wrote:
Is there a flag or quick fix that will allow us to avoid getting renamed classes that would be duplicates in a case insensitive environment?

For example we have two classes that rename to 'pc' and 'Pc'. We've noticed that some of our query searches  (via goog.dom.getElementsByClassName ) have been returning false positives when renaming is enabled. This seems to be because parent.querySelectorAll is not case sensitive. 


--
You received this message because you are subscribed to the Google Groups "closure-stylesheets-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-stylesheets...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stefan Liebenberg

unread,
Jul 28, 2014, 5:18:24 AM7/28/14
to closure-style...@googlegroups.com
Fixing the typo/charset issue in our doctype tag solve the issue. 

Thank you. 
Reply all
Reply to author
Forward
0 new messages