← Back to team overview

touch-packages team mailing list archive

[Bug 1451937] Re: Absolutely positioned elements broken by update to CSS

 

This bug was fixed in the package ubuntu-html5-theme -
0.1.2+15.10.20150520-0ubuntu1

---------------
ubuntu-html5-theme (0.1.2+15.10.20150520-0ubuntu1) wily; urgency=medium

  [ Alexandre Abreu ]
  * Fix gallery & component showcase (LP: #1450614)
  * Fix page actions; no need to create actions when none is defined
    (LP: #1455622)
  * Update debian/control to remove qt private package deps; Rely on Qt
    5.4's new API (LP: #1387537)

  [ CI Train Bot ]
  * New rebuild forced.

  [ David Barth ]
  * Add a command line tool to maintain a theme installation in an html5
    project (LP: #1451937)

 -- CI Train Bot <ci-train-bot@xxxxxxxxxxxxx>  Wed, 20 May 2015 16:51:40
+0000

** Changed in: ubuntu-html5-theme (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-html5-theme in
Ubuntu.
https://bugs.launchpad.net/bugs/1451937

Title:
  Absolutely positioned elements broken by update to CSS

Status in Ubuntu UI SDK for HTML5 Apps:
  Confirmed
Status in Webapps Team Task Tracking Project:
  In Progress
Status in ubuntu-html5-theme package in Ubuntu:
  Fix Released

Bug description:
  My app Crosswords [1] uses absolute positioning to layout most of its
  elements.  A year ago, it worked with the toolkit; now it's broken.  I
  believe the problem was caused in 168.3.21, which added the rule:

  html, body,
  [data-role="mainview"],
  [data-role="content"] {
      position: relative;
      width: 100%;
      height: 100%;
  }

  This means absolutely positioned elements inside the content will be
  positioned in reference to the content element.  Before, all of these
  elements had been statically positioned, so absolutely positioned
  elements were positioned relative to the viewport.

  [1] https://github.com/rschroll/crosswords

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-html5-theme/+bug/1451937/+subscriptions