зеркало из https://github.com/mozilla/gecko-dev.git
Bug 837597 - Part c: Add a test for HTMLMapElement.name reflection; r=bz
--HG-- rename : content/html/content/test/test_ol_attributes_reflection.html => content/html/content/test/test_map_attributes_reflection.html
This commit is contained in:
Родитель
0034b41450
Коммит
a5a62e7622
|
@ -337,6 +337,7 @@ MOCHITEST_FILES = \
|
|||
test_htmlcollection.html \
|
||||
test_formelements.html \
|
||||
test_rowscollection.html \
|
||||
test_map_attributes_reflection.html \
|
||||
test_mozaudiochannel.html \
|
||||
test_style_attributes_reflection.html \
|
||||
$(NULL)
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for HTMLMapElement 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 HTMLMapElement attributes reflection **/
|
||||
|
||||
// .name (String)
|
||||
reflectString({
|
||||
element: document.createElement("map"),
|
||||
attribute: "name",
|
||||
})
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
Загрузка…
Ссылка в новой задаче