https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 67918e50c7f9aae6c81060ae466a47b8482d6beb authored by Eric Willigers on 25 March 2018, 12:48:42 UTC
CSS Backgrounds and Borders 3 parsing tests
Tip revision: 67918e5
textarea-type.html
<!DOCTYPE HTML>
<title>The type IDL attribute</title>
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-textarea-type">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="test">
<textarea></textarea>
</div>
<script>
test(function() {
  assert_equals(document.getElementById("test")
                        .getElementsByTagName("textarea")[0].type,
                "textarea");
}, "Textarea's type attribute should return 'textarea'");
</script>
back to top