gecko-dev/dom/html/test/test_bug666666.html

33 строки
907 B
HTML
Исходник Обычный вид История

<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=666666
-->
<head>
<title>Test for Bug 666666</title>
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="application/javascript" src="reflect.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=666666">Mozilla Bug 666666</a>
<p id="display"></p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script type="application/javascript">
/** Test for Bug 666666 **/
["audio", "video"].forEach(function(element) {
reflectLimitedEnumerated({
element: document.createElement(element),
attribute: "preload",
validValues: ["none", "metadata", "auto"],
invalidValues: ["cheesecake", ""]
});
});
</script>
</pre>
</body>
</html>