Bug 42019 - non standard CSS for colored scrollbars must go away
Summary: non standard CSS for colored scrollbars must go away
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 47325 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-02 14:33 UTC by Kai Lahmann
Modified: 2024-05-06 18:39 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Lahmann 2002-05-02 14:20:00 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           khtml
Version:           KDE 3.0.0 
Severity:          wishlist
Installed from:    Debian testing/unstable Packages
Compiler:          gcc-2.95.4
OS:                Linux
OS/Compiler notes: Not Specified

konqueror supports some non standard CSS "extensions" from Microsoft which even MS is currently removing out of their browser. khtml should get rid of this too asap.

(Submitted via bugs.kde.org)
Comment 1 Daniel Naber 2002-10-02 01:21: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. 
 
Comment 2 Daniel Naber 2002-10-02 01:33:19 UTC
*** Bug 47325 has been marked as a duplicate of this bug. ***
Comment 3 Jim Dabell 2002-11-13 18:38:18 UTC
A workaround for the short-term is to create a user stylesheet with an !important css 
rule in there to override author cluelessness. 
 
Comment 4 wy2lam 2004-05-19 04:41:42 UTC
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;
 }
Comment 5 Shawn K. Quinn 2004-05-19 06:42:27 UTC
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
Comment 6 Niels 2004-07-11 21:00:22 UTC
I very much agree, Konqueror should not have these non-standard CSS extensions.
Comment 7 Mikhail Capone 2004-07-11 22:17:13 UTC
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".
Comment 8 wy2lam 2004-07-15 08:49:13 UTC
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.
Comment 9 Doncho N. Gunchev 2005-12-22 10:38:43 UTC
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.
Comment 10 Angel Blue01 2009-03-04 21:38:47 UTC
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.
Comment 11 Christoph Cullmann 2024-05-06 18:39:28 UTC
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