mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
45
dom/html/test/test_param_attributes_reflection.html
Normal file
45
dom/html/test/test_param_attributes_reflection.html
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for HTMLParamElement attributes reflection</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>
|
||||
<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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue