diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2016-08-04 10:11:17 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2016-08-04 10:11:17 -0400 |
commit | d73dbead992afb6455eff8af449be70cb3227560 (patch) | |
tree | fa13927783e127399a0acb513a82b8cfc6b7598e | |
parent | f53d39d38a67ef4bd231ddddb61a53a3e5e8775c (diff) |
Revert commit #4652
Introduces regressions:
.-------.--------.------.-----------.-----------------------.-----.-----.
| | BTG | test | pravda.ru | 4ta.html | VT | PV |
| | render | t.* | #1 | #2 | Girl | footb. | horos.| | |
|-------|--------|------|-----------|-----------------------|-----|-----|
|d4652 | ok | ok | x a | x ic| ok | x l | x d | x n | ok |
'-----------------------------------------------------------------------'
Check this testsuite [1] for more details.
[1] http://www.dillo.org/test/4648/test-suite.v1.txt
-rw-r--r-- | dw/layout.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dw/layout.cc b/dw/layout.cc index 32586cd5..09e27cdb 100644 --- a/dw/layout.cc +++ b/dw/layout.cc @@ -1301,13 +1301,15 @@ void Layout::viewportSizeChanged (View *view, int width, int height) /* If size changes, redraw this view. */ if (viewportWidth != width || viewportHeight != height) { + canvasHeightGreater = false; // reset value here viewportWidth = width; viewportHeight = height; + containerSizeChanged (); + DBG_OBJ_SET_SYM ("canvasHeightGreater", + canvasHeightGreater ? "true" : "false"); DBG_OBJ_SET_NUM ("viewportWidth", viewportWidth); DBG_OBJ_SET_NUM ("viewportHeight", viewportHeight); - - containerSizeChanged (); } DBG_OBJ_LEAVE (); |