| Summary: | konqueror fails to load css | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Jos van den Oever <jos> |
| Component: | khtml | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jos van den Oever
2008-07-30 11:08:53 UTC
Looks like the parser can't recover from the badly malformed html properly and loses the <style> tag (and also the <title>). Amusing that they use an xhtml dtd here.. SVN commit 839700 by orlovich: Now that the HTML parser adds doctype nodes, it can no longer be sure that the <html> will be the first child of #document, so use ->documentElement() instead. Restores recovery from mis-structured head/body, w/o which we could even lose <style> or <title> elements in some cases of malformed input BUG:166450 BUG:167717 M +5 -5 htmlparser.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=839700 SVN commit 839703 by orlovich: Regression test for 167717/166450 CCBUG:167717 CCBUG:166450 A baseline/parser/167717.html-dom M +3 -1 baseline/parser/svnignore A tests/parser/167717.html WebSVN link: http://websvn.kde.org/?view=rev&revision=839703 Thanks for the quick fix. That is a beautiful unit test system! |