Closed Bug 1004067 Opened 10 years ago Closed 10 years ago

Facebook & Parse Logos at the bottom of http://applinks.org/ are clipped at the bottom

Categories

(Core :: SVG, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 942364

People

(Reporter: dholbert, Unassigned)

References

()

Details

Attachments

(4 files, 1 obsolete file)

STR:
 1. Load http://applinks.org/
 2. Scroll to bottom

ACTUAL RESULTS: The letters in the Facebook and Parse logos are visibly clipped at the bottom. See attached screenshot.

WFM in Chrome.

The logos are <img src="...svg">, though if I make a standalone data URI with just an <img> element and the same fixed width/height, I can't reproduce. So I think there's another confounding factor.
Attached image (wrong file) (obsolete) —
Attachment #8415503 - Attachment description: screenshot of chrome dev channel rendering → (wrong file)
Attachment #8415503 - Attachment is obsolete: true
Attached file testcase 1
(In reply to Daniel Holbert [:dholbert] from comment #0)
> The logos are <img src="...svg">, though if I make a standalone data URI
> with just an <img> element and the same fixed width/height, I can't
> reproduce

(Turns out I couldn't reproduce it with simple data URIs because I was copypasting the site's height="20px" attribute on the <img> elements, and that attribute actually *prevents* the bug -- *but* at the original URL, they also have "height:auto" in the stylesheet which neuters the height attribute.)
Here's the testcase with a fixed 20px height imposed, which fixes the bug (per prev. comment).

Without this, we end up with a computed height of 19.8px (from the SVG's aspect ratio), and apparently the sub-pixel height there messes with our rendering, or something.
I see this in the app links logo itself, at the bottom of the page, too:

data:text/html,<img src="http://applinks.org/wp-content/themes/applinks/library/img/structure/app-links-icon.svg" alt="App Links"  width="65" style="background:black">

The top of the "^" and the bottom of the "v" should both be sharp points, but instead, the bottom of the "v" is flattened/smeared. This is visible at the normal zoom level on Linux, and is also visible at various other zoom levels. (Hitting "Ctrl +" 4 times, 6 times, 7 times, and 8 times)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: