<!doctype html> | |
<html> | |
<head> | |
<title>video.preload - existence 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"> | |
</video> | |
<div id="log"></div> | |
<script> | |
test(function() { | |
assert_true( | |
"preload" in document.getElementById("video"), | |
"videoElement.preload property exists"); | |
}); | |
</script> | |
</body> | |
</html> |