← Back to team overview

touch-packages team mailing list archive

[Bug 1516243] [NEW] Neither CSS pixel counts nor physical dimension are honored

 

Public bug reported:

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

** Affects: webbrowser-app (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups