mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Use the origin of the actual image response when determining if a canvas is origin clean.
This commit is contained in:
parent
d855c929ef
commit
5acee23f5d
22 changed files with 79 additions and 92 deletions
|
@ -386,8 +386,8 @@ impl Window {
|
|||
}
|
||||
match response.response {
|
||||
ImageResponse::MetadataLoaded(_) => {}
|
||||
ImageResponse::Loaded(_) |
|
||||
ImageResponse::PlaceholderLoaded(_) |
|
||||
ImageResponse::Loaded(_, _) |
|
||||
ImageResponse::PlaceholderLoaded(_, _) |
|
||||
ImageResponse::None => { nodes.remove(); }
|
||||
}
|
||||
self.add_pending_reflow();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue