Closed Bug 914721 Opened 12 years ago Closed 12 years ago

Redesign: One-line <pre> blocks are vertically scrollable, with line numbers offset vertically (in Safari)

Categories

(developer.mozilla.org Graveyard :: Design, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheppy, Unassigned)

References

()

Details

Attachments

(1 file)

On the linked page (https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Introduction#What_is_HTML.3F), one-line <pre> blocks are scrollable both horizontally and vertically for no obvious reason. The line numbers, too, are in the wrong place, offset vertically by a large distance. This is almost certainly related. I see this in Safari. Attached is a screen shot.
Summary: Redesign: One-line <pre> blocks are vertically scrollable, with line numbers offset vertically → Redesign: One-line <pre> blocks are vertically scrollable, with line numbers offset vertically (in Safari)
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/8addc717a29ff5ede0a2775956acd66845427b9b fix bug 914721 - Make line numbers display correctly in WebKit https://github.com/mozilla/kuma/commit/93e94f403d0ed80fdbc2e313d3bf72b2b2ad3379 Merge pull request #1362 from darkwing/fix-prism-line-numbering-914721 fix bug 914721 - Make line numbers display correctly in WebKit
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: