khtml Library API Documentation

khtml::CSSStyleSelector Class Reference

the StyleSelector implementation for CSS. More...

#include <cssstyleselector.h>

Inheritance diagram for khtml::CSSStyleSelector:

khtml::StyleSelector List of all members.

Public Methods

 CSSStyleSelector (DOM::DocumentImpl *doc, QString userStyleSheet, DOM::StyleSheetListImpl *styleSheets, const KURL &url, bool _strictParsing)
 creates a new StyleSelector for a Document.

 CSSStyleSelector (DOM::CSSStyleSheetImpl *sheet)
 same as above but for a single stylesheet.


Detailed Description

the StyleSelector implementation for CSS.

Definition at line 102 of file cssstyleselector.h.


Constructor & Destructor Documentation

CSSStyleSelector::CSSStyleSelector DOM::DocumentImpl *    doc,
QString    userStyleSheet,
DOM::StyleSheetListImpl *    styleSheets,
const KURL   url,
bool    _strictParsing
 

creates a new StyleSelector for a Document.

goes through all StyleSheets defined in the document and creates a list of rules it needs to apply to objects

Also takes into account special cases for HTML documents, including the defaultStyle (which is html only)

Definition at line 75 of file cssstyleselector.cpp.

References QPtrList< CSSOrderedRule >::append(), QPtrListIterator::current(), QString::isEmpty(), KHTMLView::mediaType(), KHTMLView::part(), KURL::setPath(), KURL::setQuery(), KURL::setRef(), KHTMLPart::settings(), KURL::url(), and KHTMLPart::zoomFactor().

CSSStyleSelector::CSSStyleSelector DOM::CSSStyleSheetImpl *    sheet
 

same as above but for a single stylesheet.

Definition at line 138 of file cssstyleselector.cpp.

References QPtrList< CSSOrderedRule >::append().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:22:47 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001