Closed Bug 1398056 Opened 7 years ago Closed 4 years ago

Black h3 background and gray <code> background

Categories

(Developer Documentation Graveyard :: General, enhancement)

All
Other
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: fs, Assigned: eweyl)

Details

(Keywords: in-triage, Whiteboard: [specification][type:bug])

Attachments

(1 file)

What did you do?
================
Went to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#Array_instances

What happened?
==============
Saw <h2><code>Array</code> instances</h2> with both black and gray backgrounds

What should have happened?
==========================
Not sure having both backgrounds looks great. The gray background box seems also larger than the black background.

Is there anything else we should know?
======================================
Thanks for the gray for <code> generally. It's awesome!
On Mac this is only a problem with Firefox and not with Chrome or Safari. That complicates fixing it :/
Since the article page scanability changes this is a problem in h3s instead of h2s now.
We shouldn't use <code> in headlines.
Component: Design → General
Product: developer.mozilla.org → Developer Documentation
Summary: Black h2 background and gray <code> background → Black h3 background and gray <code> background
I have updated the MDN style guide to say specifically not to use any styles or things like <code> within headings. We need to work on removing these going forward.
Assignee: nobody → eweyl
Status: NEW → ASSIGNED
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: