touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #118274
[Bug 1516243] Re: Neither CSS pixel counts nor physical dimension are honored
CSS pixels ≠ physical pixels. See
http://www.quirksmode.org/blog/archives/2010/04/a_pixel_is_not.html for
details.
Unreadably small fonts probably mean that the website assumes a wider
viewport (a.k.a. it serves a desktop version of the website), which
might be due to bogus device detection (many websites out there serve
mobile content only to android or ios devices by doing simplistic
sniffing of the user-agent string, instead of relying on the actual
device capabilities).
** Changed in: webbrowser-app (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1516243
Title:
Neither CSS pixel counts nor physical dimension are honored
Status in webbrowser-app package in Ubuntu:
Invalid
Bug description:
The browser respects neither pixels nor physical (cm) sizes.
Specifying a rectangle with width: 558px takes up the whole width of
the screen in portrait whereas 559px in landscape mode, even though
according to spec of the BQ Aquaris E5 (on which I tried this), the
resolution should be 720 x 1280 (and not 558x559 !)
Specyifying a rectangle with width: 5cm in CSS shows as approx 2.2cm
in portrait mode and 3.7 cm in landscape mode.
It is my understanding that in a browser, either the pixel count
matches or the physical dimension. In the present case, none of them
match.
In particular, in the present case, the user-visible effect is that on
many web pages, the fonts are unreadably small when viewed in portrait
mode...
phablet@ubuntu-phablet:~/public_html$ lsb_release -rd
Description: Ubuntu 15.04
Release: 15.04
phablet@ubuntu-phablet:~/public_html$ apt-cache policy webbrowser-app
webbrowser-app:
Installed: 0.23+15.04.20151103-0ubuntu1
Candidate: 0.23+15.04.20151103-0ubuntu1
Version table:
*** 0.23+15.04.20151103-0ubuntu1 0
1001 http://ppa.launchpad.net/ci-train-ppa-service/stable-snapshot/ubuntu/ vivid/main armhf Packages
100 /var/lib/dpkg/status
0.23+15.04.20150416-0ubuntu1 0
500 http://ports.ubuntu.com/ubuntu-ports/ vivid/main armhf Packages
What I expect to happen:
Either the CSS pixel count or the physical dimensions (cm, inches) specified in CSS should be honored
Scale should not change by turning the phone
What happened instead:
Neither CSS pixel count nor physical dimensions are honored
Text becomes smaller when viewing in portrait
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1516243/+subscriptions
References