Closed Bug 1663868 Opened 4 years ago Closed 4 years ago

Text colours are incorrect for <code> blocks

Categories

(Core :: Graphics: Text, defect)

80 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1520157

People

(Reporter: s.r.walker101, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:81.0) Gecko/20100101 Firefox/81.0

Steps to reproduce:

Visit play.rust-lang.org (also present in Jenkins, and other sites1 with dark colour schemes) and type into the text editor. I have reproduced this behaviour in safe mode with extensions disabled. I have been experiencing this issue in Firefox 80, on macOS 10.15.

Actual results:

The colours of the text are incorrect. They should be syntax highlighted, and because of the dark colour scheme, the text is hard to read against the background. With a light colour scheme the text is readable, but is not syntax highlighted. Manipulating the CSS color property has no effect on the text colour.

Expected results:

The text should be syntax highlighted. The attached image shows Firefox on the left, and Chrome on the right. The text is syntax highlighted in Chrome, but not in Firefox.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

Apologies for double posting, my search didn't come up with anything. Thanks!

No problem. The issue is not obvious at all.

Component: Untriaged → Graphics: Text
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: