22 lines
498 B
HTML
22 lines
498 B
HTML
<!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" preload="">
|
|
</video>
|
|
<div id="log"></div>
|
|
<script>
|
|
test(function() {
|
|
assert_equals(
|
|
document.getElementById("video").preload,
|
|
"auto",
|
|
"videoElement.preload reflects empty value as 'auto'");
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|