Class names case sensitive on chrome apps

37 views
Skip to first unread message

Sergio Garcia Murillo

unread,
Oct 19, 2015, 6:55:41 AM10/19/15
to Chromium Apps
Hello,

We are developing a chrome app with with same code as we use for our web version, and found an interesting issue, the css class names are case insensitive while on normal web browsing they are case sensitive.

Is this a bug in Chrome/Chromium? Or the expected behaviour?

Best regards
Sergio

Nikola Pavlovic

unread,
Oct 19, 2015, 7:06:59 AM10/19/15
to Chromium Apps

PhistucK

unread,
Oct 19, 2015, 7:15:52 AM10/19/15
to Nikola Pavlovic, Chromium Apps
Which is to ask - Sergio, do you start every HTML file (not templates, only full pages) in your Chrome application with <!DOCTYPE html>?
If not, you should. When an HTML page lacks a modern doctype, quirky features pop up, like case insensitive class name matching.


PhistucK

--
You received this message because you are subscribed to the Google Groups "Chromium Apps" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-app...@chromium.org.
To post to this group, send email to chromi...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-apps/.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Sergio Garcia Murillo

unread,
Oct 19, 2015, 7:18:26 AM10/19/15
to chromi...@chromium.org
Indeed that was the problem, thank you very much PhistucK and Nicola!

You know, when you start in an new environment, you often forgot to check the trivial stuff.. :)

Best regards
Sergio

Nikola Pavlovic

unread,
Oct 19, 2015, 7:19:59 AM10/19/15
to Chromium Apps
My pleasure

Regards,
Nikola
Reply all
Reply to author
Forward
0 new messages