Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: LayoutTests/fast/repaint/video-unmute-repaint.html

Issue 16132004: Have to invalidate the mute button when changing the volume (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test failure. that was a silly mistake. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/repaint/video-unmute-repaint.html
diff --git a/LayoutTests/fast/repaint/video-mute-repaint.html b/LayoutTests/fast/repaint/video-unmute-repaint.html
similarity index 85%
copy from LayoutTests/fast/repaint/video-mute-repaint.html
copy to LayoutTests/fast/repaint/video-unmute-repaint.html
index b009985d7737aaf00419897b6e15323094e9ef1a..528cbf599d398405bb56e5e538943ac645bd5373 100644
--- a/LayoutTests/fast/repaint/video-mute-repaint.html
+++ b/LayoutTests/fast/repaint/video-unmute-repaint.html
@@ -8,6 +8,8 @@
<video id="v" controls autoload src="../../media/content/test.ogv">
</video>
+<p>This tests that we repaint the mute button when we change the volume</p>
+
<script>
var video = document.getElementById("v");
video.addEventListener("canplaythrough", runTest, true);
@@ -15,10 +17,11 @@
window.testRunner.waitUntilDone();
function repaintTest() {
- video.volume = 0;
+ video.volume = 0.5;
}
function runTest() {
+ video.volume = 0;
runRepaintTest();
if (window.testRunner)
« no previous file with comments | « LayoutTests/fast/repaint/video-mute-repaint-expected.txt ('k') | LayoutTests/fast/repaint/video-unmute-repaint-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698