Revision 922955

Go back to digest for 8th February 2009

Bug Fixes in KDE Base

Maks Orlovich committed changes in /branches/KDE/4.2/kdelibs/khtml:

Some fixes for our stylesheets collection to fix <a href=""></a>;

1) Make sure that we create a stylesheet object even for empty <style> elements
2) Keep track of dirtiness of stylesheets list separately from that of the style selector, and make sure to rebuild it if the collection is accessed. While I am at it, instead of having confusingly similarly named recalcStyleSelector and rebuildStyleSelector, have rebuildStyleSelector and rebuildStyleSheetList, the difference between which should be evident. Also make them private.
(Though updateStyleSelector is not renamed, so things aren't 100% clear, still)

File Changes

Modified 6 files
  • /branches/KDE/4.2/kdelibs/khtml
  •   /css/css_stylesheetimpl.cpp
  •   /css/css_stylesheetimpl.h
  •   /html/html_headimpl.cpp
  •   /html/html_headimpl.h
  •   /xml/dom_docimpl.cpp
  •   /xml/dom_docimpl.h
6 files changed in total