selenium-webdriver 3.5.0 → 4.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/CHANGES.md +246 -0
  2. package/LICENSE +1 -1
  3. package/NOTICE +1 -1
  4. package/README.md +40 -40
  5. package/chrome.js +118 -134
  6. package/edge.js +43 -117
  7. package/example/chrome_android.js +8 -9
  8. package/example/chrome_mobile_emulation.js +8 -9
  9. package/example/firefox_channels.js +23 -19
  10. package/example/google_search.js +3 -3
  11. package/example/google_search_test.js +38 -27
  12. package/example/{chrome_headless.js → headless.js} +15 -7
  13. package/example/logging.js +40 -7
  14. package/firefox.js +789 -0
  15. package/http/index.js +62 -9
  16. package/http/util.js +11 -6
  17. package/ie.js +83 -97
  18. package/index.js +198 -114
  19. package/io/exec.js +29 -15
  20. package/io/index.js +1 -1
  21. package/io/zip.js +1 -1
  22. package/lib/actions.js +68 -63
  23. package/lib/atoms/get-attribute.js +86 -0
  24. package/lib/atoms/is-displayed.js +76 -76
  25. package/lib/by.js +7 -4
  26. package/lib/capabilities.js +310 -210
  27. package/lib/command.js +27 -51
  28. package/lib/error.js +100 -41
  29. package/lib/http.js +161 -120
  30. package/lib/input.js +1044 -8
  31. package/lib/logging.js +1 -5
  32. package/lib/promise.js +222 -3331
  33. package/lib/proxy.js +134 -39
  34. package/lib/session.js +2 -2
  35. package/lib/symbols.js +0 -0
  36. package/lib/until.js +1 -1
  37. package/lib/webdriver.js +717 -953
  38. package/net/index.js +21 -25
  39. package/net/portprober.js +51 -68
  40. package/package.json +17 -12
  41. package/proxy.js +0 -0
  42. package/remote/index.js +63 -44
  43. package/safari.js +41 -128
  44. package/testing/index.js +386 -315
  45. package/.npmignore +0 -2
  46. package/example/async_await_test.js +0 -68
  47. package/example/google_search_generator.js +0 -50
  48. package/example/parallel_flows.js +0 -54
  49. package/firefox/binary.js +0 -344
  50. package/firefox/extension.js +0 -224
  51. package/firefox/index.js +0 -626
  52. package/firefox/profile.js +0 -394
  53. package/lib/README +0 -5
  54. package/lib/atoms/getAttribute.js +0 -9
  55. package/lib/devmode.js +0 -34
  56. package/lib/events.js +0 -210
  57. package/lib/firefox/webdriver.json +0 -70
  58. package/lib/test/build.js +0 -151
  59. package/lib/test/data/ClickTest_testClicksASurroundingStrongTag.html +0 -11
  60. package/lib/test/data/Page.aspx +0 -17
  61. package/lib/test/data/Page.aspx.cs +0 -22
  62. package/lib/test/data/Redirect.aspx +0 -11
  63. package/lib/test/data/Redirect.aspx.cs +0 -9
  64. package/lib/test/data/Settings.StyleCop +0 -759
  65. package/lib/test/data/Web.Config +0 -59
  66. package/lib/test/data/actualXhtmlPage.xhtml +0 -14
  67. package/lib/test/data/ajaxy_page.html +0 -81
  68. package/lib/test/data/alerts.html +0 -85
  69. package/lib/test/data/banner.gif +0 -0
  70. package/lib/test/data/beach.jpg +0 -0
  71. package/lib/test/data/blank.html +0 -1
  72. package/lib/test/data/bodyTypingTest.html +0 -41
  73. package/lib/test/data/booleanAttributes.html +0 -19
  74. package/lib/test/data/child/childPage.html +0 -8
  75. package/lib/test/data/child/grandchild/grandchildPage.html +0 -8
  76. package/lib/test/data/clickEventPage.html +0 -26
  77. package/lib/test/data/click_frames.html +0 -10
  78. package/lib/test/data/click_jacker.html +0 -38
  79. package/lib/test/data/click_out_of_bounds.html +0 -23
  80. package/lib/test/data/click_out_of_bounds_overflow.html +0 -85
  81. package/lib/test/data/click_rtl.html +0 -19
  82. package/lib/test/data/click_source.html +0 -18
  83. package/lib/test/data/click_tests/click_iframe.html +0 -6
  84. package/lib/test/data/click_tests/click_in_iframe.html +0 -8
  85. package/lib/test/data/click_tests/disabled_element.html +0 -12
  86. package/lib/test/data/click_tests/disappearing_element.html +0 -62
  87. package/lib/test/data/click_tests/google_map.html +0 -15
  88. package/lib/test/data/click_tests/google_map.png +0 -0
  89. package/lib/test/data/click_tests/html5_submit_buttons.html +0 -16
  90. package/lib/test/data/click_tests/issue5237.html +0 -9
  91. package/lib/test/data/click_tests/issue5237_frame.html +0 -1
  92. package/lib/test/data/click_tests/issue5237_target.html +0 -10
  93. package/lib/test/data/click_tests/link_that_wraps.html +0 -11
  94. package/lib/test/data/click_tests/mapped_page1.html +0 -9
  95. package/lib/test/data/click_tests/mapped_page2.html +0 -9
  96. package/lib/test/data/click_tests/mapped_page3.html +0 -9
  97. package/lib/test/data/click_tests/overlapping_elements.html +0 -70
  98. package/lib/test/data/click_tests/partially_overlapping_elements.html +0 -124
  99. package/lib/test/data/click_tests/span_that_wraps.html +0 -11
  100. package/lib/test/data/click_tests/submitted_page.html +0 -9
  101. package/lib/test/data/click_tests/wrapped_overlapping_elements.html +0 -13
  102. package/lib/test/data/click_too_big.html +0 -10
  103. package/lib/test/data/click_too_big_in_frame.html +0 -11
  104. package/lib/test/data/clicks.html +0 -35
  105. package/lib/test/data/closeable_window.html +0 -8
  106. package/lib/test/data/cn-test.html +0 -156
  107. package/lib/test/data/colorPage.html +0 -20
  108. package/lib/test/data/cookies.html +0 -30
  109. package/lib/test/data/coordinates_tests/element_in_frame.html +0 -9
  110. package/lib/test/data/coordinates_tests/element_in_nested_frame.html +0 -9
  111. package/lib/test/data/coordinates_tests/page_with_element_out_of_view.html +0 -11
  112. package/lib/test/data/coordinates_tests/page_with_empty_element.html +0 -10
  113. package/lib/test/data/coordinates_tests/page_with_fixed_element.html +0 -12
  114. package/lib/test/data/coordinates_tests/page_with_hidden_element.html +0 -10
  115. package/lib/test/data/coordinates_tests/page_with_invisible_element.html +0 -10
  116. package/lib/test/data/coordinates_tests/page_with_transparent_element.html +0 -10
  117. package/lib/test/data/coordinates_tests/simple_page.html +0 -10
  118. package/lib/test/data/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  119. package/lib/test/data/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  120. package/lib/test/data/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  121. package/lib/test/data/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  122. package/lib/test/data/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  123. package/lib/test/data/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  124. package/lib/test/data/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  125. package/lib/test/data/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  126. package/lib/test/data/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  127. package/lib/test/data/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  128. package/lib/test/data/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  129. package/lib/test/data/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  130. package/lib/test/data/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  131. package/lib/test/data/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  132. package/lib/test/data/css/ui-lightness/jquery-ui-1.8.10.custom.css +0 -573
  133. package/lib/test/data/cssTransform.html +0 -61
  134. package/lib/test/data/cssTransform2.html +0 -20
  135. package/lib/test/data/document_write_in_onload.html +0 -13
  136. package/lib/test/data/dragAndDropInsideScrolledDiv.html +0 -67
  137. package/lib/test/data/dragAndDropTest.html +0 -102
  138. package/lib/test/data/dragDropOverflow.html +0 -104
  139. package/lib/test/data/draggableLists.html +0 -67
  140. package/lib/test/data/droppableItems.html +0 -65
  141. package/lib/test/data/dynamic.html +0 -39
  142. package/lib/test/data/dynamicallyModifiedPage.html +0 -42
  143. package/lib/test/data/errors.html +0 -15
  144. package/lib/test/data/firefox/jetpack-sample.xpi +0 -0
  145. package/lib/test/data/firefox/sample.xpi +0 -0
  146. package/lib/test/data/firefox/webextension.xpi +0 -0
  147. package/lib/test/data/fixedFooterNoScroll.html +0 -13
  148. package/lib/test/data/fixedFooterNoScrollQuirksMode.html +0 -12
  149. package/lib/test/data/formPage.html +0 -175
  150. package/lib/test/data/formSelectionPage.html +0 -46
  151. package/lib/test/data/form_handling_js_submit.html +0 -30
  152. package/lib/test/data/framePage3.html +0 -7
  153. package/lib/test/data/frameScrollChild.html +0 -26
  154. package/lib/test/data/frameScrollPage.html +0 -14
  155. package/lib/test/data/frameScrollParent.html +0 -11
  156. package/lib/test/data/frameWithAnimals.html +0 -11
  157. package/lib/test/data/frame_switching_tests/bug4876.html +0 -9
  158. package/lib/test/data/frame_switching_tests/bug4876_iframe.html +0 -9
  159. package/lib/test/data/frame_switching_tests/deletingFrame.html +0 -29
  160. package/lib/test/data/frame_switching_tests/deletingFrame_iframe.html +0 -8
  161. package/lib/test/data/frame_switching_tests/deletingFrame_iframe2.html +0 -7
  162. package/lib/test/data/frameset.html +0 -14
  163. package/lib/test/data/framesetPage2.html +0 -7
  164. package/lib/test/data/framesetPage3.html +0 -4
  165. package/lib/test/data/globalscope.html +0 -15
  166. package/lib/test/data/hidden.html +0 -5
  167. package/lib/test/data/hidden_partially.html +0 -45
  168. package/lib/test/data/html5/blue.jpg +0 -0
  169. package/lib/test/data/html5/database.js +0 -84
  170. package/lib/test/data/html5/geolocation.js +0 -18
  171. package/lib/test/data/html5/green.jpg +0 -0
  172. package/lib/test/data/html5/red.jpg +0 -0
  173. package/lib/test/data/html5/status.html +0 -1
  174. package/lib/test/data/html5/test.appcache +0 -11
  175. package/lib/test/data/html5/yellow.jpg +0 -0
  176. package/lib/test/data/html5Page.html +0 -32
  177. package/lib/test/data/icon.gif +0 -0
  178. package/lib/test/data/idElements.html +0 -2
  179. package/lib/test/data/iframeAtBottom.html +0 -15
  180. package/lib/test/data/iframeWithAlert.html +0 -1
  181. package/lib/test/data/iframeWithIframe.html +0 -1
  182. package/lib/test/data/iframes.html +0 -11
  183. package/lib/test/data/injectableContent.html +0 -22
  184. package/lib/test/data/javascriptEnhancedForm.html +0 -30
  185. package/lib/test/data/javascriptPage.html +0 -285
  186. package/lib/test/data/jquery-1.3.2.js +0 -4376
  187. package/lib/test/data/js/jquery-1.4.4.min.js +0 -167
  188. package/lib/test/data/js/jquery-ui-1.8.10.custom.min.js +0 -782
  189. package/lib/test/data/js/skins/lightgray/content.inline.min.css +0 -1
  190. package/lib/test/data/js/skins/lightgray/content.min.css +0 -1
  191. package/lib/test/data/js/skins/lightgray/fonts/readme.md +0 -1
  192. package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.dev.svg +0 -175
  193. package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.eot +0 -0
  194. package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.svg +0 -62
  195. package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.ttf +0 -0
  196. package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.woff +0 -0
  197. package/lib/test/data/js/skins/lightgray/fonts/tinymce.dev.svg +0 -153
  198. package/lib/test/data/js/skins/lightgray/fonts/tinymce.eot +0 -0
  199. package/lib/test/data/js/skins/lightgray/fonts/tinymce.svg +0 -63
  200. package/lib/test/data/js/skins/lightgray/fonts/tinymce.ttf +0 -0
  201. package/lib/test/data/js/skins/lightgray/fonts/tinymce.woff +0 -0
  202. package/lib/test/data/js/skins/lightgray/img/anchor.gif +0 -0
  203. package/lib/test/data/js/skins/lightgray/img/loader.gif +0 -0
  204. package/lib/test/data/js/skins/lightgray/img/object.gif +0 -0
  205. package/lib/test/data/js/skins/lightgray/img/trans.gif +0 -0
  206. package/lib/test/data/js/skins/lightgray/skin.ie7.min.css +0 -1
  207. package/lib/test/data/js/skins/lightgray/skin.min.css +0 -1
  208. package/lib/test/data/js/themes/modern/theme.min.js +0 -1
  209. package/lib/test/data/js/tinymce.min.js +0 -10
  210. package/lib/test/data/key_logger.html +0 -34
  211. package/lib/test/data/key_tests/remove_on_keypress.html +0 -36
  212. package/lib/test/data/keyboard_shortcut.html +0 -36
  213. package/lib/test/data/linked_image.html +0 -16
  214. package/lib/test/data/locators_tests/boolean_attribute_selected.html +0 -13
  215. package/lib/test/data/locators_tests/boolean_attribute_selected_html4.html +0 -13
  216. package/lib/test/data/longContentPage.html +0 -55
  217. package/lib/test/data/macbeth.html +0 -5255
  218. package/lib/test/data/map.png +0 -0
  219. package/lib/test/data/map_visibility.html +0 -8
  220. package/lib/test/data/markerTransparent.png +0 -0
  221. package/lib/test/data/messages.html +0 -15
  222. package/lib/test/data/meta-redirect.html +0 -11
  223. package/lib/test/data/missedJsReference.html +0 -11
  224. package/lib/test/data/modal_dialogs/modal_1.html +0 -21
  225. package/lib/test/data/modal_dialogs/modal_2.html +0 -21
  226. package/lib/test/data/modal_dialogs/modal_3.html +0 -15
  227. package/lib/test/data/modal_dialogs/modalindex.html +0 -21
  228. package/lib/test/data/mouseOver.html +0 -17
  229. package/lib/test/data/mousePositionTracker.html +0 -33
  230. package/lib/test/data/nestedElements.html +0 -164
  231. package/lib/test/data/overflow/x_auto_y_auto.html +0 -30
  232. package/lib/test/data/overflow/x_auto_y_hidden.html +0 -30
  233. package/lib/test/data/overflow/x_auto_y_scroll.html +0 -30
  234. package/lib/test/data/overflow/x_hidden_y_auto.html +0 -30
  235. package/lib/test/data/overflow/x_hidden_y_hidden.html +0 -30
  236. package/lib/test/data/overflow/x_hidden_y_scroll.html +0 -30
  237. package/lib/test/data/overflow/x_scroll_y_auto.html +0 -30
  238. package/lib/test/data/overflow/x_scroll_y_hidden.html +0 -30
  239. package/lib/test/data/overflow/x_scroll_y_scroll.html +0 -30
  240. package/lib/test/data/overflow-body.html +0 -15
  241. package/lib/test/data/pageWithOnBeforeUnloadMessage.html +0 -20
  242. package/lib/test/data/pageWithOnLoad.html +0 -6
  243. package/lib/test/data/pageWithOnUnload.html +0 -6
  244. package/lib/test/data/page_with_link_to_slow_loading_page.html +0 -6
  245. package/lib/test/data/plain.txt +0 -1
  246. package/lib/test/data/proxy/page1.html +0 -20
  247. package/lib/test/data/proxy/page2.html +0 -24
  248. package/lib/test/data/proxy/page3.html +0 -5
  249. package/lib/test/data/readOnlyPage.html +0 -24
  250. package/lib/test/data/rectangles.html +0 -40
  251. package/lib/test/data/resultPage.html +0 -25
  252. package/lib/test/data/rich_text.html +0 -161
  253. package/lib/test/data/safari/frames_benchmark.html +0 -31
  254. package/lib/test/data/screen/screen.css +0 -19
  255. package/lib/test/data/screen/screen.html +0 -72
  256. package/lib/test/data/screen/screen.js +0 -7
  257. package/lib/test/data/screen/screen_frame1.html +0 -72
  258. package/lib/test/data/screen/screen_frame2.html +0 -72
  259. package/lib/test/data/screen/screen_frames.html +0 -11
  260. package/lib/test/data/screen/screen_iframes.html +0 -12
  261. package/lib/test/data/screen/screen_too_long.html +0 -68
  262. package/lib/test/data/screen/screen_x_long.html +0 -72
  263. package/lib/test/data/screen/screen_x_too_long.html +0 -72
  264. package/lib/test/data/screen/screen_y_long.html +0 -72
  265. package/lib/test/data/screen/screen_y_too_long.html +0 -72
  266. package/lib/test/data/scroll.html +0 -27
  267. package/lib/test/data/scroll2.html +0 -21
  268. package/lib/test/data/scroll3.html +0 -8
  269. package/lib/test/data/scroll4.html +0 -7
  270. package/lib/test/data/scroll5.html +0 -18
  271. package/lib/test/data/scrolling_tests/frame_with_height_above_200.html +0 -26
  272. package/lib/test/data/scrolling_tests/frame_with_height_above_2000.html +0 -26
  273. package/lib/test/data/scrolling_tests/frame_with_nested_scrolling_frame.html +0 -11
  274. package/lib/test/data/scrolling_tests/frame_with_nested_scrolling_frame_out_of_view.html +0 -12
  275. package/lib/test/data/scrolling_tests/frame_with_small_height.html +0 -10
  276. package/lib/test/data/scrolling_tests/page_with_double_overflow_auto.html +0 -19
  277. package/lib/test/data/scrolling_tests/page_with_frame_out_of_view.html +0 -12
  278. package/lib/test/data/scrolling_tests/page_with_nested_scrolling_frames.html +0 -11
  279. package/lib/test/data/scrolling_tests/page_with_nested_scrolling_frames_out_of_view.html +0 -12
  280. package/lib/test/data/scrolling_tests/page_with_non_scrolling_frame.html +0 -11
  281. package/lib/test/data/scrolling_tests/page_with_scrolling_frame.html +0 -11
  282. package/lib/test/data/scrolling_tests/page_with_scrolling_frame_out_of_view.html +0 -12
  283. package/lib/test/data/scrolling_tests/page_with_tall_frame.html +0 -11
  284. package/lib/test/data/scrolling_tests/page_with_y_overflow_auto.html +0 -14
  285. package/lib/test/data/scrolling_tests/target_page.html +0 -9
  286. package/lib/test/data/selectPage.html +0 -58
  287. package/lib/test/data/selectableItems.html +0 -65
  288. package/lib/test/data/sessionCookie.html +0 -21
  289. package/lib/test/data/sessionCookieDest.html +0 -34
  290. package/lib/test/data/simple.xml +0 -5
  291. package/lib/test/data/simpleTest.html +0 -98
  292. package/lib/test/data/single_text_input.html +0 -12
  293. package/lib/test/data/slowLoadingAlert.html +0 -10
  294. package/lib/test/data/slowLoadingResourcePage.html +0 -12
  295. package/lib/test/data/slow_loading_iframes.html +0 -14
  296. package/lib/test/data/styledPage.html +0 -28
  297. package/lib/test/data/svgPiechart.xhtml +0 -81
  298. package/lib/test/data/svgTest.svg +0 -4
  299. package/lib/test/data/tables.html +0 -36
  300. package/lib/test/data/tinymce.html +0 -10
  301. package/lib/test/data/transformable.xml +0 -11
  302. package/lib/test/data/transformable.xsl +0 -37
  303. package/lib/test/data/transparentUpload.html +0 -70
  304. package/lib/test/data/underscore.html +0 -9
  305. package/lib/test/data/unicode_ltr.html +0 -8
  306. package/lib/test/data/upload.html +0 -45
  307. package/lib/test/data/userDefinedProperty.html +0 -8
  308. package/lib/test/data/veryLargeCanvas.html +0 -81
  309. package/lib/test/data/visibility-css.html +0 -21
  310. package/lib/test/data/win32frameset.html +0 -8
  311. package/lib/test/data/window_switching_tests/page_with_frame.html +0 -12
  312. package/lib/test/data/window_switching_tests/simple_page.html +0 -9
  313. package/lib/test/data/xhtmlFormPage.xhtml +0 -17
  314. package/lib/test/data/xhtmlTest.html +0 -76
  315. package/lib/test/fileserver.js +0 -321
  316. package/lib/test/httpserver.js +0 -120
  317. package/lib/test/index.js +0 -270
  318. package/lib/test/promise.js +0 -79
  319. package/lib/test/resources.js +0 -44
  320. package/opera.js +0 -405
  321. package/phantomjs.js +0 -282
  322. package/test/actions_test.js +0 -52
  323. package/test/chrome/options_test.js +0 -227
  324. package/test/chrome/service_test.js +0 -45
  325. package/test/cookie_test.js +0 -214
  326. package/test/element_finding_test.js +0 -426
  327. package/test/execute_script_test.js +0 -350
  328. package/test/fingerprint_test.js +0 -62
  329. package/test/firefox/extension_test.js +0 -120
  330. package/test/firefox/firefox_test.js +0 -261
  331. package/test/firefox/profile_test.js +0 -140
  332. package/test/http/http_test.js +0 -223
  333. package/test/http/util_test.js +0 -178
  334. package/test/io/io_test.js +0 -360
  335. package/test/io/zip_test.js +0 -128
  336. package/test/lib/by_test.js +0 -160
  337. package/test/lib/capabilities_test.js +0 -111
  338. package/test/lib/error_test.js +0 -305
  339. package/test/lib/events_test.js +0 -177
  340. package/test/lib/http_test.js +0 -696
  341. package/test/lib/logging_test.js +0 -272
  342. package/test/lib/promise_aplus_test.js +0 -78
  343. package/test/lib/promise_error_test.js +0 -884
  344. package/test/lib/promise_flow_test.js +0 -2288
  345. package/test/lib/promise_generator_test.js +0 -310
  346. package/test/lib/promise_test.js +0 -1109
  347. package/test/lib/testutil.js +0 -90
  348. package/test/lib/until_test.js +0 -478
  349. package/test/lib/webdriver_test.js +0 -2311
  350. package/test/logging_test.js +0 -167
  351. package/test/net/index_test.js +0 -60
  352. package/test/net/portprober_test.js +0 -128
  353. package/test/page_loading_test.js +0 -166
  354. package/test/phantomjs/execute_phantomjs_test.js +0 -59
  355. package/test/proxy_test.js +0 -180
  356. package/test/rect_test.js +0 -60
  357. package/test/remote_test.js +0 -117
  358. package/test/safari_test.js +0 -108
  359. package/test/session_test.js +0 -99
  360. package/test/stale_element_test.js +0 -63
  361. package/test/tag_name_test.js +0 -36
  362. package/test/testing/assert_test.js +0 -373
  363. package/test/testing/index_test.js +0 -224
  364. package/test/upload_test.js +0 -86
  365. package/test/window_test.js +0 -161
  366. package/testing/assert.js +0 -378
@@ -1,15 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Google Image Map</title>
5
- </head>
6
- <body>
7
- <h1>Google Image Map</h1>
8
- <img id="google_logo" src="google_map.png" usemap="#google_map" border="0" width="364" height="126"/>
9
- <map id="google_map" name="google_map">
10
- <area id="rectG" shape="rect" coords="0,0,90,100" href="mapped_page1.html" alt="area 1"/>
11
- <area id="circleO" shape="circle" coords="120,60,30" href="mapped_page2.html" alt="area 2"/>
12
- <area id="polyLE" shape="poly" coords="280,0,310,0,360,30,360,90,280,90" href="mapped_page3.html" alt="area 3"/>
13
- </map>
14
- </body>
15
- </html>
@@ -1,16 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>HTML5 Submit Buttons</title>
5
- </head>
6
- <body>
7
- <form id="form1" action="submitted_page.html">
8
- <label for="name">Enter your name: </label><input type="text" name="name" id="name"/>
9
- <button id="internal_explicit_submit" type="submit">Explicit Submit</button>
10
- <button id="internal_implicit_submit">Implicit Submit</button>
11
- <button type="submit"><span id="internal_span_submit">Spanned Submit</span></button>
12
- </form>
13
- <button id="external_explicit_submit" type="submit" form="form1">Explicit Submit</button>
14
- <button id="external_implicit_submit" form="form1">Implicit Submit</button>
15
- </body>
16
- </html>
@@ -1,9 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Sample page for issue 5237</title>
5
- </head>
6
- <body>
7
- <iframe id="search" src="issue5237_frame.html"></iframe>
8
- </body>
9
- </html>
@@ -1 +0,0 @@
1
- <a id="submit" href="#" onclick="window.top.location = 'issue5237_target.html'; return false;">Continue</a>
@@ -1,10 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Target page for issue 5237</title>
5
- </head>
6
- <body>
7
- <h1>Test passed</h1>
8
- </map>
9
- </body>
10
- </html>
@@ -1,11 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <title>Link that continues on next line</title>
5
- </head>
6
- <body>
7
- <div style="width:300px">
8
- <div style="float:left;width:200px;background:red">placeholder</div><a id="link" href="submitted_page.html">Link that continues on next line</a>
9
- </div>
10
- </body>
11
- </html>
@@ -1,9 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Target Page 1</title>
5
- </head>
6
- <body>
7
- <div>Target Page 1</div>
8
- </body>
9
- </html>
@@ -1,9 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Target Page 2</title>
5
- </head>
6
- <body>
7
- <div>Target Page 2</div>
8
- </body>
9
- </html>
@@ -1,9 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Target Page 3</title>
5
- </head>
6
- <body>
7
- <div>Target Page 3</div>
8
- </body>
9
- </html>
@@ -1,70 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <title>An element that disappears on click</title>
5
- <style>
6
- #under {
7
- position: absolute;
8
- top: 20px;
9
- left: 20px;
10
- width: 100px;
11
- height: 100px;
12
- background-color: white;
13
- }
14
-
15
- #partially_under {
16
- position: absolute;
17
- top: 20px;
18
- left: 10px;
19
- width: 100px;
20
- height: 100px;
21
- background-color: blue;
22
- opacity: 0.5;
23
- }
24
-
25
- #over {
26
- position: absolute;
27
- top: 20px;
28
- left: 20px;
29
- width: 100px;
30
- height: 100px;
31
- background-color: red;
32
- opacity: 0.5;
33
- }
34
-
35
- #log {
36
- position: absolute;
37
- top: 120px;
38
- }
39
- </style>
40
- </head>
41
- <body id="body">
42
- <div id="under"><p id="contents">Hello</p></div>
43
- <div id="partially_under"><p id="other_contents">Hello</p></div>
44
- <div id="over"></div>
45
- <div id="log">
46
- <p>Log:<p>
47
- </div>
48
- <script>
49
- var byId = document.getElementById.bind(document);
50
-
51
- var log = byId("log");
52
-
53
- function handler(ev) {
54
- log.innerHTML += "<p></p>";
55
- log.lastElementChild.textContent = ev.type + " in " + ev.target.id + " (handled by " + ev.currentTarget.id + ")\n";
56
- }
57
-
58
- var under = byId("under");
59
- var over = byId("over");
60
- var body = document.body;
61
-
62
- var types = ["click", "mousedown", "mouseup"];
63
- for (var i = 0, type; (type = types[i]); ++i) {
64
- under.addEventListener(type, handler);
65
- over.addEventListener(type, handler);
66
- body.addEventListener(type, handler);
67
- }
68
- </script>
69
- </body>
70
- </html>
@@ -1,124 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <title>An element that disappears on click</title>
5
- <style>
6
- #under_under {
7
- position: absolute;
8
- top: 20px;
9
- left: 20px;
10
- width: 100px;
11
- height: 100px;
12
- background-color: white;
13
- }
14
-
15
- #under {
16
- position: absolute;
17
- top: 20px;
18
- left: 20px;
19
- width: 100px;
20
- height: 100px;
21
- background-color: blue;
22
- opacity: 0.1;
23
- }
24
-
25
- #over1 {
26
- position: absolute;
27
- top: 10px;
28
- left: 10px;
29
- width: 50px;
30
- height: 50px;
31
- background-color: red;
32
- opacity: 0.2;
33
- }
34
-
35
- #over2 {
36
- position: absolute;
37
- top: 80px;
38
- left: 10px;
39
- width: 50px;
40
- height: 50px;
41
- background-color: red;
42
- opacity: 0.2;
43
- }
44
-
45
- #over3 {
46
- position: absolute;
47
- top: 10px;
48
- left: 80px;
49
- width: 50px;
50
- height: 50px;
51
- background-color: red;
52
- opacity: 0.2;
53
- }
54
-
55
- #over4 {
56
- position: absolute;
57
- top: 80px;
58
- left: 80px;
59
- width: 50px;
60
- height: 50px;
61
- background-color: red;
62
- opacity: 0.2;
63
- }
64
-
65
- #over5 {
66
- position: absolute;
67
- top: 45px;
68
- left: 45px;
69
- width: 50px;
70
- height: 50px;
71
- background-color: red;
72
- opacity: 0.2;
73
- }
74
-
75
- #log {
76
- position: absolute;
77
- top: 120px;
78
- }
79
- </style>
80
- </head>
81
- <body id="body">
82
- <div id="under_under"><p id="contents">Hello</p></div>
83
- <div id="under"><p id="other_contents">Hello</p></div>
84
- <div id="over1"></div>
85
- <div id="over2"></div>
86
- <div id="over3"></div>
87
- <div id="over4"></div>
88
- <div id="over5"></div>
89
- <div id="log">
90
- <p>Log:<p>
91
- </div>
92
- <script>
93
- var byId = document.getElementById.bind(document);
94
-
95
- var log = byId("log");
96
-
97
- function handler(ev) {
98
- log.innerHTML += "<p></p>";
99
- log.lastElementChild.textContent = ev.type + " in " + ev.target.id + " (handled by " + ev.currentTarget.id + ")\n";
100
- }
101
-
102
- var under_under = byId("under_under");
103
- var under = byId("under");
104
- var over1 = byId("over1");
105
- var over2 = byId("over2");
106
- var over3 = byId("over3");
107
- var over4 = byId("over4");
108
- var over5 = byId("over5");
109
- var body = document.body;
110
-
111
- var types = ["click", "mousedown", "mouseup"];
112
- for (var i = 0, type; (type = types[i]); ++i) {
113
- under_under.addEventListener(type, handler);
114
- under.addEventListener(type, handler);
115
- over1.addEventListener(type, handler);
116
- over2.addEventListener(type, handler);
117
- over3.addEventListener(type, handler);
118
- over4.addEventListener(type, handler);
119
- over5.addEventListener(type, handler);
120
- body.addEventListener(type, handler);
121
- }
122
- </script>
123
- </body>
124
- </html>
@@ -1,11 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <title>Link that continues on next line</title>
5
- </head>
6
- <body>
7
- <div style="width:300px">
8
- <div style="float:left;width:200px;background:red">placeholder</div><span id="span" onclick="document.location='submitted_page.html'">Span that continues on next line</span>
9
- </div>
10
- </body>
11
- </html>
@@ -1,9 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Submitted Successfully!</title>
5
- </head>
6
- <body>
7
- <h1>Submitted Successfully!</h1>
8
- </body>
9
- </html>
@@ -1,13 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <title>A wrapped element with overlapped first part</title>
5
- </head>
6
- <body id="body">
7
- <div style="width:300px">
8
- <div style="float:left;width:200px;background:green;">placeholder</div>
9
- <div style="float:left; position:absolute;width:100px;margin-left:200px;background:red;opacity:0.5;">Over</div>
10
- <a id="link" href="submitted_page.html">Link that continues on next line</a>
11
- </div>
12
- </body>
13
- </html>
@@ -1,10 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <body>
4
- <a id="click" href="clicks.html" target="_parent">
5
- <div style="width: 10001px; height: 10001px; background-color: green;">
6
- &nbsp; &nbsp; &nbsp;
7
- </div>
8
- </a>
9
- </body>
10
- </html>
@@ -1,11 +0,0 @@
1
- <html>
2
- <head>
3
- <title>This page has iframes</title>
4
- </head>
5
- <body>
6
- <h1 id="iframe_page_heading">This is the heading</h1>
7
-
8
- <iframe src="click_too_big.html" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true"
9
- frameborder="0" height="10001" scrolling="no" width="10001" id="iframe1" name="iframe1-name" />
10
- </body>
11
- </html>
@@ -1,35 +0,0 @@
1
- <html>
2
- <head>
3
- <title>clicks</title>
4
- </head>
5
- <body>
6
- <h1>Testing Clicks</h1>
7
-
8
- <iframe id="source" src="click_source.html">
9
-
10
- </iframe>
11
-
12
- <iframe id="target" name="target">
13
-
14
- </iframe>
15
- <br>
16
- <a href="xhtmlTest.html" id="normal">I'm a normal link</a>
17
- <br/>
18
- <a href="#" id="anchor">I go to an anchor</a>
19
- <br>
20
- <a href="javascript:window.open('xhtmlTest.html', '_blank')" id="new-window">I open a window with javascript</a>
21
- <br/>
22
- <a href="xhtmlTest.html" id="twoClientRects"><span></span><span>Click me</span></a>
23
- <br/>
24
- <a href="xhtmlTest.html" id="link-with-enclosed-image"><img id="enclosed-image" src="./icon.gif"/></a>
25
- <br/>
26
- <a href="xhtmlTest.html" id="link-with-enclosed-span"><span id="enclosed-span" style="color: rgb(0, 255, 0)">I'm a green link</span></a>
27
- <p style="background: none repeat scroll 0% 0% rgb(0, 255, 0); width: 5em;"><a id="overflowLink" href="xhtmlTest.html">looooooooooong short looooooooooong</a>
28
- </p>
29
- <div id="bubblesTo" onclick="window.bubbledClick = true;">
30
- <a id="bubblesFrom">I bubble</a>
31
- </div>
32
- <a href="xhtmlTest.html">333333</a>
33
- <p><a href="xhtmlTest.html" id="embeddedBlock"><span style="display: block;">I have a span</span><div>And a div</div><span>And another span</span></a></p>
34
- </body>
35
- </html>
@@ -1,8 +0,0 @@
1
- <html>
2
- <head>
3
- <title>closeable window</title>
4
- </head>
5
- <body>
6
- This window can be closed by clicking on <a id="close" onclick="window.setTimeout(function() { window.close();}, 0);" href="#">this</a>.
7
- </body>
8
- </html>
@@ -1,156 +0,0 @@
1
-
2
- <head>
3
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
4
- <style type="text/css">
5
-
6
-
7
-
8
- /* default css */
9
-
10
- table {
11
- font-size: 1em;
12
- line-height: inherit;
13
- }
14
-
15
-
16
- div, address, ol, ul, li, option, select {
17
- margin-top: 0px;
18
- margin-bottom: 0px;
19
- }
20
-
21
- p {
22
- margin: 0px;
23
- }
24
-
25
- body {
26
-
27
-
28
- margin: 0px;
29
-
30
-
31
-
32
- padding-left: 50px;
33
- padding-right: 50px;
34
- padding-top: 40px;
35
-
36
-
37
- }
38
-
39
- h6 { font-size: 10pt }
40
- h5 { font-size: 11pt }
41
- h4 { font-size: 12pt }
42
- h3 { font-size: 13pt }
43
- h2 { font-size: 14pt }
44
- h1 { font-size: 16pt }
45
-
46
- blockquote {padding: 10px; border: 1px #DDD dashed }
47
-
48
- a img {border: 0}
49
-
50
- div.google_header, div.google_footer {
51
- position: relative;
52
- margin-top: 1em;
53
- margin-bottom: 1em;
54
- }
55
- /* end default css */
56
-
57
-
58
- /* default print css */
59
-
60
- @media print {
61
- body {
62
- padding: 0;
63
- margin: 0;
64
- }
65
-
66
- div.google_header, div.google_footer {
67
- display: block;
68
- min-height: 0;
69
- border: none;
70
- }
71
-
72
- div.google_header {
73
- flow: static(header);
74
- }
75
-
76
- /* used to insert page numbers */
77
- div.google_header::before, div.google_footer::before {
78
- position: absolute;
79
- top: 0;
80
- }
81
-
82
- div.google_footer {
83
- flow: static(footer);
84
- }
85
-
86
- /* always consider this element at the start of the doc */
87
- div#google_footer {
88
- flow: static(footer, start);
89
- }
90
-
91
- span.google_pagenumber {
92
- content: counter(page);
93
- }
94
-
95
- span.google_pagecount {
96
- content: counter(pages);
97
- }
98
- }
99
-
100
- @page {
101
- @top {
102
- content: flow(header);
103
- }
104
- @bottom {
105
- content: flow(footer);
106
- }
107
- }
108
- /* end default print css */
109
-
110
-
111
- /* custom css */
112
-
113
-
114
- /* end custom css */
115
-
116
- /* ui edited css */
117
-
118
- body {
119
- font-family: Verdana;
120
-
121
- font-size: 10.0pt;
122
- line-height: normal;
123
- background-color: #ffffff;
124
- }
125
- /* end ui edited css */
126
-
127
-
128
-
129
-
130
- </style>
131
-
132
-
133
- </head>
134
-
135
- <body revision="cczv65wb_54f62cc9f2:3">
136
-
137
- <div id="result">
138
- </div>
139
-
140
-
141
- <h1>չ��2008������ƣ�������ӿ ��������</h1><br>
142
- <br>
143
- 8��8����������2008����˻ᵹ��ʱһ������ף����찲�Ź㳡���С�ͼΪ��ף��е������ݳ��� �»��������������
144
-
145
- �������������������ӿ���������ġ���Ҫ����һ��Ԥ�⣬����Ҫ�Խ���������������һ��������ʶ��<br>
146
- <br>
147
- <a href=simpleTest.html id=b7v9 title=�й�֮��>�й�֮��</a><br>
148
- <br>
149
- <br>
150
-
151
- <form action="simpleTest.html">
152
- <input name="i18n" onchange="document.getElementById('result').innerHTML = '<p>' + this.value + '</p>';" />
153
- </form>
154
-
155
- </body>
156
- </html>
@@ -1,20 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Color Page</title>
5
- </head>
6
- <body>
7
- <div id="namedColor" style="background-color: green;">namedColor</div>
8
- <div id="rgb" style="background-color: rgb(0,128,0);">rgb</div>
9
- <div id="rgbpct" style="background-color: rgb(0%,50%,0%);">rgbpct</div>
10
- <div id="hex" style="background-color: #008000;">hex</div>
11
- <div id="hexShort" style="background-color: #eee;">hex</div>
12
- <div id="hsl" style="background-color: hsl(120,100%,25%);">hsl</div>
13
- <div id="rgba" style="background-color: rgba(0,128,0, 0.5);">rgba</div>
14
- <div id="rgbapct" style="background-color: rgba(0%,50%,0%, 0.5);">rgba</div>
15
- <div id="hsla" style="background-color: hsla(120,100%,25%,0.5);">hsla</div>
16
- </body>
17
- </html>
18
-
19
-
20
-
@@ -1,30 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Testing cookies</title>
4
-
5
- <script type="text/javascript">
6
- function setCookie(domain, name) {
7
- document.cookie = name + "=ok;path=/;domain=" + domain;
8
- }
9
-
10
- function showCookie() {
11
- document.getElementById("result").innerHTML = "<p>" + document.cookie + "</p>";
12
- }
13
- </script>
14
- </head>
15
- <body onload="showCookie();">
16
- <h2>Cookie Mashing</h2>
17
- .com <a href="#" onclick="setCookie('.com', 'the.com_one'); showCookie(); return false;">Click</a></br />
18
- . <a href="#" onclick="setCookie('.', 'the.one'); showCookie(); return false;">Click</a></br />
19
- google.com <a href="#" onclick="setCookie('google.com', 'google'); showCookie(); return false;">Click</a></br />
20
- .google.com <a href="#" onclick="setCookie('.google.com', '.google'); showCookie(); return false;">Click</a></br />
21
- 127.0.0.1 <a href="#" onclick="setCookie('127.0.0.1', 'localhost'); showCookie(); return false;">Click</a></br />
22
- localhost:3001 <a href="#" onclick="setCookie('mency.ad.corp.google.com:62210', 'with_port'); showCookie(); return false;">Click</a></br />
23
- .google:3001 <a href="#" onclick="setCookie('.google.com:62210', 'with_domain_and_port'); showCookie(); return false;">Click</a></br />
24
- 172.16.12.225 <a href="#" onclick="setCookie('172.16.12.225', 'raw_IP'); showCookie(); return false;">Click</a></br />
25
- 172.16.12.225:port <a href="#" onclick="setCookie('172.16.12.225:62210', 'raw_IP_and_port'); showCookie(); return false;">Click</a></br />
26
- <a href="#" onclick="document.cookie = 'foo=bar;path=/common/galaxy';">Set on a different path</a>
27
-
28
- <div id="result"></div>
29
- </body>
30
- </html>
@@ -1,9 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Welcome Page</title>
5
- </head>
6
- <body style="margin: 10px; padding: 0px;">
7
- <iframe name="ifr" src="simple_page.html" width="400" height="300" style="border: 5px solid;"></iframe>
8
- </body>
9
- </html>
@@ -1,9 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Welcome Page</title>
5
- </head>
6
- <body style="margin: 10px; padding: 0px;">
7
- <iframe name="ifr" src="element_in_frame.html" width="500" height="400" style="border: 5px solid;"></iframe>
8
- </body>
9
- </html>
@@ -1,11 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Page With Element Out Of View</title>
5
- </head>
6
- <body style="margin: 10px; padding: 0px;">
7
- <div style="height: 5000px;">Placeholder</div>
8
- <div id="box" style="width: 100px; height: 100px; background-color: red;">Red box</div>
9
- <div>Tex after box</div>
10
- </body>
11
- </html>
@@ -1,10 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Page With Empty Element</title>
5
- </head>
6
- <body style="margin: 10px; padding: 0px;">
7
- <div id="box"></div>
8
- <div>Tex after box</div>
9
- </body>
10
- </html>