db0012e6473674f25dd5942a9535297d5cacb0a7.svn-base 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Form tests</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <script type="text/javascript" src="../test.js"></script>
  7. <style>
  8. input[type="radio"], input[type="checkbox"] {
  9. margin: 10px;
  10. display: inline-block;
  11. }
  12. </style>
  13. </head>
  14. <body>
  15. <input type="hidden" value="THIS SHOULD NOT BE VISIBLE!" />
  16. <input type="text" value="textbox" />
  17. <input type="password" value="textbox" />
  18. <input type="text" value="textbox" style="border:5px solid navy;" />
  19. <input type="text" value="textbox" style="border:5px solid navy;height:40px;" />
  20. <input type="text" value="textbox" style="border:5px solid navy;height:40px;padding:10px;" />
  21. <input type="text" value="textbox" style="padding:10px;" />
  22. <input type="text" value="textbox" style="padding:10px;text-align:right;" />
  23. <hr />
  24. <select>
  25. <option value="1">Value 1</option>
  26. <option value="2">Value 2</option>
  27. <option value="3">Value 3</option>
  28. </select>
  29. <select>
  30. </select>
  31. <select>
  32. <option value="">2</option>
  33. </select>
  34. <select>
  35. <option value="1">Value 1</option>
  36. <option value="2" selected>Value 2 with something else</option>
  37. <option value="3">Value 3</option>
  38. </select>
  39. <hr />
  40. <input type="submit" value="Submit" />
  41. <input type="Button" value="Button" />
  42. <input type="Reset" value="Reset" />
  43. <input type="submit" value="Submit" style="width:200px;" />
  44. <input type="Button" value="Button" style="width:200px;height:50px;" />
  45. <input type="Reset" value="Reset" style="width:200px;height:50px;text-align:left;" />
  46. <hr />
  47. <textarea> </textarea>
  48. <textarea style="border-width:10px;"></textarea>
  49. <textarea> text </textarea>
  50. <textarea style="border-width:10px;">text</textarea>
  51. <hr />
  52. <input type="radio" value="radio1" />
  53. <input type="radio" value="radio2" style="transform:scale(3)" />
  54. <input type="RADIO" value="radio3" checked />
  55. <input type="radio" value="radio4" style="transform:scale(3)" checked />
  56. <input type="radio" value="radio5" style="transform:scale(3); background: red;" />
  57. <input type="radio" value="radio6" style="width: 200px;" />
  58. <input type="radio" value="radio6" style="width: 200px; height: 200px;" />
  59. <input type="radio" value="radio6" style="width: 200px; height: 200px;" checked />
  60. <input type="checkbox" value="checkbox1" />
  61. <input type="chECKbox" value="checkbox2" style="transform:scale(3)" />
  62. <input type="checkbox" value="checkbox3" checked />
  63. <input type="checkbox" value="checkbox4" style="transform:scale(3)" checked />
  64. <input type="checkbox" value="checkbox5" style="transform:scale(3); background: red;" />
  65. <input type="checkbox" value="checkbox6" style="width: 200px;" />
  66. <input type="checkbox" value="checkbox6" style="width: 200px; height: 200px;" />
  67. <input type="checkbox" value="checkbox6" style="width: 200px; height: 200px;" checked />
  68. <div style="position: absolute; width: 10px; height: 10px; border:1px solid rgb(165,165,165); border-radius: 3px; background: rgb(222,222,222)"></div>
  69. </body>
  70. </html>