changeset 4656:14733bcd4cfe

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
author Jorge Arellano Cid <jcid@dillo.org>
date Do, 04 Aug 2016 10:11:17 -0400
parents 31205ec799ab
children 6bf4db806b57
files dw/layout.cc
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dw/layout.cc	Do Aug 04 10:10:06 2016 -0400
+++ b/dw/layout.cc	Do Aug 04 10:11:17 2016 -0400
@@ -1301,13 +1301,15 @@
 
    /* 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 ();