[mythtv] [mythtv-commits] Ticket #3132: Mythweb CSS uses '_' in identifiers, not in CSS syntax, causes Firefox to ignore those styles.
Stuart Morgan
stuart at tase.co.uk
Sat Feb 24 19:14:17 UTC 2007
On Saturday 24 February 2007 18:53:27 Stuart Morgan wrote:
> On Saturday 24 February 2007 18:28:24 Michael T. Dean wrote:
> > On 02/24/2007 10:44 AM, MythTV wrote:
> > > #3132: Mythweb CSS uses '_' in identifiers, not in CSS syntax, causes
> > > Firefox to ignore those styles.
> > > -----------------------+-----------------------------------------------
> > >-- --- Reporter: anonymous | Owner: xris
> > > Type: defect | Status: new
> > > Priority: major | Milestone: unknown
> > > Component: mythweb | Version: 0.20
> > > Severity: medium |
> > > -----------------------+-----------------------------------------------
> > >-- --- The CSS specification does not allow the underscore character in
> > > identifiers for CSS class and id. This causes Firefox to ignore any
> > > styles defined with an underscore in the name. If the Mythweb pages
> > > and CSS are modified to change '_' into '-', it will work as expected.
> > > Right now, the pages do not display correctly since many of the styles
> > > are not being applied.
> >
> > Can you provide a link or reference to a location within the
> > specification that prohibits the use of "_"?
>
> http://www.w3.org/TR/REC-CSS2/syndata.html#q4
>
> Support for underscore has been added to CSS 2.1 however.
To add to the previous, for those who are curious, underscore is number 95 (5F
in hex). CSS 2 allows a-z, A-Z. 0-9, hyphen and any character above 161 in
ISO/IEC 10646
--
Stuart Morgan
More information about the mythtv-dev
mailing list