mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
script: Also update canvas contents when laying out right after / during long parsing (#37899)
Before #37703 we were actually doing update rendering of canvases/images as part of `allow_layout_if_necessary` so let's keep doing that until we fix this properly as this will be much more involved and we want usable canvases in the mean time. Testing: Manual testing + WPT tests Fixes: #37891 --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
2ad5b24225
commit
48cf50309f
2 changed files with 1 additions and 4 deletions
|
@ -2341,7 +2341,7 @@ impl Window {
|
||||||
// iframe size updates.
|
// iframe size updates.
|
||||||
//
|
//
|
||||||
// See <https://github.com/servo/servo/issues/14719>
|
// See <https://github.com/servo/servo/issues/14719>
|
||||||
self.reflow(ReflowGoal::UpdateTheRendering, can_gc);
|
self.Document().update_the_rendering(can_gc);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn layout_blocked(&self) -> bool {
|
pub(crate) fn layout_blocked(&self) -> bool {
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
[window_resizeTo.html]
|
|
||||||
[Correctly resize outerWidth and outerHeight]
|
|
||||||
expected: FAIL
|
|
Loading…
Add table
Add a link
Reference in a new issue