New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 595284 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Unwanted white space is seen on 'Reset to Default' in wordhippo.com.

Reported by lpa...@etouch.net, Mar 16 2016

Issue description

Chrome Version: 50.0.2661.37 4cf5e769930d697e8f617cff6a12f0d27dbfee89-refs/branch-heads/2661@{#250} (32/64 bit)
OS: All (Win 7 Aero-Enabled)

Steps:
1. Launch chrome and navigate to http://www.wordhippo.com/
2. Zoom out the web page to 25% and click on 'Reset to Default'
3. Observe.

Actual: Page appear weird on 'Reset to Default', i.e. unwanted white space is seen if we scroll the web page.

Expected: Page should return to original state.

This is a non-regression issue seen from M-30 build no. 30.0.1549.1
 
Actual.mp4
296 KB Download
Actual_screenshot.png
58.3 KB View Download
Expected_screenshot.png
113 KB View Download
Status: Untriaged (was: Unconfirmed)
Untriaging it so that it gets addressed.
Status: WontFix (was: Untriaged)
The page is a giant table, with one row containing the central content, and within that row there is a table cell id="contentpagecell" that is being dynamically styled with an explicit height. The height increases as the zoom is changed but when zoom is reset the height doesn't reset.

The script file master-double-unit.js contains this method which does the work: function stretchContentPageCell() {
  var windowHeight = window.innerHeight;
  var mainTableHeight = document.getElementById("maintable").offsetHeight;
  var contentCellHeight = document.getElementById("contentpagecell").offsetHeight;
  if (windowHeight > mainTableHeight) {
    var stretchHeight = contentCellHeight + (windowHeight - mainTableHeight)
    document.getElementById("contentpagecell").style.height = stretchHeight + "px";
  }
}

The if statement only allows the size to grow, not shrink. This is not a bug, it's a web site error.


Sign in to add a comment