# HG changeset patch # User Jorge Arellano Cid # Date 1470319877 14400 # Thu Aug 04 10:11:17 2016 -0400 # Node ID 14733bcd4cfec4c8471e31b46eaa51c665cca575 # Parent 31205ec799ab6f5fb79eb49cb2398bd2b3a2b3f5 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 diff --git a/dw/layout.cc b/dw/layout.cc --- a/dw/layout.cc +++ b/dw/layout.cc @@ -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 ();