[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: CSSStyleSelector?
From: Lars Knoll <knoll () kde ! org>
Date: 2001-09-26 14:37:07
[Download RAW message or body]
On Wednesday 26 September 2001 15:31, Martijn Klingens wrote:
> I was trying to add some preliminary debug code to CSSStyleSelector at the
> point where it parses my nodes, but I can't find out where to do that.
>
> How does the style selector retrieve its data (it's not the HTML DOM
> anymore, but another tree) and where should I add my additional code for
> traversing through CSSMediaRuleImpl objects to retrieve child CSSRuleImpl
> objects?
The construtor of the CSSStyleSelector takes a document, and then traverses
the list of style sheets from the document doc->stlyeSheets() calling append
for each of them. You'll have to do your work in this append() call.
Lars
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic