Summary: | non standard CSS for colored scrollbars must go away | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Kai Lahmann <kfl> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | wishlist | CC: | angel_blue_co2004, gunchev+kde.bugzilla, misc2006, skquinn, skquinn |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Kai Lahmann
2002-05-02 14:20:00 UTC
Can anybody confirm that even MSIE is removing these crappy "scrollbar color" CSS attributes? If so, we should get rid of them, they can hurt usability so much. *** Bug 47325 has been marked as a duplicate of this bug. *** A workaround for the short-term is to create a user stylesheet with an !important css rule in there to override author cluelessness. I have a stylesheet named ".default.css" in my home directory, and it does *NOT* work. I'm using Konqueror 3.2.1 with KDE 3.2.1. BODY, HTML { scrollbar-base-color: ThreeDFace !important; scrollbar-face-color: ThreeDFace !important; scrollbar-arrow-color: ThreeDFace !important; scrollbar-shadow-color: ThreeDDarkShadow !important; scrollbar-highlight-color: ThreeDHighlight !important; scrollbar-3dlight-color: ThreeDLightShadow !important; scrollbar-3d-light-color: ThreeDLightShadow !important; scrollbar-darkshadow-color: ThreeDDarkShadow !important; scrollbar-track-color: Scrollbar !important; scrollbar-arrow-color: ButtonText !important; } This doesn't work in 3.2.2 either. This is a shell script I used to use, applied to libkhtml.so every time a release came out, but for some reason it started making Konqueror much more crash-prone in 3.2.0: #!/bin/sh sed -e 's/scrollbar-/xxxxxxxxxx/g' <libkhtml.so >libkhtml.so.new mv libkhtml.so libkhtml.so.old mv libkhtml.so.new libkhtml.so I very much agree, Konqueror should not have these non-standard CSS extensions. I'm for their removal too, but if some people really like them; Why not just put an option for disabling them in the settings (or having them disabled by default), so everybody's happy. But unless there's big opposition, I say "remove them". It is OK to have them if custom CSS files work. However, they don't!! Please fix it so that any user-specified !important styles will override any page-specified styles. This scrollbar colour thingie is getting very annoying, especially if there is NO way to disable it. No wonder people are flocking to Firefox. Removing is probably easy, but disabling them by default (and fixing !important to work) would be much better I think (till /if/ IE7 removes them). In 3.5.0 comment #4 is still true, scrollbar-* don't work at all in custom css files (no matter if !importand or set by the site). OT: It would be nice if one was able to specify scrollbar size, color and style for divs, frames and iframes (for presentation like html documents, opera comes in mind) with CSS, but this is different story. I wonder if it was actually removed, but I'm for keeping them! Unless they break other things, having this behavior in browsers other than IE is really nice. Setting the scrollbar color helps the look and feel of a site, and it's a shame if it's IE-only. Dear user, KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6. Please migrate to use a QWebEngine based HTML component. We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes. For security issues, please see: https://kde.org/info/security/ Sorry that we did not fix this issue during the life-time of KHTML. Greetings Christoph Cullmann |