mirror of
https://github.com/servo/servo
synced 2026-05-15 11:26:50 +02:00
This fixes an issue where a viewport change did not trigger a reflow, when the restyle damage was was otherwise REPAINT. Viewport changes mean changes to the initial containing block, which is one of the main inputs to layout. This should trigger a reflow always. Testing: Unfortunately, our testing infrastructure is not good enough yet to test changes to layout when resizing the `WebView`, so it is quite difficult to write tests for this change. Signed-off-by: Martin Robinson <mrobinson@igalia.com>