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

List:       kde-core-devel
Subject:    Re: Reusing KHTMLs CSS parser for a KDevelop language plugin
From:       Maksim Orlovich <maksim () cs ! cornell ! edu>
Date:       2009-10-21 21:39:57
Message-ID: 200910211739.57620.maksim () cs ! cornell ! edu
[Download RAW message or body]

> The thing is, we don't really need DOM access. I mean, we want to support
>  the developer _while writing the css document_. We don't know to which
>  documents he applies this style. Hence DOM sounds like nothing for us.

DOM2 CSS is the structure of the CSS, not the HTML --- it has classes like 
CSSStyleSheet, CSSRule, CSSValue, CSSProp, etc. Though line number info may be 
an issue, regardless --- it'd be kinda wasteful to include it normally. 
Perhaps a bigger issue is that the parser isn't incremental at all. 



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

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