Commit 1f07c2f1 authored by simon.fraser@apple.com's avatar simon.fraser@apple.com
Browse files

2009-11-29 Simon Fraser <simon.fraser@apple.com>

        Rubber-stamped by Eric Seidel.

        Fix up some compositing layout tests.

        * compositing/layers-inside-overflow-scroll.html:
        * compositing/self-painting-layers.html:
        Use the 'loadeddata' event, instead of 'load', to know when the video loads.

        * platform/mac/compositing/repaint/content-into-overflow-expected.checksum:
        * platform/mac/compositing/repaint/content-into-overflow-expected.png:
        * platform/mac/compositing/repaint/overflow-into-content-expected.checksum:
        * platform/mac/compositing/repaint/overflow-into-content-expected.png:
        * platform/mac/compositing/self-painting-layers-expected.checksum:
        * platform/mac/compositing/self-painting-layers-expected.png:
        Update with correct pixel results.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 49015777
2009-11-29 Simon Fraser <simon.fraser@apple.com>
Rubber-stamped by Eric Seidel.
Fix up some compositing layout tests.
* compositing/layers-inside-overflow-scroll.html:
* compositing/self-painting-layers.html:
Use the 'loadeddata' event, instead of 'load', to know when the video loads.
* platform/mac/compositing/repaint/content-into-overflow-expected.checksum:
* platform/mac/compositing/repaint/content-into-overflow-expected.png:
* platform/mac/compositing/repaint/overflow-into-content-expected.checksum:
* platform/mac/compositing/repaint/overflow-into-content-expected.png:
* platform/mac/compositing/self-painting-layers-expected.checksum:
* platform/mac/compositing/self-painting-layers-expected.png:
Update with correct pixel results.
2009-11-29 Shu Chang <Chang.Shu@nokia.com>
 
Reviewed by Eric Seidel.
......@@ -47,14 +47,16 @@
}
window.addEventListener('load', function() {
document.getElementById('video').src = "resources/video.mp4";
var video = document.getElementById('video');
video.addEventListener('loadeddata', testOnLoad, false);
video.src = "resources/video.mp4";
}, false);
</script>
</head>
<body>
<p>The red box in the overflow:scroll div should be scrolled out of view.</p>
<div id="container">
<video id="video" width="300" height="200" onload="testOnLoad()"></video>
<video id="video" width="300" height="200"></video>
</div>
<div id="details">
......
......@@ -41,14 +41,16 @@
}
window.addEventListener('load', function() {
document.getElementById('video').src = "resources/video.mp4";
var video = document.getElementById('video');
video.addEventListener('loadeddata', testOnLoad, false);
video.src = "resources/video.mp4";
}, false);
</script>
</head>
<body>
<p>You should not see double text when the div scrolls</p>
<div id="container">
<video id="video" width="300" height="200" onload="testOnLoad()"></video>
<video id="video" width="300" height="200"></video>
</div>
<div id="details">
......
08002b5ac3ddd8d6624ba23fad2ae137
\ No newline at end of file
22501d793ce2eeb0883d9c6dd74794b1
\ No newline at end of file
22501d793ce2eeb0883d9c6dd74794b1
\ No newline at end of file
08002b5ac3ddd8d6624ba23fad2ae137
\ No newline at end of file
a0e32184dbf381d26f3f4ee534a82957
\ No newline at end of file
df6e3a740bc6c742712dab27d7d54dd0
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment