blob: 80d39f2265d7a725d7745dee8adbd26e73abbe7f [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>video.preload - reflection test</title>
<script src="../../w3cwrapper.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#dom-media-preload">spec reference</a></p>
<video id="video" autoplay preload="none">
</video>
<div id="log"></div>
<script>
test(function() {
assert_equals(
document.getElementById("video").preload,
"none",
"videoElement.preload reflects 'none' value even if autoplay attribute is present");
});
</script>
</body>
</html>