- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Fri, 02 Dec 2005 00:08:52 +0100
- To: Garrett Smith <dhtmlkitchen@gmail.com>
- Cc: www-dom@w3.org
* Garrett Smith wrote: >I wonder: is there a way to know the specificity of a cssRule? Can I >get some number representing the weight? DOM Level 2 Style does not offer such functionality, you would have to derive it from the selector (which you would have to parse first as the Style module provides them only as strings) and it might be better to use some other representation for it than a number. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Received on Thursday, 1 December 2005 23:09:06 UTC