kdelibs/khtml

Dirk Mueller mueller at kde.org
Thu Jun 5 01:35:00 CEST 2003


CVS commit by mueller: 

- properly load and select stylesheets again after the FOUC merge from
  Safari
- code cleanup: remove dead code that tried to handle <link disable>
- recalculate alternative stylesheet chain when a <link> sheet is removed
  from document
- recalculate alternative stylesheet chain when the currently selected
  stylesheet becomes unavailable (e.g. is removed or renamed by javascript)
- properly select which stylesheets to use again (<link rel="some stylesheet">)
- remove aggressive style selector optimisation that horribly broke 
  slow loading externally stylesheets

### optimize this by avoiding style selector recalculations when just
    an unselected alternative stylesheet is becoming available/being removed

### do not download alternative stylesheets that are not rendered anyway

CCMAIL: khtml-devel at kde.org


  M +37 -34    html/html_headimpl.cpp   1.99
  M +16 -16    html/html_headimpl.h   1.43
  M +8 -11     khtml_part.cpp   1.853
  M +90 -92    xml/dom_docimpl.cpp   1.226
  M +5 -4      xml/dom_docimpl.h   1.112





More information about the Khtml-devel mailing list