[mythtv] [mythtv-commits] Ticket #3132: Mythweb CSS uses '_' in identifiers, not in CSS syntax, causes Firefox to ignore those styles.

Michael T. Dean mtdean at thirdcontact.com
Sun Feb 25 20:35:31 UTC 2007


On 02/25/2007 02:43 PM, Karl Hegbloom wrote:
> On Sat, 2007-02-24 at 20:22 +0000, MythTV wrote:
>   
>>  fyi, css2 allows underscores just fine.
>>     
> No, I am fairly certain that you are mistaken.  Please see the CSS
> grammar specifications at:
>
>   http://www.w3.org/TR/REC-CSS2/syndata.html#tokenization
>
> I think that the grammar presented by "Appendix D" is the one we should go by:
>
>   http://www.w3.org/TR/REC-CSS2/grammar.html
>
>   

By CSS 2, he means specifically CSS 2.1--which is supported by Firefox.

See http://www.w3.org/TR/CSS21/syndata.html#q6 , specifically the second 
bullet ("In CSS, identifiers (including element names, classes, and IDs 
in selectors) can contain only the characters [a-z0-9] and ISO 10646 
characters U+00A1 and higher, plus the hyphen (-) and the underscore (_).")

See, also, the entire thread at 
http://www.gossamer-threads.com/lists/mythtv/dev/255015#255015 , where I 
was corrected for saying that it seems to be supported by all versions 
of CSS, and the conversation about support in browsers.

I still think something else--i.e. browser cache, or perhaps some 
Firefox extension you've installed or some Firefox config you've set   
is forcing your browser into CSS 2.0 or CSS 1.0 format, or something--is 
causing issues for you.

It works perfectly for me on Firefox (1.0, 1.5, and 2.0, so far).

Mike


More information about the mythtv-dev mailing list