W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2003

Re: CSS pseudo-class in DOM

From: Philippe Le Hegaret <plh@w3.org>
Date: 08 May 2003 13:36:33 -0400
To: Kang Jeong-Hee <Keizi@mail.co.kr>
Cc: WWW DOM <www-dom@w3.org>
Message-Id: <1052415393.32677.140.camel@jfouffa.w3.org>

On Sat, 2003-04-19 at 03:03, Kang Jeong-Hee wrote:
> DOM Level 2 Style describe how to express CSS in DOM:
> http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule
> and I don't know how to implement pseudo-class for selector.
> (I don't understand where to store selector part of rule in CSSRule, even)

The selector is stored as a string in CSSStyleRule.selectorText and your
pseudo-class must be part of it.

Received on Thursday, 8 May 2003 13:36:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:11 UTC