web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

www.elconfidencial.com - unknown

Open gaby2300 opened this issue 10 years ago • 5 comments

URL: http://www.elconfidencial.com/tecnologia/2016-09-25/informatica-software-traduccion_1264707/ Browser / Version: Firefox Mobile 51.0 Operating System: Android 5.1.1 Problem type: Unknown

Steps to Reproduce

  1. Navigate to: http://www.elconfidencial.com/tecnologia/2016-09-25/informatica-software-traduccion_1264707/
  2. …

Expected Behavior: The central picture hould should show complete

Actual Behavior: Only half of the central picture can be seen

Screenshot Description

From webcompat.com with ❤️

gaby2300 avatar Oct 01 '16 20:10 gaby2300

I can reproduce this on Firefox mobile but I cannot reproduce this on Firefox 52.0 and 41.0

techchic avatar Oct 03 '16 09:10 techchic

Thanks for the report @gaby2300! I can reproduce this as well in Firefox for Android. In Chrome Android the site renders as we would expect: chrome

Spoofing the user agent to Chrome and clearing private data, the page loads properly in Firefox: firefox

Might be worth noting this site depends on 'layout.css.prefixes.webkit' being enabled to render properly.

adamopenweb avatar Oct 03 '16 22:10 adamopenweb

Let's test on the command line to see if the user agent detection is server side.

First with Firefox Android user agent:

$ http -h GET http://www.elconfidencial.com/tecnologia/2016-09-25/informatica-software-traduccion_1264707/  User-Agent:'Mozilla/5.0 (Android 6.0.1; Mobile; rv:49.0) Gecko/49.0 Firefox/49.0'
HTTP/1.1 200 OK
Accept-Ranges: bytes
Age: 142115
Content-Encoding: gzip
Content-Length: 41820

Chrome Android user agent:

$ http -h GET http://www.elconfidencial.com/tecnologia/2016-09-25/informatica-software-traduccion_1264707/  User-Agent:'Mozilla/5.0 (Linux; Android 6.0.1; Nexus 6 Build/MOB31E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.124 Mobile Safari/537.36'
HTTP/1.1 200 OK
Accept-Ranges: bytes
Age: 142497
Content-Encoding: gzip
Content-Length: 41820

Content length looks the same for both. Looking like it's client side user agent detection.

adamopenweb avatar Oct 03 '16 22:10 adamopenweb

It looks to me like Firefox for Android is just interpreting the <meta rel="viewport"> tags on the page in some completely nonsensical manner compared to Chrome.

Firefox doesn't support dynamic changes to meta viewport tags, so I couldn't test my theory on the live page, but thankfully a downloaded copy of the site still exhibits the same basic problem. Unfortunately, the only sane result I got from Firefox was when I removed the tags entirely -- then Chrome and Firefox rendered about the same way, with just some right-padding differences. I couldn't figure out what it was doing when I just played around with the various options that you can specify in meta viewport tags.

I'm hardly an expert on the subject, but it seems clear that this either a bug in Firefox or there's some excessively bad wiggle-room in the spec. @adamopenweb, are you aware of anyone who knows enough about Firefox's meta viewport support to help make heads or tails out of this?

wisniewskit avatar Nov 03 '16 01:11 wisniewskit

duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1149160 Marfeel library.

karlcow avatar Nov 04 '16 07:11 karlcow