зеркало из https://github.com/mozilla/gecko-dev.git
46 строки
916 B
HTML
46 строки
916 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Test for HTMLParamElement attributes reflection</title>
|
|
<script 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>
|
|
<p id="display"></p>
|
|
<div id="content" style="display: none">
|
|
</div>
|
|
<pre id="test">
|
|
<script type="application/javascript">
|
|
|
|
/** Test for HTMLParamElement attributes reflection **/
|
|
|
|
// .name
|
|
reflectString({
|
|
element: document.createElement("param"),
|
|
attribute: "name",
|
|
});
|
|
|
|
// .value
|
|
reflectString({
|
|
element: document.createElement("param"),
|
|
attribute: "value"
|
|
});
|
|
|
|
// .type
|
|
reflectString({
|
|
element: document.createElement("param"),
|
|
attribute: "type"
|
|
});
|
|
|
|
// .valueType
|
|
reflectString({
|
|
element: document.createElement("param"),
|
|
attribute: "valueType"
|
|
});
|
|
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|