Summary: | konqueror, stylesheets, accessibility, colors | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Emanuel Helms <kurama08> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jlp, mail, maksim, ruano1983 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Emanuel Helms
2008-07-23 00:53:30 UTC
I can confirm this, I set the accessibility stylesheet to have black font on white bg and tried to visit blackle.com, which, however, still appears as white font on black bg. *** Bug 171964 has been marked as a duplicate of this bug. *** Confirm breakage, testing fix now.. To fix loading: --- khtml_part.cpp (revision 865951) +++ khtml_part.cpp (working copy) @@ -128,6 +128,8 @@ #include "ecma/debugger/debugwindow.h" +#include <iostream> + namespace khtml { class PartStyleSheetLoader : public CachedObjectClient { @@ -144,7 +146,8 @@ { if ( m_cachedSheet ) m_cachedSheet->deref(this); } - virtual void setStyleSheet(const DOM::DOMString&, const DOM::DOMString &sheet, const DOM::DOMString &) + + virtual void setStyleSheet(const DOM::DOMString&, const DOM::DOMString &sheet, const DOM::DOMString &, const DOM::DOMString &) { if ( m_part ) m_part->setUserStyleSheet( sheet.string() ); .... But there seems to be an another bug in re-setting, also the kcm seems a bit buggy. SVN commit 876287 by orlovich: Fix signature mis-match here, unbreaks loading of accessibility/user stylesheet, and also crash on exit when one is set. BUG:167268 BUG:164796 M +1 -1 khtml_part.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=876287 SVN commit 876288 by orlovich: Merged revision 876287: Fix signature mis-match here, unbreaks loading of accessibility/user stylesheet, and also crash on exit when one is set. BUG:167268 BUG:164796 M +1 -1 khtml_part.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=876288 |