[patch] #63348 Konqueror looses style sheets on kde.org and gentoo.org

Germain Garand germain at ebooksfrance.org
Thu Nov 13 04:53:06 GMT 2003


Rationale of the patch:
khtml uses sticky alternate sheets, thus it tries hard to find a match for the 
previously applied sheet name.

Problem: when parsing isn't finished, it can't know whether there will be 
other sheets added or not, and it often ends up not electing any sheet.

Proposed solution: if the tokenizer is still on, choose the most suitable 
sheet and store the name to continue the search on a later 
recalcStyleSelector call if any.

Fixes #63348 + comments #4/#5 of #54335

Patch also corrects a stylesheet related merging error in
HTMLLinkElementImpl::parseAttribute
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_stylesheet_selection.diff
Type: text/x-diff
Size: 3353 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20031113/15ee3d39/attachment.diff>


More information about the kfm-devel mailing list