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.
- package/CHANGES.md +246 -0
- package/LICENSE +1 -1
- package/NOTICE +1 -1
- package/README.md +40 -40
- package/chrome.js +118 -134
- package/edge.js +43 -117
- package/example/chrome_android.js +8 -9
- package/example/chrome_mobile_emulation.js +8 -9
- package/example/firefox_channels.js +23 -19
- package/example/google_search.js +3 -3
- package/example/google_search_test.js +38 -27
- package/example/{chrome_headless.js → headless.js} +15 -7
- package/example/logging.js +40 -7
- package/firefox.js +789 -0
- package/http/index.js +62 -9
- package/http/util.js +11 -6
- package/ie.js +83 -97
- package/index.js +198 -114
- package/io/exec.js +29 -15
- package/io/index.js +1 -1
- package/io/zip.js +1 -1
- package/lib/actions.js +68 -63
- package/lib/atoms/get-attribute.js +86 -0
- package/lib/atoms/is-displayed.js +76 -76
- package/lib/by.js +7 -4
- package/lib/capabilities.js +310 -210
- package/lib/command.js +27 -51
- package/lib/error.js +100 -41
- package/lib/http.js +161 -120
- package/lib/input.js +1044 -8
- package/lib/logging.js +1 -5
- package/lib/promise.js +222 -3331
- package/lib/proxy.js +134 -39
- package/lib/session.js +2 -2
- package/lib/symbols.js +0 -0
- package/lib/until.js +1 -1
- package/lib/webdriver.js +717 -953
- package/net/index.js +21 -25
- package/net/portprober.js +51 -68
- package/package.json +17 -12
- package/proxy.js +0 -0
- package/remote/index.js +63 -44
- package/safari.js +41 -128
- package/testing/index.js +386 -315
- package/.npmignore +0 -2
- package/example/async_await_test.js +0 -68
- package/example/google_search_generator.js +0 -50
- package/example/parallel_flows.js +0 -54
- package/firefox/binary.js +0 -344
- package/firefox/extension.js +0 -224
- package/firefox/index.js +0 -626
- package/firefox/profile.js +0 -394
- package/lib/README +0 -5
- package/lib/atoms/getAttribute.js +0 -9
- package/lib/devmode.js +0 -34
- package/lib/events.js +0 -210
- package/lib/firefox/webdriver.json +0 -70
- package/lib/test/build.js +0 -151
- package/lib/test/data/ClickTest_testClicksASurroundingStrongTag.html +0 -11
- package/lib/test/data/Page.aspx +0 -17
- package/lib/test/data/Page.aspx.cs +0 -22
- package/lib/test/data/Redirect.aspx +0 -11
- package/lib/test/data/Redirect.aspx.cs +0 -9
- package/lib/test/data/Settings.StyleCop +0 -759
- package/lib/test/data/Web.Config +0 -59
- package/lib/test/data/actualXhtmlPage.xhtml +0 -14
- package/lib/test/data/ajaxy_page.html +0 -81
- package/lib/test/data/alerts.html +0 -85
- package/lib/test/data/banner.gif +0 -0
- package/lib/test/data/beach.jpg +0 -0
- package/lib/test/data/blank.html +0 -1
- package/lib/test/data/bodyTypingTest.html +0 -41
- package/lib/test/data/booleanAttributes.html +0 -19
- package/lib/test/data/child/childPage.html +0 -8
- package/lib/test/data/child/grandchild/grandchildPage.html +0 -8
- package/lib/test/data/clickEventPage.html +0 -26
- package/lib/test/data/click_frames.html +0 -10
- package/lib/test/data/click_jacker.html +0 -38
- package/lib/test/data/click_out_of_bounds.html +0 -23
- package/lib/test/data/click_out_of_bounds_overflow.html +0 -85
- package/lib/test/data/click_rtl.html +0 -19
- package/lib/test/data/click_source.html +0 -18
- package/lib/test/data/click_tests/click_iframe.html +0 -6
- package/lib/test/data/click_tests/click_in_iframe.html +0 -8
- package/lib/test/data/click_tests/disabled_element.html +0 -12
- package/lib/test/data/click_tests/disappearing_element.html +0 -62
- package/lib/test/data/click_tests/google_map.html +0 -15
- package/lib/test/data/click_tests/google_map.png +0 -0
- package/lib/test/data/click_tests/html5_submit_buttons.html +0 -16
- package/lib/test/data/click_tests/issue5237.html +0 -9
- package/lib/test/data/click_tests/issue5237_frame.html +0 -1
- package/lib/test/data/click_tests/issue5237_target.html +0 -10
- package/lib/test/data/click_tests/link_that_wraps.html +0 -11
- package/lib/test/data/click_tests/mapped_page1.html +0 -9
- package/lib/test/data/click_tests/mapped_page2.html +0 -9
- package/lib/test/data/click_tests/mapped_page3.html +0 -9
- package/lib/test/data/click_tests/overlapping_elements.html +0 -70
- package/lib/test/data/click_tests/partially_overlapping_elements.html +0 -124
- package/lib/test/data/click_tests/span_that_wraps.html +0 -11
- package/lib/test/data/click_tests/submitted_page.html +0 -9
- package/lib/test/data/click_tests/wrapped_overlapping_elements.html +0 -13
- package/lib/test/data/click_too_big.html +0 -10
- package/lib/test/data/click_too_big_in_frame.html +0 -11
- package/lib/test/data/clicks.html +0 -35
- package/lib/test/data/closeable_window.html +0 -8
- package/lib/test/data/cn-test.html +0 -156
- package/lib/test/data/colorPage.html +0 -20
- package/lib/test/data/cookies.html +0 -30
- package/lib/test/data/coordinates_tests/element_in_frame.html +0 -9
- package/lib/test/data/coordinates_tests/element_in_nested_frame.html +0 -9
- package/lib/test/data/coordinates_tests/page_with_element_out_of_view.html +0 -11
- package/lib/test/data/coordinates_tests/page_with_empty_element.html +0 -10
- package/lib/test/data/coordinates_tests/page_with_fixed_element.html +0 -12
- package/lib/test/data/coordinates_tests/page_with_hidden_element.html +0 -10
- package/lib/test/data/coordinates_tests/page_with_invisible_element.html +0 -10
- package/lib/test/data/coordinates_tests/page_with_transparent_element.html +0 -10
- package/lib/test/data/coordinates_tests/simple_page.html +0 -10
- package/lib/test/data/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- package/lib/test/data/css/ui-lightness/jquery-ui-1.8.10.custom.css +0 -573
- package/lib/test/data/cssTransform.html +0 -61
- package/lib/test/data/cssTransform2.html +0 -20
- package/lib/test/data/document_write_in_onload.html +0 -13
- package/lib/test/data/dragAndDropInsideScrolledDiv.html +0 -67
- package/lib/test/data/dragAndDropTest.html +0 -102
- package/lib/test/data/dragDropOverflow.html +0 -104
- package/lib/test/data/draggableLists.html +0 -67
- package/lib/test/data/droppableItems.html +0 -65
- package/lib/test/data/dynamic.html +0 -39
- package/lib/test/data/dynamicallyModifiedPage.html +0 -42
- package/lib/test/data/errors.html +0 -15
- package/lib/test/data/firefox/jetpack-sample.xpi +0 -0
- package/lib/test/data/firefox/sample.xpi +0 -0
- package/lib/test/data/firefox/webextension.xpi +0 -0
- package/lib/test/data/fixedFooterNoScroll.html +0 -13
- package/lib/test/data/fixedFooterNoScrollQuirksMode.html +0 -12
- package/lib/test/data/formPage.html +0 -175
- package/lib/test/data/formSelectionPage.html +0 -46
- package/lib/test/data/form_handling_js_submit.html +0 -30
- package/lib/test/data/framePage3.html +0 -7
- package/lib/test/data/frameScrollChild.html +0 -26
- package/lib/test/data/frameScrollPage.html +0 -14
- package/lib/test/data/frameScrollParent.html +0 -11
- package/lib/test/data/frameWithAnimals.html +0 -11
- package/lib/test/data/frame_switching_tests/bug4876.html +0 -9
- package/lib/test/data/frame_switching_tests/bug4876_iframe.html +0 -9
- package/lib/test/data/frame_switching_tests/deletingFrame.html +0 -29
- package/lib/test/data/frame_switching_tests/deletingFrame_iframe.html +0 -8
- package/lib/test/data/frame_switching_tests/deletingFrame_iframe2.html +0 -7
- package/lib/test/data/frameset.html +0 -14
- package/lib/test/data/framesetPage2.html +0 -7
- package/lib/test/data/framesetPage3.html +0 -4
- package/lib/test/data/globalscope.html +0 -15
- package/lib/test/data/hidden.html +0 -5
- package/lib/test/data/hidden_partially.html +0 -45
- package/lib/test/data/html5/blue.jpg +0 -0
- package/lib/test/data/html5/database.js +0 -84
- package/lib/test/data/html5/geolocation.js +0 -18
- package/lib/test/data/html5/green.jpg +0 -0
- package/lib/test/data/html5/red.jpg +0 -0
- package/lib/test/data/html5/status.html +0 -1
- package/lib/test/data/html5/test.appcache +0 -11
- package/lib/test/data/html5/yellow.jpg +0 -0
- package/lib/test/data/html5Page.html +0 -32
- package/lib/test/data/icon.gif +0 -0
- package/lib/test/data/idElements.html +0 -2
- package/lib/test/data/iframeAtBottom.html +0 -15
- package/lib/test/data/iframeWithAlert.html +0 -1
- package/lib/test/data/iframeWithIframe.html +0 -1
- package/lib/test/data/iframes.html +0 -11
- package/lib/test/data/injectableContent.html +0 -22
- package/lib/test/data/javascriptEnhancedForm.html +0 -30
- package/lib/test/data/javascriptPage.html +0 -285
- package/lib/test/data/jquery-1.3.2.js +0 -4376
- package/lib/test/data/js/jquery-1.4.4.min.js +0 -167
- package/lib/test/data/js/jquery-ui-1.8.10.custom.min.js +0 -782
- package/lib/test/data/js/skins/lightgray/content.inline.min.css +0 -1
- package/lib/test/data/js/skins/lightgray/content.min.css +0 -1
- package/lib/test/data/js/skins/lightgray/fonts/readme.md +0 -1
- package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.dev.svg +0 -175
- package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.eot +0 -0
- package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.svg +0 -62
- package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.ttf +0 -0
- package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.woff +0 -0
- package/lib/test/data/js/skins/lightgray/fonts/tinymce.dev.svg +0 -153
- package/lib/test/data/js/skins/lightgray/fonts/tinymce.eot +0 -0
- package/lib/test/data/js/skins/lightgray/fonts/tinymce.svg +0 -63
- package/lib/test/data/js/skins/lightgray/fonts/tinymce.ttf +0 -0
- package/lib/test/data/js/skins/lightgray/fonts/tinymce.woff +0 -0
- package/lib/test/data/js/skins/lightgray/img/anchor.gif +0 -0
- package/lib/test/data/js/skins/lightgray/img/loader.gif +0 -0
- package/lib/test/data/js/skins/lightgray/img/object.gif +0 -0
- package/lib/test/data/js/skins/lightgray/img/trans.gif +0 -0
- package/lib/test/data/js/skins/lightgray/skin.ie7.min.css +0 -1
- package/lib/test/data/js/skins/lightgray/skin.min.css +0 -1
- package/lib/test/data/js/themes/modern/theme.min.js +0 -1
- package/lib/test/data/js/tinymce.min.js +0 -10
- package/lib/test/data/key_logger.html +0 -34
- package/lib/test/data/key_tests/remove_on_keypress.html +0 -36
- package/lib/test/data/keyboard_shortcut.html +0 -36
- package/lib/test/data/linked_image.html +0 -16
- package/lib/test/data/locators_tests/boolean_attribute_selected.html +0 -13
- package/lib/test/data/locators_tests/boolean_attribute_selected_html4.html +0 -13
- package/lib/test/data/longContentPage.html +0 -55
- package/lib/test/data/macbeth.html +0 -5255
- package/lib/test/data/map.png +0 -0
- package/lib/test/data/map_visibility.html +0 -8
- package/lib/test/data/markerTransparent.png +0 -0
- package/lib/test/data/messages.html +0 -15
- package/lib/test/data/meta-redirect.html +0 -11
- package/lib/test/data/missedJsReference.html +0 -11
- package/lib/test/data/modal_dialogs/modal_1.html +0 -21
- package/lib/test/data/modal_dialogs/modal_2.html +0 -21
- package/lib/test/data/modal_dialogs/modal_3.html +0 -15
- package/lib/test/data/modal_dialogs/modalindex.html +0 -21
- package/lib/test/data/mouseOver.html +0 -17
- package/lib/test/data/mousePositionTracker.html +0 -33
- package/lib/test/data/nestedElements.html +0 -164
- package/lib/test/data/overflow/x_auto_y_auto.html +0 -30
- package/lib/test/data/overflow/x_auto_y_hidden.html +0 -30
- package/lib/test/data/overflow/x_auto_y_scroll.html +0 -30
- package/lib/test/data/overflow/x_hidden_y_auto.html +0 -30
- package/lib/test/data/overflow/x_hidden_y_hidden.html +0 -30
- package/lib/test/data/overflow/x_hidden_y_scroll.html +0 -30
- package/lib/test/data/overflow/x_scroll_y_auto.html +0 -30
- package/lib/test/data/overflow/x_scroll_y_hidden.html +0 -30
- package/lib/test/data/overflow/x_scroll_y_scroll.html +0 -30
- package/lib/test/data/overflow-body.html +0 -15
- package/lib/test/data/pageWithOnBeforeUnloadMessage.html +0 -20
- package/lib/test/data/pageWithOnLoad.html +0 -6
- package/lib/test/data/pageWithOnUnload.html +0 -6
- package/lib/test/data/page_with_link_to_slow_loading_page.html +0 -6
- package/lib/test/data/plain.txt +0 -1
- package/lib/test/data/proxy/page1.html +0 -20
- package/lib/test/data/proxy/page2.html +0 -24
- package/lib/test/data/proxy/page3.html +0 -5
- package/lib/test/data/readOnlyPage.html +0 -24
- package/lib/test/data/rectangles.html +0 -40
- package/lib/test/data/resultPage.html +0 -25
- package/lib/test/data/rich_text.html +0 -161
- package/lib/test/data/safari/frames_benchmark.html +0 -31
- package/lib/test/data/screen/screen.css +0 -19
- package/lib/test/data/screen/screen.html +0 -72
- package/lib/test/data/screen/screen.js +0 -7
- package/lib/test/data/screen/screen_frame1.html +0 -72
- package/lib/test/data/screen/screen_frame2.html +0 -72
- package/lib/test/data/screen/screen_frames.html +0 -11
- package/lib/test/data/screen/screen_iframes.html +0 -12
- package/lib/test/data/screen/screen_too_long.html +0 -68
- package/lib/test/data/screen/screen_x_long.html +0 -72
- package/lib/test/data/screen/screen_x_too_long.html +0 -72
- package/lib/test/data/screen/screen_y_long.html +0 -72
- package/lib/test/data/screen/screen_y_too_long.html +0 -72
- package/lib/test/data/scroll.html +0 -27
- package/lib/test/data/scroll2.html +0 -21
- package/lib/test/data/scroll3.html +0 -8
- package/lib/test/data/scroll4.html +0 -7
- package/lib/test/data/scroll5.html +0 -18
- package/lib/test/data/scrolling_tests/frame_with_height_above_200.html +0 -26
- package/lib/test/data/scrolling_tests/frame_with_height_above_2000.html +0 -26
- package/lib/test/data/scrolling_tests/frame_with_nested_scrolling_frame.html +0 -11
- package/lib/test/data/scrolling_tests/frame_with_nested_scrolling_frame_out_of_view.html +0 -12
- package/lib/test/data/scrolling_tests/frame_with_small_height.html +0 -10
- package/lib/test/data/scrolling_tests/page_with_double_overflow_auto.html +0 -19
- package/lib/test/data/scrolling_tests/page_with_frame_out_of_view.html +0 -12
- package/lib/test/data/scrolling_tests/page_with_nested_scrolling_frames.html +0 -11
- package/lib/test/data/scrolling_tests/page_with_nested_scrolling_frames_out_of_view.html +0 -12
- package/lib/test/data/scrolling_tests/page_with_non_scrolling_frame.html +0 -11
- package/lib/test/data/scrolling_tests/page_with_scrolling_frame.html +0 -11
- package/lib/test/data/scrolling_tests/page_with_scrolling_frame_out_of_view.html +0 -12
- package/lib/test/data/scrolling_tests/page_with_tall_frame.html +0 -11
- package/lib/test/data/scrolling_tests/page_with_y_overflow_auto.html +0 -14
- package/lib/test/data/scrolling_tests/target_page.html +0 -9
- package/lib/test/data/selectPage.html +0 -58
- package/lib/test/data/selectableItems.html +0 -65
- package/lib/test/data/sessionCookie.html +0 -21
- package/lib/test/data/sessionCookieDest.html +0 -34
- package/lib/test/data/simple.xml +0 -5
- package/lib/test/data/simpleTest.html +0 -98
- package/lib/test/data/single_text_input.html +0 -12
- package/lib/test/data/slowLoadingAlert.html +0 -10
- package/lib/test/data/slowLoadingResourcePage.html +0 -12
- package/lib/test/data/slow_loading_iframes.html +0 -14
- package/lib/test/data/styledPage.html +0 -28
- package/lib/test/data/svgPiechart.xhtml +0 -81
- package/lib/test/data/svgTest.svg +0 -4
- package/lib/test/data/tables.html +0 -36
- package/lib/test/data/tinymce.html +0 -10
- package/lib/test/data/transformable.xml +0 -11
- package/lib/test/data/transformable.xsl +0 -37
- package/lib/test/data/transparentUpload.html +0 -70
- package/lib/test/data/underscore.html +0 -9
- package/lib/test/data/unicode_ltr.html +0 -8
- package/lib/test/data/upload.html +0 -45
- package/lib/test/data/userDefinedProperty.html +0 -8
- package/lib/test/data/veryLargeCanvas.html +0 -81
- package/lib/test/data/visibility-css.html +0 -21
- package/lib/test/data/win32frameset.html +0 -8
- package/lib/test/data/window_switching_tests/page_with_frame.html +0 -12
- package/lib/test/data/window_switching_tests/simple_page.html +0 -9
- package/lib/test/data/xhtmlFormPage.xhtml +0 -17
- package/lib/test/data/xhtmlTest.html +0 -76
- package/lib/test/fileserver.js +0 -321
- package/lib/test/httpserver.js +0 -120
- package/lib/test/index.js +0 -270
- package/lib/test/promise.js +0 -79
- package/lib/test/resources.js +0 -44
- package/opera.js +0 -405
- package/phantomjs.js +0 -282
- package/test/actions_test.js +0 -52
- package/test/chrome/options_test.js +0 -227
- package/test/chrome/service_test.js +0 -45
- package/test/cookie_test.js +0 -214
- package/test/element_finding_test.js +0 -426
- package/test/execute_script_test.js +0 -350
- package/test/fingerprint_test.js +0 -62
- package/test/firefox/extension_test.js +0 -120
- package/test/firefox/firefox_test.js +0 -261
- package/test/firefox/profile_test.js +0 -140
- package/test/http/http_test.js +0 -223
- package/test/http/util_test.js +0 -178
- package/test/io/io_test.js +0 -360
- package/test/io/zip_test.js +0 -128
- package/test/lib/by_test.js +0 -160
- package/test/lib/capabilities_test.js +0 -111
- package/test/lib/error_test.js +0 -305
- package/test/lib/events_test.js +0 -177
- package/test/lib/http_test.js +0 -696
- package/test/lib/logging_test.js +0 -272
- package/test/lib/promise_aplus_test.js +0 -78
- package/test/lib/promise_error_test.js +0 -884
- package/test/lib/promise_flow_test.js +0 -2288
- package/test/lib/promise_generator_test.js +0 -310
- package/test/lib/promise_test.js +0 -1109
- package/test/lib/testutil.js +0 -90
- package/test/lib/until_test.js +0 -478
- package/test/lib/webdriver_test.js +0 -2311
- package/test/logging_test.js +0 -167
- package/test/net/index_test.js +0 -60
- package/test/net/portprober_test.js +0 -128
- package/test/page_loading_test.js +0 -166
- package/test/phantomjs/execute_phantomjs_test.js +0 -59
- package/test/proxy_test.js +0 -180
- package/test/rect_test.js +0 -60
- package/test/remote_test.js +0 -117
- package/test/safari_test.js +0 -108
- package/test/session_test.js +0 -99
- package/test/stale_element_test.js +0 -63
- package/test/tag_name_test.js +0 -36
- package/test/testing/assert_test.js +0 -373
- package/test/testing/index_test.js +0 -224
- package/test/upload_test.js +0 -86
- package/test/window_test.js +0 -161
- package/testing/assert.js +0 -378
package/lib/test/data/Web.Config
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0"?>
|
|
2
|
-
<!--
|
|
3
|
-
Note: As an alternative to hand editing this file you can use the
|
|
4
|
-
web admin tool to configure settings for your application. Use
|
|
5
|
-
the Website->Asp.Net Configuration option in Visual Studio.
|
|
6
|
-
A full list of settings and comments can be found in
|
|
7
|
-
machine.config.comments usually located in
|
|
8
|
-
\Windows\Microsoft.Net\Framework\v2.x\Config
|
|
9
|
-
-->
|
|
10
|
-
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
|
|
11
|
-
<configSections>
|
|
12
|
-
<section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter"/>
|
|
13
|
-
</configSections>
|
|
14
|
-
<appSettings/>
|
|
15
|
-
<connectionStrings/>
|
|
16
|
-
<system.web>
|
|
17
|
-
<!--
|
|
18
|
-
Set compilation debug="true" to insert debugging
|
|
19
|
-
symbols into the compiled page. Because this
|
|
20
|
-
affects performance, set this value to true only
|
|
21
|
-
during development.
|
|
22
|
-
-->
|
|
23
|
-
<compilation debug="true" defaultLanguage="c#" targetFramework="4.0"/>
|
|
24
|
-
<!--
|
|
25
|
-
The <authentication> section enables configuration
|
|
26
|
-
of the security authentication mode used by
|
|
27
|
-
ASP.NET to identify an incoming user.
|
|
28
|
-
-->
|
|
29
|
-
<authentication mode="Windows"/>
|
|
30
|
-
<!--
|
|
31
|
-
The <customErrors> section enables configuration
|
|
32
|
-
of what to do if/when an unhandled error occurs
|
|
33
|
-
during the execution of a request. Specifically,
|
|
34
|
-
it enables developers to configure html error pages
|
|
35
|
-
to be displayed in place of a error stack trace.
|
|
36
|
-
|
|
37
|
-
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
|
|
38
|
-
<error statusCode="403" redirect="NoAccess.htm" />
|
|
39
|
-
<error statusCode="404" redirect="FileNotFound.htm" />
|
|
40
|
-
</customErrors>
|
|
41
|
-
-->
|
|
42
|
-
<httpModules>
|
|
43
|
-
<add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter"/>
|
|
44
|
-
</httpModules>
|
|
45
|
-
<!--urlMappings enabled="true">
|
|
46
|
-
<add url="~/redirect" mappedUrl="~/Redirect.aspx" />
|
|
47
|
-
</urlMappings-->
|
|
48
|
-
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/></system.web>
|
|
49
|
-
<system.webServer>
|
|
50
|
-
<modules runAllManagedModulesForAllRequests="true">
|
|
51
|
-
<add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule"/>
|
|
52
|
-
</modules>
|
|
53
|
-
</system.webServer>
|
|
54
|
-
<rewriter>
|
|
55
|
-
<rewrite url="~/redirect" to="~/Redirect.aspx"/>
|
|
56
|
-
<rewrite url="~/page/([0-9]+)$" to="~/Page.aspx?pageNumber=$1"/>
|
|
57
|
-
<rewrite url="~/page/([0-9]+)(\?)(.*)" to="~/Page.aspx?pageNumber=$1&$3"/>
|
|
58
|
-
</rewriter>
|
|
59
|
-
</configuration>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
4
|
-
<head>
|
|
5
|
-
<title>
|
|
6
|
-
Title
|
|
7
|
-
</title>
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
<p>
|
|
11
|
-
<a href="/foo">Foo</a>
|
|
12
|
-
</p>
|
|
13
|
-
</body>
|
|
14
|
-
</html>
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<body>
|
|
4
|
-
<form action="javascript:updateDom()">
|
|
5
|
-
<label for="typer">New label text:</label>
|
|
6
|
-
<input name="typer" type="text"/>
|
|
7
|
-
<br/>
|
|
8
|
-
<label for="color">Select label color:</label>
|
|
9
|
-
<input name="color" id="red" value="red" type="radio"/>Red
|
|
10
|
-
<input name="color" id="green" value="green" type="radio"/>Green
|
|
11
|
-
<br/>
|
|
12
|
-
<input name="submit" type="submit" value="Add Label"/>
|
|
13
|
-
</form>
|
|
14
|
-
<div id="update_butter" style="display:none"></div>
|
|
15
|
-
<script>
|
|
16
|
-
var butter = document.getElementById('update_butter');
|
|
17
|
-
|
|
18
|
-
var textProperty = butter['innerText'] ? 'innerText' : 'textContent';
|
|
19
|
-
|
|
20
|
-
var listeners = [];
|
|
21
|
-
function registerListener(fn) {
|
|
22
|
-
listeners.push(fn);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function updateDom() {
|
|
26
|
-
butter.style.display = 'block';
|
|
27
|
-
butter[textProperty] = 'Updating';
|
|
28
|
-
disableForm();
|
|
29
|
-
tick();
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
function disableForm() {
|
|
33
|
-
var inputs = document.getElementsByTagName('input');
|
|
34
|
-
for (var i = 0, input; input = inputs[i]; ++i) {
|
|
35
|
-
input.disabled = true;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function enableForm() {
|
|
40
|
-
var inputs = document.getElementsByTagName('input');
|
|
41
|
-
for (var i = 0, input; input = inputs[i]; ++i) {
|
|
42
|
-
input.disabled = false;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
function tick() {
|
|
47
|
-
var length = butter[textProperty].substring('Updating'.length).length;
|
|
48
|
-
if (length != 10) {
|
|
49
|
-
butter[textProperty] += '.';
|
|
50
|
-
window.setTimeout(tick, 500);
|
|
51
|
-
} else {
|
|
52
|
-
enableForm();
|
|
53
|
-
var div = document.createElement('div');
|
|
54
|
-
var colors = document.forms[0].color;
|
|
55
|
-
for (var i = 0, color; color = colors[i]; ++i) {
|
|
56
|
-
if (color.checked) {
|
|
57
|
-
div.style.backgroundColor = color.value;
|
|
58
|
-
break;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
div[textProperty] = document.forms[0].typer.value;
|
|
62
|
-
div.className = 'label';
|
|
63
|
-
document.forms[0].typer.value = '';
|
|
64
|
-
document.body.appendChild(div);
|
|
65
|
-
|
|
66
|
-
butter[textProperty] = 'Done!';
|
|
67
|
-
|
|
68
|
-
window.setTimeout(function() {
|
|
69
|
-
while (listeners.length) {
|
|
70
|
-
try {
|
|
71
|
-
listeners.shift()(div[textProperty]);
|
|
72
|
-
} catch (e) {
|
|
73
|
-
butter[textProperty] = "Exception seen: " + e;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}, 500);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
</script>
|
|
80
|
-
</body>
|
|
81
|
-
</html>
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<!-- Padding to account for small screens of mobile devices -->
|
|
3
|
-
<style>
|
|
4
|
-
p {margin-top:48px;}
|
|
5
|
-
</style>
|
|
6
|
-
<head>
|
|
7
|
-
<title>Testing Alerts</title>
|
|
8
|
-
|
|
9
|
-
<script type="text/javascript">
|
|
10
|
-
function setInnerText(id, value) {
|
|
11
|
-
document.getElementById(id).innerHTML = '<p>' + value + '</p>';
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
function displayPrompt() {
|
|
15
|
-
setInnerText('text', prompt('Enter something'));
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
function displayPromptWithDefault() {
|
|
19
|
-
setInnerText('text', prompt('Enter something', 'This is a default value'));
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function displayTwoPrompts() {
|
|
23
|
-
setInnerText('text1', prompt('First'));
|
|
24
|
-
setInnerText('text2', prompt('Second'));
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function slowAlert() {
|
|
28
|
-
window.setTimeout(function() {
|
|
29
|
-
alert('Slow');
|
|
30
|
-
}, 200);
|
|
31
|
-
}
|
|
32
|
-
</script>
|
|
33
|
-
</head>
|
|
34
|
-
<body>
|
|
35
|
-
|
|
36
|
-
<h1>Testing Alerts and Stuff</h1>
|
|
37
|
-
|
|
38
|
-
<p>This tests alerts: <a href="#" id="alert" onclick="alert('cheese');">click me</a></p>
|
|
39
|
-
|
|
40
|
-
<p>This tests alerts: <a href="#" id="empty-alert" onclick="alert('');">click me</a></p>
|
|
41
|
-
|
|
42
|
-
<p>Let's make the <a href="#" id="prompt" onclick="displayPrompt();">prompt happen</a></p>
|
|
43
|
-
|
|
44
|
-
<p>Let's make the <a href="#" id="prompt-with-default" onclick="displayPromptWithDefault();">prompt with default happen</a></p>
|
|
45
|
-
|
|
46
|
-
<p>Let's make TWO <a href="#" id="double-prompt" onclick="displayTwoPrompts();">prompts happen</a></p>
|
|
47
|
-
|
|
48
|
-
<p>A <a href="#" id="slow-alert" onclick="slowAlert();">SLOW</a> alert</p>
|
|
49
|
-
|
|
50
|
-
<p>This is a test of a confirm:
|
|
51
|
-
<a href="simpleTest.html" id="confirm" onclick="return confirm('Are you sure?');">test confirm</a></p>
|
|
52
|
-
|
|
53
|
-
<p>This is a test of showModalDialog: <a href="#" id="dialog" onclick="showModalDialog('javascriptPage.html')">test dialog</a></p>
|
|
54
|
-
|
|
55
|
-
<p>This is a test of an alert in an iframe:
|
|
56
|
-
<iframe src="iframeWithAlert.html" name="iframeWithAlert"></iframe>
|
|
57
|
-
</p>
|
|
58
|
-
|
|
59
|
-
<p>This is a test of an alert in a nested iframe:
|
|
60
|
-
<iframe src="iframeWithIframe.html" name="iframeWithIframe"></iframe>
|
|
61
|
-
</p>
|
|
62
|
-
|
|
63
|
-
<p>This is a test of an alert open from onload event handler: <a id="open-page-with-onload-alert" href="pageWithOnLoad.html">open new page</a></p>
|
|
64
|
-
|
|
65
|
-
<p>This is a test of an alert open from onload event handler: <a id="open-window-with-onload-alert" href="pageWithOnLoad.html" target="onload">open new window</a></p>
|
|
66
|
-
|
|
67
|
-
<p>This is a test of an alert open from onunload event handler: <a id="open-page-with-onunload-alert" href="pageWithOnUnload.html">open new page</a></p>
|
|
68
|
-
|
|
69
|
-
<p>This is a test of an alert open from onclose event handler: <a id="open-window-with-onclose-alert" href="pageWithOnUnload.html" target="onclose">open new window</a></p>
|
|
70
|
-
|
|
71
|
-
<p>This is a test of an alert open from onclose event handler: <a id="open-new-window" href="blank.html" target="newwindow">open new window</a></p>
|
|
72
|
-
|
|
73
|
-
<div id="text"></div>
|
|
74
|
-
<div id="text1"></div>
|
|
75
|
-
<div id="text2"></div>
|
|
76
|
-
|
|
77
|
-
<p><select id="select" onchange="alert('changed');">
|
|
78
|
-
<option id="novalue" value="">Nothing selected</option>
|
|
79
|
-
<option id="value1" value="1">One</option>
|
|
80
|
-
<option id="value2" value="2">Two</option>
|
|
81
|
-
<option id="value3" value="3">Three</option>
|
|
82
|
-
</select></p>
|
|
83
|
-
<p><input id="input" onchange="alert('change fired');" value="onchange"/></p>
|
|
84
|
-
</body>
|
|
85
|
-
</html>
|
package/lib/test/data/banner.gif
DELETED
|
Binary file
|
package/lib/test/data/beach.jpg
DELETED
|
Binary file
|
package/lib/test/data/blank.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<html><head><title>blank</title></head><body></body></html>
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0"?>
|
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<title>Testing Typing into body</title>
|
|
5
|
-
<script type="text/javascript">
|
|
6
|
-
function appendMessage(message) {
|
|
7
|
-
document.getElementById('result').innerHTML += message + " ";
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
function appendMessageFromBody(message) {
|
|
11
|
-
document.getElementById('body_result').innerHTML += message + " ";
|
|
12
|
-
}
|
|
13
|
-
</script>
|
|
14
|
-
</head>
|
|
15
|
-
|
|
16
|
-
<body onkeypress="appendMessageFromBody('keypress')">
|
|
17
|
-
<h1>Type Stuff</h1>
|
|
18
|
-
|
|
19
|
-
<div id="result">
|
|
20
|
-
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
<div id="body_result">
|
|
24
|
-
|
|
25
|
-
</div>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<!-- Textbox - to confuse some browsers. -->
|
|
29
|
-
|
|
30
|
-
<form action="resultPage.html" id="on-form">
|
|
31
|
-
<input id="intext"
|
|
32
|
-
onfocus="appendMessage('focus')"
|
|
33
|
-
onkeydown="appendMessage('keydown')"
|
|
34
|
-
onkeypress="appendMessage('keypress')"
|
|
35
|
-
onkeyup="appendMessage('keyup')"
|
|
36
|
-
onblur="appendMessage('blur')"
|
|
37
|
-
onchange="appendMessage('change')"
|
|
38
|
-
/>
|
|
39
|
-
</form>
|
|
40
|
-
</body>
|
|
41
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<title>Elements with boolean attributes</title>
|
|
4
|
-
</head>
|
|
5
|
-
<body>
|
|
6
|
-
<form method="get" action="resultPage.html" name="required">
|
|
7
|
-
<input type="text" id="working"/>
|
|
8
|
-
<input type="email" id="emailRequired" required/>
|
|
9
|
-
<input type="text" id="inputRequired" value="Example text" required=""/>
|
|
10
|
-
<textarea id="textAreaRequired" rows="5" cols="5" required="false">Example text</textarea>
|
|
11
|
-
<textarea id="emptyTextAreaRequired" rows="5" cols="5" required="required"></textarea>
|
|
12
|
-
</form>
|
|
13
|
-
|
|
14
|
-
<!-- Empty div to test GetAttribute -->
|
|
15
|
-
<div id="wallace" class="gromit"></div>
|
|
16
|
-
<!-- Div to test boolean attributes -->
|
|
17
|
-
<div id="unwrappable" nowrap>Unwrappable text</div>
|
|
18
|
-
</body>
|
|
19
|
-
</html>
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0"?>
|
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<title>Testing click events</title>
|
|
5
|
-
<script type="text/javascript">
|
|
6
|
-
function displayEvent(event) {
|
|
7
|
-
var keys = ['x', 'y', 'clientX', 'clientY', 'pageX', 'pageY', 'screenX', 'screenY', 'shiftKey', 'ctrlKey'];
|
|
8
|
-
var message = "<ul>";
|
|
9
|
-
for (var i = 0; i < keys.length; i++) {
|
|
10
|
-
message += "<li>" + keys[i] + ": <span id='" + keys[i] + "'>" + event[keys[i]] + "</span></li>";
|
|
11
|
-
}
|
|
12
|
-
message += "</ul>";
|
|
13
|
-
document.getElementById('result').innerHTML = message;
|
|
14
|
-
}
|
|
15
|
-
</script>
|
|
16
|
-
</head>
|
|
17
|
-
<body>
|
|
18
|
-
<div id="eventish" onclick="displayEvent(event);">
|
|
19
|
-
Click me to view my coordinates
|
|
20
|
-
</div>
|
|
21
|
-
|
|
22
|
-
<div id="result" style="width:300;height:60">
|
|
23
|
-
<p> </p>
|
|
24
|
-
</div>
|
|
25
|
-
</body>
|
|
26
|
-
</html>
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>click-jacking</title>
|
|
5
|
-
<script>
|
|
6
|
-
var clickJacker;
|
|
7
|
-
|
|
8
|
-
function setOpacity(opacity) {
|
|
9
|
-
var matches = window.navigator.userAgent.match(/MSIE\s*(\d*)/);
|
|
10
|
-
if (matches && matches.length > 1 && parseInt(matches[1]) <= 8) {
|
|
11
|
-
clickJacker.style.filter = 'alpha(opacity=' + (opacity * 100) + ')';
|
|
12
|
-
} else {
|
|
13
|
-
clickJacker.style.opacity = opacity;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
function init() {
|
|
18
|
-
clickJacker = document.getElementById('clickJacker');
|
|
19
|
-
setOpacity(0);
|
|
20
|
-
}
|
|
21
|
-
</script>
|
|
22
|
-
</head>
|
|
23
|
-
<body onload="init()">
|
|
24
|
-
<div>
|
|
25
|
-
<div id="clickJacker"
|
|
26
|
-
onclick="setOpacity(1);"
|
|
27
|
-
style="position:absolute;float:left;
|
|
28
|
-
width:200px;height:100px; padding:10px;
|
|
29
|
-
background-color:darkred;
|
|
30
|
-
border:1px solid darkred;">Click jacked!</div>
|
|
31
|
-
<div style="width:200px; height:100px;
|
|
32
|
-
border:1px solid black; padding:10px">Click Me</div>
|
|
33
|
-
<script>
|
|
34
|
-
clickJacker = document.getElementById('clickJacker');
|
|
35
|
-
</script>
|
|
36
|
-
</div>
|
|
37
|
-
</body>
|
|
38
|
-
</html>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<body>
|
|
4
|
-
|
|
5
|
-
<table>
|
|
6
|
-
<tr>
|
|
7
|
-
|
|
8
|
-
<td>
|
|
9
|
-
<div style="width:752px;"></div>
|
|
10
|
-
</td>
|
|
11
|
-
|
|
12
|
-
<td>
|
|
13
|
-
<div style="width:350px; text-align: center;">
|
|
14
|
-
<form onsubmit="return false;" method="get">
|
|
15
|
-
<input id="button" value="Click me" type="submit">
|
|
16
|
-
</form>
|
|
17
|
-
</div>
|
|
18
|
-
</td>
|
|
19
|
-
</tr>
|
|
20
|
-
</table>
|
|
21
|
-
|
|
22
|
-
</body>
|
|
23
|
-
</html>
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html><head>
|
|
3
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
4
|
-
<body>
|
|
5
|
-
<div style="height: 100px; overflow: auto;">
|
|
6
|
-
<table>
|
|
7
|
-
<tbody>
|
|
8
|
-
<tr><td>data</td></tr>
|
|
9
|
-
<tr><td>data</td></tr>
|
|
10
|
-
<tr><td>data</td></tr>
|
|
11
|
-
<tr><td>data</td></tr>
|
|
12
|
-
<tr><td>data</td></tr>
|
|
13
|
-
<tr><td>data</td></tr>
|
|
14
|
-
<tr><td>data</td></tr>
|
|
15
|
-
<tr><td>data</td></tr>
|
|
16
|
-
<tr><td>data</td></tr>
|
|
17
|
-
<tr><td>data</td></tr>
|
|
18
|
-
<tr><td>data</td></tr>
|
|
19
|
-
<tr><td>data</td></tr>
|
|
20
|
-
<tr><td>data</td></tr>
|
|
21
|
-
<tr><td>data</td></tr>
|
|
22
|
-
<tr><td>data</td></tr>
|
|
23
|
-
<tr><td>data</td></tr>
|
|
24
|
-
<tr><td>data</td></tr>
|
|
25
|
-
<tr><td>data</td></tr>
|
|
26
|
-
<tr><td>data</td></tr>
|
|
27
|
-
<tr><td>data</td></tr>
|
|
28
|
-
<tr><td>data</td></tr>
|
|
29
|
-
<tr><td>data</td></tr>
|
|
30
|
-
<tr><td>data</td></tr>
|
|
31
|
-
<tr><td>data</td></tr>
|
|
32
|
-
<tr><td>data</td></tr>
|
|
33
|
-
<tr><td>data</td></tr>
|
|
34
|
-
<tr><td>data</td></tr>
|
|
35
|
-
<tr><td>data</td></tr>
|
|
36
|
-
<tr><td>data</td></tr>
|
|
37
|
-
<tr><td>data</td></tr>
|
|
38
|
-
<tr><td>data</td></tr>
|
|
39
|
-
<tr><td>data</td></tr>
|
|
40
|
-
<tr><td>data</td></tr>
|
|
41
|
-
<tr><td>data</td></tr>
|
|
42
|
-
<tr><td>data</td></tr>
|
|
43
|
-
<tr><td>data</td></tr>
|
|
44
|
-
<tr><td>data</td></tr>
|
|
45
|
-
<tr><td>data</td></tr>
|
|
46
|
-
<tr><td>data</td></tr>
|
|
47
|
-
<tr><td>data</td></tr>
|
|
48
|
-
<tr><td>data</td></tr>
|
|
49
|
-
<tr><td>data</td></tr>
|
|
50
|
-
<tr><td>data</td></tr>
|
|
51
|
-
<tr><td>data</td></tr>
|
|
52
|
-
<tr><td>data</td></tr>
|
|
53
|
-
<tr><td>data</td></tr>
|
|
54
|
-
<tr><td>data</td></tr>
|
|
55
|
-
<tr><td>data</td></tr>
|
|
56
|
-
<tr><td>data</td></tr>
|
|
57
|
-
<tr><td>data</td></tr>
|
|
58
|
-
<tr><td>data</td></tr>
|
|
59
|
-
<tr><td>data</td></tr>
|
|
60
|
-
<tr><td>data</td></tr>
|
|
61
|
-
<tr><td>data</td></tr>
|
|
62
|
-
<tr><td>data</td></tr>
|
|
63
|
-
<tr><td>data</td></tr>
|
|
64
|
-
<tr><td>data</td></tr>
|
|
65
|
-
<tr><td>data</td></tr>
|
|
66
|
-
<tr><td>data</td></tr>
|
|
67
|
-
<tr><td>data</td></tr>
|
|
68
|
-
<tr><td>data</td></tr>
|
|
69
|
-
<tr><td>data</td></tr>
|
|
70
|
-
<tr><td>data</td></tr>
|
|
71
|
-
<tr><td>data</td></tr>
|
|
72
|
-
<tr><td>data</td></tr>
|
|
73
|
-
<tr><td>data</td></tr>
|
|
74
|
-
<tr><td>data</td></tr>
|
|
75
|
-
<tr><td>data</td></tr>
|
|
76
|
-
<tr><td>data</td></tr>
|
|
77
|
-
<tr><td>data</td></tr>
|
|
78
|
-
<tr><td>data</td></tr>
|
|
79
|
-
<tr><td>data</td></tr>
|
|
80
|
-
<tr><td>data</td></tr>
|
|
81
|
-
<tr><td><a href="#clicked" id="link">click me</a></td></tr>
|
|
82
|
-
</tbody>
|
|
83
|
-
</table>
|
|
84
|
-
</div>
|
|
85
|
-
</body></html>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
2
|
-
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
3
|
-
<title>RTL test</title>
|
|
4
|
-
<style type="text/css">
|
|
5
|
-
.test { font-size: 150%; }
|
|
6
|
-
table td { border: 1px solid #CCC; }
|
|
7
|
-
img { margin: 10px; }
|
|
8
|
-
</style>
|
|
9
|
-
</head>
|
|
10
|
-
<body>
|
|
11
|
-
<div dir="rtl">
|
|
12
|
-
|
|
13
|
-
<div class="test">مفتاح<a href="clicks.html" id="ar_link"> معايير</a> الويب</div>
|
|
14
|
-
|
|
15
|
-
<div class="test">פעילות<a id="hb_link" href="clicks.html"> הבינאום </a></div>
|
|
16
|
-
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
</body></html>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<title>Click Source</title>
|
|
4
|
-
</head>
|
|
5
|
-
<body>
|
|
6
|
-
<a href="simpleTest.html" target="target" id="otherframe">I go to a target</a>
|
|
7
|
-
</body>
|
|
8
|
-
</html>
|
|
9
|
-
|
|
10
|
-
<html>
|
|
11
|
-
<head>
|
|
12
|
-
<title>Click Source</title>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<a href="simpleTest.html" target="target" id="otherframe">I go to a target</a>
|
|
16
|
-
</body>
|
|
17
|
-
</html>
|
|
18
|
-
|
|
@@ -1,62 +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: 20;
|
|
9
|
-
left: 20;
|
|
10
|
-
width: 100px;
|
|
11
|
-
height: 100px;
|
|
12
|
-
background-color: white;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
#over {
|
|
16
|
-
position: absolute;
|
|
17
|
-
top: 20;
|
|
18
|
-
left: 20;
|
|
19
|
-
width: 100px;
|
|
20
|
-
height: 100px;
|
|
21
|
-
background-color: red;
|
|
22
|
-
opacity: 0.5;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
#log {
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: 120px;
|
|
28
|
-
}
|
|
29
|
-
</style>
|
|
30
|
-
</head>
|
|
31
|
-
<body id="body">
|
|
32
|
-
<div id="under"><p id="contents">Hello</p></div>
|
|
33
|
-
<div id="over"></div>
|
|
34
|
-
<div id="log">
|
|
35
|
-
<p>Log:<p>
|
|
36
|
-
</div>
|
|
37
|
-
<script>
|
|
38
|
-
var byId = document.getElementById.bind(document);
|
|
39
|
-
|
|
40
|
-
var log = byId("log");
|
|
41
|
-
|
|
42
|
-
function handler(ev) {
|
|
43
|
-
log.innerHTML += "<p></p>";
|
|
44
|
-
log.lastElementChild.textContent = ev.type + " in " + ev.target.id + " (handled by " + ev.currentTarget.id + ")\n";
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
var under = byId("under");
|
|
48
|
-
var over = byId("over");
|
|
49
|
-
var body = document.body;
|
|
50
|
-
|
|
51
|
-
var types = ["click", "mousedown", "mouseup"];
|
|
52
|
-
for (var i = 0, type; (type = types[i]); ++i) {
|
|
53
|
-
under.addEventListener(type, handler);
|
|
54
|
-
over.addEventListener(type, handler);
|
|
55
|
-
body.addEventListener(type, handler);
|
|
56
|
-
}
|
|
57
|
-
over.addEventListener("mousedown", function () {
|
|
58
|
-
over.style.display = "none";
|
|
59
|
-
})
|
|
60
|
-
</script>
|
|
61
|
-
</body>
|
|
62
|
-
</html>
|