Closed
Bug 1392857
Opened 9 years ago
Closed 6 years ago
Provide special styling for nested <DL>s
Categories
(developer.mozilla.org Graveyard :: Design, enhancement, P3)
developer.mozilla.org Graveyard
Design
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: sheppy, Unassigned)
References
()
Details
(Keywords: in-triage, Whiteboard: [specification][type:change][points=1])
Attachments
(2 files)
We use nested definition lists at times when documenting an API; for example, in a parameter list in which a parameter is an object with several fields (see https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent/PromiseRejectionEvent for example).
The readability of the nested <dl> is a little off: it's crammed up against the parent <dd>, has a lot of spacing between the items, and fails to stand out as being associated with the previous <dt><dd> pair.
A second-level <dl> should have a different appearance, either automatically or through a style the writer can choose to apply. At least adjust the line spacing a bit and possibly indent the <dl> slightly, or even consider some kind of outline or other visual cue to attach the information to the parent <dd>.
See https://screenshots.firefox.com/4ucBrrg9cI65tUpK/developer.mozilla.org for a screenshot of what it looks like now.
Here's a screenshot of the vague concept I'm talking about (with apologies, it's just a quick mockup):
https://screenshots.firefox.com/zbv8R7bel1ChLvgN/developer.mozilla.org
Updated•7 years ago
|
Priority: -- → P3
Whiteboard: [specification][type:change][points=1]
Comment 1•7 years ago
|
||
Can you add these as attachments rather than images hosted on screenshots.firefox.com?
Flags: needinfo?(eshepherd)
| Reporter | ||
Comment 2•7 years ago
|
||
Flags: needinfo?(eshepherd)
| Reporter | ||
Comment 3•7 years ago
|
||
| Reporter | ||
Comment 4•7 years ago
|
||
I've attached the screenshots.
Comment 5•6 years ago
|
||
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: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•