blob: ea49fe9ef29e0e114f2b998e08f2954495e1d42d [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>video.src - reflection test</title>
<script src="../../w3cwrapper.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#dom-media-src">spec reference</a></p>
<video id="video" src="foo">
<source src="barbaz" />
</video>
<div id="log"></div>
<script>
test(function() {
assert_true(
document.getElementById("video").src.indexOf("barbaz") == -1,
"videoElement.src should reflect src attribute, not source child elements");
});
</script>
</body>
</html>