[whatwg] Predefined classes are gone
Charles Iliya Krempeaux
supercanadian at gmail.com
Thu May 17 13:56:33 PDT 2007
Hello Adrienne,
I'm not sure how good or bad IE is in general at this stuff.
But I know escaping the ":" works in IE (for CSS)... because I did it
before. (Works in Firefox too of course.)
See ya
On 5/17/07, Adrienne Travis <altravis at eidolongroup.com> wrote:
>
> Charles,
>
> I went and looked, and per the spec you're right (any Unicode
> character, escaped, is valid) -- BUT, how do parsers/UAs treat them? I
> know IE has trouble with certain escaped characters, for instance. Not
> that i'm interested in coddling IE -- but it'd be good to make sure
> that more forward-thinking UAs aren't making the same mistake.
>
> Adrienne
>
>
>
> On 5/17/07, Charles Iliya Krempeaux <supercanadian at gmail.com> wrote:
> > Hello Adrienne,
> >
> > On 5/17/07, Adrienne Travis <altravis at eidolongroup.com> wrote:
> >
> > [...]
> >
> >
> > > But unfortunately, that
> > > totally breaks backwards-compatibility if not done very carefully. (If
> > > i declare class="dc:author" , i CAN'T address that in my stylesheet.
> >
> > I believe you can style the class name "dc:author" with CSS code like
> the
> > following...
> >
> > dc\:author {
> > /* Your style here */
> > }
> >
> > (Note the backslash in there.)
> >
> > So, no need for doing stuff with dashes.
> >
> >
> > > If the namespacing was handled with dashes, like class="dc-author",
> > > that would work, though.)
> >
> > [...]
> >
> >
> > See ya
> >
> >
> > --
> > Charles Iliya Krempeaux, B.Sc.
> >
> > charles @ reptile.ca
> > supercanadian @ gmail.com
> >
> > developer weblog: http://ChangeLog.ca/
> >
> >
>
--
Charles Iliya Krempeaux, B.Sc.
charles @ reptile.ca
supercanadian @ gmail.com
developer weblog: http://ChangeLog.ca/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070517/0af71177/attachment-0001.htm>
More information about the whatwg
mailing list