Closed Bug 1137 Opened 26 years ago Closed 25 years ago

Selection is wrong color

Categories

(Core :: DOM: Selection, defect, P4)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: angus, Assigned: mjudge)

References

()

Details

(Keywords: css3, verifyme)

The selection should be the default selection color for the user's environment (the OS tracks this somewhere), not black. When I make a selection, the background selection color flickers.
Assignee: rods → kostello
Assignee: kostello → akkana
Akkana -- now that you are owner of selection, I've assigned this bug to you.
Status: NEW → ASSIGNED
Accepting bug ... we'll probably want to add a call at the xpfe or gfx level to choose the selection color, potentially different for every platform; then just call that routine from the xp selection code.
Note that in CSS3, it's quite possible there will be a :selected pseudo class. The default selection background color would be exposed as a valid CSS color value much like the existing system color values in CSS2. The author would also be able to specifiy (letter|word|line)-at-a-time selection using CSS. Adding peterl to list since he's the CSS expert. Note: interested folks should see the Microsoft User Interface extensions proposed to CSS on the W3C's site (http://www.w3.org/Style/Group/) - you'll need a W3 user/pass to access it. It contains syntax examples for some of this stuff.
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Target Milestone: M4 → M7
Change Milestone to M7
Assignee: akkana → peterl
Status: ASSIGNED → NEW
Summary: Selection flickers and is wrong color → Selection is wrong color
Target Milestone: M7 → M9
Passing this along to peterl. We need someone knowledgeable about CSS to tell us what we should be doing with selection color.
Per a request from Selection and Search component eng (mjudge) and qa (elig), moving all "Selection and Search" bugs to new "Selection" component. Original "Selection and Search" component will be retired.
QA Contact: claudius → elig
[QA Assigning to self.]
Target Milestone: M10 → M11
Pushing off non-beta 1 issues
Summary: Selection is wrong color → {css3} Selection is wrong color
See the recently released CSS3 UI draft: http://www.w3.org/TR/1999/WD-css3-userint-19990916 See also bug 15282, which gives a suggested way of fixing this. Basically, you want to be doing this: :selection { background-color: Highlight; color: HighlightText; } ...and use the CSS3 functionality mentioned above.
*** Bug 7086 has been marked as a duplicate of this bug. ***
Reassigning peterl's bugs to myself.
Accepting peterl's bugs that have a Target Milestone
Pushing my M15 bugs to M16
Keywords: css3
Summary: {css3} Selection is wrong color → Selection is wrong color
Current behavior: all colors are inverted wherever text is selected, including background colors and even background images (including animated ones). This is bad because selecting is supposed to give the user a way to force the text to be readable, and inverting colors often doesn't do much to make text with bad contrast readable. A semi-random page that shows this effect with a background image is http://www.iwaynet.net/~karinaoi/karin.html . A file called /BIN/res/samples/test2.html (debug->verification->jpeg images) included with the current build shows this with an animated background image.
How come this bug is still on my list? Reassigned to mjudge, module owner for Selection. The selection should use the CSS System Colors but beware, they may not be all implemented in the platform-specific GFX libs.
Assignee: pierre → mjudge
Status: ASSIGNED → NEW
OS: Windows 95 → All
Hardware: PC → All
I think Mike is planning toork on this for M15 if he has a chance.
Priority: P2 → P4
Target Milestone: M16 → M15
I am hooking up look and feel right now but pierre will do the style work to allow me to ask for the current colors to draw. look and feel should be done today.
Status: NEW → ASSIGNED
this is fixed. style also needs to be added but that is not the scope of this bug i dont think ;) no more green selection ya! ;)
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
*SPAM*: Changing the QA contact of all open/resolved Selection bugs from elig@netscape.com to BlakeR1234@aol.com. After the many great years of service Eli has given to Mozilla, it's time for him to move on; he has accepted a position at Eazel. We'll be sad to see him go, and I'll do my best to fill his spot...
QA Contact: elig → BlakeR1234
vrfy w2k 9/25-5 talkback for the basic test page in 2000-03-11 21:42, and gneral browsing. a solaris intel pr2 build behaves the same. could someone w/ a mac verify this?
Keywords: verifyme
verified Fixed on Mac 092808 mozilla trunk build.
Verified on WinME with milestone 0.9.3. Somebody on Linux needs to verify this or can it be marked verified anyway?
VERIFIED on Linux 0.9.5 and Gnome 1.2. We need a restart to catch theme changes, but after that it works.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.