<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="../../resources/js-test-pre.js"> </script>
</head>
<body>
<p>"dirname" attribute</p>
<pre id="console"></pre>
<script>
var input = document.createElement('input');
input.setAttribute('dirName', "Hello");
shouldBeEqualToString('input.dirName', "Hello");

var textArea = document.createElement('textarea');
textArea.setAttribute('dirName', "Hello");
shouldBeEqualToString('textArea.dirName', "Hello");
successfullyParsed = true;
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>
