[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: cssRules / ID selectors
From:       Paul Temple <paul.temple () gmx ! net>
Date:       2005-02-10 16:02:56
Message-ID: 200502101702.56868.paul.temple () gmx ! net
[Download RAW message or body]

Leo Savernik wrote:
> Am Donnerstag, 10. Februar 2005 02:02 schrieb Paul Temple:
> > Paul Temple wrote:
> > > When using an ID selector that starts with a '#' like this
> > >   #helloWorld { ... }
> >
> > Remark: When using ID selectors _not_ starting with a '#'
> > like this:
> >   h1#helloWorld { ... }
> > then "document.styleSheets[i].cssRules[j].selectorText"
> > returns h1[id"helloWord"]
> > (But the "WARNING: Unhandled case ..." is displayed here,
> > too)
>
> Because it's exactly that, unhandled. Note that there's no
> assignment between the attribute and the value -> illegal CSS
> -> bug -> should be fixed -> will change in the future.

What is illegal CSS? ID selectors? See
http://www.w3.org/TR/REC-CSS2/selector.html#id-selectors

Or the access to ID selectors via cssRules?

> Will you come up with a patch?

When I know more about the whys and whens, then maybe.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic