[WSG] Using a dot . in a class name

2010-03-11 Thread Jens-Uwe Korff
Hi all,

I've noticed that YouTube uses a dot for its star rating:

button class=[...] ratingL ratingL-4.5

It seems to work in browsers, but I'd like to know if this character is valid 
and if it might have future implications if used that way.

Thanks,
Jens


The information contained in this e-mail message and any accompanying files is 
or may be confidential. If you are not the intended recipient, any use, 
dissemination, reliance, forwarding, printing or copying of this e-mail or any 
attached files is unauthorised. This e-mail is subject to copyright. No part of 
it should be reproduced, adapted or communicated without the written consent of 
the copyright owner. If you have received this e-mail in error please advise 
the sender immediately by return e-mail or telephone and delete all copies. 
Fairfax does not guarantee the accuracy or completeness of any information 
contained in this e-mail or attached files. Internet communications are not 
secure, therefore Fairfax does not accept legal responsibility for the contents 
of this message or attached files.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] Using a dot . in a class name

2010-03-11 Thread Chris Knowles
I would have thought the problem would be when you want to use it in a 
stylesheet...


.ratingL-4.5 {...}

presumably a browser will read this as two classes. But if it's purely 
there for something like javascript to grab hold of and interpret it 
should be ok


--
Chris Knowles



Jens-Uwe Korff wrote:

Hi all,

I've noticed that YouTube uses a dot for its star rating:

button class=[...] ratingL ratingL-4.5

It seems to work in browsers, but I'd like to know if this character is valid 
and if it might have future implications if used that way.

Thanks,
Jens


The information contained in this e-mail message and any accompanying files is 
or may be confidential. If you are not the intended recipient, any use, 
dissemination, reliance, forwarding, printing or copying of this e-mail or any 
attached files is unauthorised. This e-mail is subject to copyright. No part of 
it should be reproduced, adapted or communicated without the written consent of 
the copyright owner. If you have received this e-mail in error please advise 
the sender immediately by return e-mail or telephone and delete all copies. 
Fairfax does not guarantee the accuracy or completeness of any information 
contained in this e-mail or attached files. Internet communications are not 
secure, therefore Fairfax does not accept legal responsibility for the contents 
of this message or attached files.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***