Closed Bug 1398594 Opened 8 years ago Closed 8 years ago

Wrong rendering in Rust home page, problems with alignment of elements

Categories

(Core :: Layout: Text and Fonts, defect, P3)

57 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1390635

People

(Reporter: ignaciocaamanio, Unassigned)

Details

Attachments

(2 files)

Attached image Firefox nightly result
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20170910100150 Steps to reproduce: Go to https://www.rust-lang.org/en-US/ Actual results: Wrong alignment of elements within the editor div Expected results: Correct alignment of elements
Attached image Google Chrome result
Component: Untriaged → Layout: Text
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → x86_64
Nothing too challenging in the CSS: #editor { padding: none; margin: none; width: 100%; min-height: 300px; font-size: 13px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; white-space: pre-wrap; } I wasn't able to reproduce this one. Does it still occur reliably for you?
Flags: needinfo?(ignaciocaamanio)
Priority: -- → P3
I can reproduce. The lines with non ascii characters use more vertical space and overlap with the other lines. I tried with google chrome (see attachment) and some characters are missing but alignment is ok, maybe it's something with my system's fonts? I don't know what is "needinfo", sorry I'm new...
Flags: needinfo?(ignaciocaamanio)
Dupe of bug 1390635. (Yes, the result you see is somewhat dependent on your system's fonts. The page's styling makes assumptions about font sizing that don't hold true across a variety of -- particularly non-Latin -- fonts.)
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: