[Webkit-unassigned] [Bug 43852] [Qt] resizeToContent seems to trigger infinite resize on some pages

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 11 11:45:56 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43852


Antonio Gomes <tonikitoo at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |edisson.braga at gmail.com,
                   |                            |kenneth at webkit.org,
                   |                            |tnoleto at gmail.com




--- Comment #2 from Antonio Gomes <tonikitoo at webkit.org>  2010-08-11 11:45:55 PST ---
(In reply to comment #1)
> It might be my fault. Looking ...

No my fault, but QtWRT had the *exactly* same probably with resizesToContents ON (on the ovi store widget). 

In both cases there was something like:

(...)
window.addEventListener("resize", OnWindowResize, false);

(...)
function OnWindowResize(e) {
  var bodyWidth = window.innerWidth;
  var bodyHeight = window.innerHeight;

  WIDTH = bodyWidth;
  HEIGHT = bodyHeight;
  document.getElementById('canvas1').width = WIDTH;
  document.getElementById('canvas1').height = HEIGHT;
  document.getElementById('background').width = WIDTH;
  document.getElementById('background').height = HEIGHT;
(...)
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list