In CSS "." and ":" should be escaped using back-slashes like so:
#person\.name.employee { /* css rules */ } // id: #person.name, class:
employee
a.links\:external:hover { /* css rules */ } /( tag: a, class:
links:external, pseudo-class: hover
The readability's close to null IMHO, hence the very low adoption
rate.
I've never ever used either characters in a class or id name myself
but I understand who they could be useful for namespacing purposes.
I don't know what the rest of the core team thinks about it. I'm
personally not hostile to supporting it as long as it doesn't wreck
the performance of $$ and other Selector-related methods.
Regards,
Tobie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---