Closed Bug 1183922 Opened 11 years ago Closed 9 years ago

Images on Phoronix.com aren't shown correctly

Categories

(Web Compatibility :: Site Reports, defect)

Firefox 40
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: marco, Assigned: karlcow)

References

()

Details

(Whiteboard: [country-all] [sitewait] [serversniff])

Attachments

(3 files)

They're cut off in Firefox, rendered correctly in Chrome.
Attached image Chrome
Attached image Firefox
This is likely a variant of bug 434230 / bug 1168302.
Component: General → Mobile
Product: Firefox for Android → Tech Evangelism
It does look similar, but I don't see any relevant tables here. There's a script just above each of these graphs with the following src: "https://openbenchmarking.org/embed.php?i=1507139-BE-STEAMLINU16&sha=4000223&c=6c16cb29b8f9f460b94b5b70d72952f2f939a64f&p=0". This returns: > document.write(<thing to embed>) In the case of Chrome, it's an <img> with an svg src. That corresponds to the following rule: http://phoronix.com/phxcms-css/phoronix-10.css: article.full img { max-width: 100%; } But for Firefox, it returns an <object><svg>. To fix, they could just tweak the selector like so, article.full img, article.full object {max-width:100%;...}
Whiteboard: [country-all][contactready]
article.full object { max-width: 100%; } seems to resize only the width but the image is still too high inside the container object. article.full object { max-width: 100%; max-height: 100%; } seems to solve it.
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Whiteboard: [country-all][contactready] → [country-all][sitewait]
looking closer at that issue, they are using a third party service for the graphs. → http GET 'https://openbenchmarking.org/embed.php?i=1507139-BE-STEAMLINU16&sha=4000223&c=6c16cb29b8f9f460b94b5b70d72952f2f939a64f&p=0' HTTP/1.1 200 OK Connection: Keep-Alive Content-Encoding: gzip Content-Length: 152 Content-Type: text/html; charset=UTF-8 Date: Tue, 15 Mar 2016 05:40:51 GMT Keep-Alive: timeout=5, max=100 Server: Apache Vary: Accept-Encoding,User-Agent X-Powered-By: PHP/5.6.17 document.write('<object data="//openbenchmarking.org/embed.php?i=1507139-BE-STEAMLINU16&sha=4000223&p=2" type="image/svg+xml"></object>'); which does user agent sniffing → http GET 'https://openbenchmarking.org/embed.php?i=1507139-BE-STEAMLINU16&sha=4000223&c=6c16cb29b8f9f460b94b5b70d72952f2f939a64f&p=0' 'User-Agent:Mozilla/5.0 (Linux; Android 4.4.4; SH-01G Build/SB080) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.76 Mobile Safari/537.36' HTTP/1.1 200 OK Connection: Keep-Alive Content-Encoding: gzip Content-Length: 161 Content-Type: text/html; charset=UTF-8 Date: Tue, 15 Mar 2016 05:42:29 GMT Keep-Alive: timeout=5, max=100 Server: Apache Vary: Accept-Encoding,User-Agent X-Powered-By: PHP/5.6.17 document.write('<img type="image/svg+xml" width="auto" height="auto" src="//openbenchmarking.org/embed.php?i=1507139-BE-STEAMLINU16&sha=4000223&p=2" />'); So probably we should try to contact in fact openbenchmarking.org Switching back to needscontact.
Whiteboard: [country-all][sitewait] → [country-all] [needscontact] [serversniff]
hehe maybe it doesn't matter. https://openbenchmarking.org/ > Copyright © 2016 by Phoronix Media. > Powered By OpenBenchmarking.org Server Using Phoronix Test Suite GAMVIK. > OpenBenchmarking.org is a component of the Phoronix Test Suite. > All trademarks used are properties of their respective owners. All rights reserved. They get a contact page at Contact us today to learn more about our commercial offerings and services! Please contact us at commercial [at] phoronix-test-suite.com. And the same person is here: https://github.com/michaellarabel <script language="javascript" src="https://openbenchmarking.org/embed.php?i=1507139-BE-STEAMLINU16&amp;sha=4000223&amp;c=6c16cb29b8f9f460b94b5b70d72952f2f939a64f&amp;p=0" type="text/javascript"></script> So basically if they send us the same thing than Chrome, we are all fine aka document.write('<img type="image/svg+xml" width="auto" height="auto" src="//openbenchmarking.org/embed.php?i=1507139-BE-STEAMLINU16&sha=4000223&p=2" />');
Whiteboard: [country-all] [needscontact] [serversniff] → [country-all] [sitewait] [serversniff]
Thanks Marco. I created an account but it seems I can't reply or post there. Maybe a question of credentials. If someone could point the link to here.
(In reply to Karl Dubost :karlcow from comment #11) > Thanks Marco. I created an account but it seems I can't reply or post there. > Maybe a question of credentials. If someone could point the link to here. I tried to do the same, but I couldn't.
I can't even write private messages to other people: "Sorry, you are not authorized to view this page". I guess there's some bug in the forum.
Marco, Thanks a lot! Appreciated.
Still not fixed. Marco if you can ping them again. That would be great.
Assuming he didn't ignore my responses but simply didn't see them, I've opened a new topic on the forum: https://www.phoronix.com/forums/forum/phoronix/site-discussion/868887-rendering-problems-in-firefox-for-android-and-proposed-solution.
They now both return <object><svg> for Firefox, Chrome and Safari. So now it is universally broken in the same way. I'm closing this as "RESOLVED - FIXED" (kind-of). They know about the issue, and they chose a specific (strange) path. There is no more user agent sniffing. I see that Marco has communicated the issue that it is broken everywhere now in https://www.phoronix.com/forums/forum/phoronix/site-discussion/868887-rendering-problems-in-firefox-for-android-and-proposed-solution I encourage users to push into the forum itself. Thanks Marco.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: