Open Bug 1232125 Opened 9 years ago Updated 2 years ago

Text selection highlight is not shown

Categories

(Core :: Layout: Text and Fonts, defect)

2.0 Branch
defect

Tracking

()

Tracking Status
firefox42 --- wontfix
firefox43 --- wontfix
firefox44 --- wontfix
firefox45 --- wontfix
firefox48 --- wontfix
firefox49 --- wontfix
firefox-esr38 --- wontfix
firefox-esr45 --- wontfix
firefox50 --- fix-optional
firefox51 --- fix-optional

People

(Reporter: alice0775, Unassigned)

References

()

Details

(4 keywords)

Attachments

(4 files)

Attached file testcase.zip
Steps to reproduce: 1. type text in textbox 2. Attempt to select the text Actual results: Text selection highlight is not shown Expected results: Text selection highlight is be shown
Regression window: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ae1034cd5067&tochange=5a79877003e8 Regressed by: 5a79877003e8 Masayuki Nakano — Bug 556694 Selection color isn't reverted when input field is specified only background-color r=dbaron
Blocks: 556694
Keywords: regression
This bug doesn't need an <input>
I cannot reproduce it. Don't you mean bug 292191?
Flags: needinfo?(masayuki) → needinfo?(alice0775)
(In reply to Masayuki Nakano [:masayuki] (Mozilla Japan) from comment #3) > I cannot reproduce it. I can reproduce Nightly45.0a1 on Windows7 classic. No background highlight, no text color changing. No background highlight on windows10 and ubuntu14.04. It is difficult to distinguish between normal and selected text. > Don't you mean bug 292191? Bug 292191 should be different issue. Because, this bug is regressed since Firefox4.0 (2010).
Flags: needinfo?(alice0775)
Mozilla/5.0 (Windows NT 5.1; rv:42.0) Gecko/20100101 Firefox/42.0 On XP selected text color changes more or less visible, depending on OS theme color setting. Selection background color is white.
Could you attach a screenshot and comment the selection color settings of Windows? Check the registry values of Hilight and HilightText under HKEY_CURRENT_USER\Control Panel\Colors.
Flags: needinfo?(alice0775)
Attached image screenshot
Screenshot, selected 'def' https://hg.mozilla.org/mozilla-central/rev/06ab805e14b5e6d8a8a99c7846c8fde163a9e5d7 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 ID:20151214122242 [HKEY_CURRENT_USER\Control Panel\Colors] "Hilight"="10 36 106" "HilightText"="255 255 255"
Flags: needinfo?(alice0775)
Attached image zoomed screenshot
Looks like actually selected but just it's hard to distinguish. I still believe that this is a dup of bug 292191. According to your testcases, the selection has enough contrast with its background-color but the background-color is really different from background-image. Bug 556694 just fixes the reverting selection colors to work with themed <input> element.
looks like the symptom is not existing on testing url nor attached test cases. Do we consider to set this bug as dup of bug 292191 for further enhancement ?
Flags: needinfo?(masayuki)
Yes, I think so.
Flags: needinfo?(masayuki)
Andrei, can anyone on your team reproduce this?
Flags: needinfo?(andrei.vaida)
I managed to reproduce this issue, using the attached test case from Comment 0 and the test case attached to Comment 2, on all the latest Firefox builds. The tests were performed on Firefox 51.0a1(2016-08-24), Firefox 50.0a2(2016-08-24), Firefox 49.0b6 and on Firefox 48.0.2, under Windows 10x64, Windows XP x64 SP2, Ubuntu 14.04x86. On Mac OS X 10.11.1 the issue is not reproducible. Also, I was not able to reproduce this issue using the website from the attachment from Comment 7. Note that on Windows XP, the issue appears to have the higher impact. I am attaching a screenshot with the results: https://i.imgur.com/IqOIPlE.png Please let me know if I can help any further with the investigation.
Flags: needinfo?(andrei.vaida)
Per comment #9, mark 51 fix-optional, but we can still take this in 51 early beta.
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Whiteboard: [parity-IE] [parity-Chrome][parity-Edge]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: