搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

[bug report] hover psehdu-class color is not reversed in high contrast black mode in Windows 10

  • 無回覆
  • 1 有這個問題
  • 7 次檢視
more options

I have a close graphic button which is gray. The button turns to black (#000) on hover. The background is white.

In high contrast black mode in Windows 10, the background is the reverse of white, black. The button is gray, which I think is the reverse of its color in normal mode.

But on hover, the button, which is supposed to be rendered with the color reverse of black, is actually rendered black (#000) and turns out invisible in the black background.

The same problem is observed for active and focus pseudo-classes of the same button.

And the problem also exists for the box-shadow property of ::before pseudo-element.

I have a close graphic button which is gray. The button turns to black (#000) on hover. The background is white. In high contrast black mode in Windows 10, the background is the reverse of white, black. The button is gray, which I think is the reverse of its color in normal mode. But on hover, the button, which is supposed to be rendered with the color reverse of black, is actually rendered black (#000) and turns out invisible in the black background. The same problem is observed for active and focus pseudo-classes of the same button. And the problem also exists for the box-shadow property of ::before pseudo-element.
附加的畫面擷圖