Invalid type attribute for HTMLInputElement now fallback as text type (fixes #8773)

This commit is contained in:
Ying-Ruei Liang (KK) 2016-01-01 21:24:19 +08:00
parent 5ad9207a99
commit 74905f0f3c
4 changed files with 5058 additions and 6 deletions

View file

@ -0,0 +1,8 @@
<!doctype html>
<meta charset="utf-8">
<title>Unrecognized type should fallback as text type</title>
<link rel="match" href="unrecognized-type-should-fallback-as-text-type-ref.html">
<body>
<input type="text">
<input type="text">
</body>

View file

@ -0,0 +1,8 @@
<!doctype html>
<meta charset="utf-8">
<title>Unrecognized type should fallback as text type</title>
<link rel="match" href="unrecognized-type-should-fallback-as-text-type-ref.html">
<body>
<input>
<input type="unknown">
</body>