mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 837597 - Part c: Add a test for HTMLModElement.dateTime reflection; r=bz
--HG-- rename : content/html/content/test/test_map_attributes_reflection.html => content/html/content/test/test_mod_attributes_reflection.html
This commit is contained in:
parent
6c3cfca206
commit
bd659cc3ac
@ -338,6 +338,7 @@ MOCHITEST_FILES = \
|
|||||||
test_formelements.html \
|
test_formelements.html \
|
||||||
test_rowscollection.html \
|
test_rowscollection.html \
|
||||||
test_map_attributes_reflection.html \
|
test_map_attributes_reflection.html \
|
||||||
|
test_mod_attributes_reflection.html \
|
||||||
test_mozaudiochannel.html \
|
test_mozaudiochannel.html \
|
||||||
test_style_attributes_reflection.html \
|
test_style_attributes_reflection.html \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
@ -0,0 +1,33 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Test for HTMLModElement 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 HTMLModElement attributes reflection **/
|
||||||
|
|
||||||
|
// TODO: cite (URL)
|
||||||
|
|
||||||
|
// .dateTime (String)
|
||||||
|
reflectString({
|
||||||
|
element: document.createElement("ins"),
|
||||||
|
attribute: "dateTime",
|
||||||
|
})
|
||||||
|
reflectString({
|
||||||
|
element: document.createElement("del"),
|
||||||
|
attribute: "dateTime",
|
||||||
|
})
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</pre>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user