blob: e8e5c43b8d18b698c62cf02e1a86c88758ef5931 [file] [log] [blame]
<!DOCTYPE html>
onload = function() {
window.scrollTo(0, 1000);
<body style="height: 2000px">
Checks correct paint invalidation on image src change after a pending scroll.
Passes if there is no assert failure about pending scroll offsets in a debug build
(, and both the old location and new location of the img are
correctly invalidated.
<img id='img' src='../../../fast/images/resources/green.jpg' style="width: 100px; height: 100px; position: fixed; top: 50px; left: 0">