watir 1.4.1 → 7.3.0
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.
- checksums.yaml +7 -0
- data/.document +4 -0
- data/.github/ISSUE_TEMPLATE.md +16 -0
- data/.github/workflows/chrome.yml +55 -0
- data/.github/workflows/edge.yml +44 -0
- data/.github/workflows/firefox.yml +55 -0
- data/.github/workflows/ie.yml +30 -0
- data/.github/workflows/safari.yml +38 -0
- data/.github/workflows/unit.yml +60 -0
- data/.gitignore +21 -0
- data/.rubocop.yml +114 -0
- data/.rubocop_todo.yml +17 -0
- data/CHANGES.md +2212 -0
- data/Gemfile +15 -0
- data/LICENSE +24 -0
- data/README.md +113 -0
- data/Rakefile +173 -0
- data/lib/watir/adjacent.rb +128 -0
- data/lib/watir/after_hooks.rb +135 -0
- data/lib/watir/alert.rb +113 -0
- data/lib/watir/aliases.rb +8 -0
- data/lib/watir/attribute_helper.rb +97 -0
- data/lib/watir/browser.rb +323 -0
- data/lib/watir/capabilities.rb +179 -0
- data/lib/watir/cell_container.rb +25 -0
- data/lib/watir/container.rb +33 -0
- data/lib/watir/cookies.rb +130 -0
- data/lib/watir/element_collection.rb +223 -0
- data/lib/watir/elements/button.rb +28 -0
- data/lib/watir/elements/cell.rb +18 -0
- data/lib/watir/elements/checkbox.rb +56 -0
- data/lib/watir/elements/date_field.rb +42 -0
- data/lib/watir/elements/date_time_field.rb +42 -0
- data/lib/watir/elements/dlist.rb +12 -0
- data/lib/watir/elements/element.rb +807 -0
- data/lib/watir/elements/file_field.rb +43 -0
- data/lib/watir/elements/font.rb +26 -0
- data/lib/watir/elements/form.rb +16 -0
- data/lib/watir/elements/hidden.rb +26 -0
- data/lib/watir/elements/html_elements.rb +1981 -0
- data/lib/watir/elements/iframe.rb +156 -0
- data/lib/watir/elements/image.rb +22 -0
- data/lib/watir/elements/input.rb +15 -0
- data/lib/watir/elements/link.rb +8 -0
- data/lib/watir/elements/list.rb +51 -0
- data/lib/watir/elements/option.rb +60 -0
- data/lib/watir/elements/radio.rb +65 -0
- data/lib/watir/elements/row.rb +18 -0
- data/lib/watir/elements/select.rb +214 -0
- data/lib/watir/elements/svg_elements.rb +497 -0
- data/lib/watir/elements/table.rb +77 -0
- data/lib/watir/elements/table_cell.rb +32 -0
- data/lib/watir/elements/table_row.rb +34 -0
- data/lib/watir/elements/table_section.rb +17 -0
- data/lib/watir/elements/text_area.rb +7 -0
- data/lib/watir/elements/text_field.rb +39 -0
- data/lib/watir/exception.rb +16 -0
- data/lib/watir/extensions/nokogiri.rb +14 -0
- data/lib/watir/generator/base/generator.rb +114 -0
- data/lib/watir/generator/base/idl_sorter.rb +51 -0
- data/lib/watir/generator/base/spec_extractor.rb +158 -0
- data/lib/watir/generator/base/util.rb +21 -0
- data/lib/watir/generator/base/visitor.rb +133 -0
- data/lib/watir/generator/base.rb +12 -0
- data/lib/watir/generator/html/generator.rb +36 -0
- data/lib/watir/generator/html/spec_extractor.rb +52 -0
- data/lib/watir/generator/html/visitor.rb +23 -0
- data/lib/watir/generator/html.rb +17 -0
- data/lib/watir/generator/svg/generator.rb +38 -0
- data/lib/watir/generator/svg/spec_extractor.rb +55 -0
- data/lib/watir/generator/svg/visitor.rb +23 -0
- data/lib/watir/generator/svg.rb +9 -0
- data/lib/watir/generator.rb +5 -0
- data/lib/watir/has_window.rb +72 -0
- data/lib/watir/http_client.rb +11 -0
- data/lib/watir/js_execution.rb +165 -0
- data/lib/watir/js_snippets/attributeValues.js +11 -0
- data/lib/watir/js_snippets/backgroundColor.js +7 -0
- data/lib/watir/js_snippets/elementObscured.js +14 -0
- data/lib/watir/js_snippets/fireEvent.js +31 -0
- data/lib/watir/js_snippets/focus.js +3 -0
- data/lib/watir/js_snippets/getElementTags.js +3 -0
- data/lib/watir/js_snippets/getInnerHtml.js +19 -0
- data/lib/watir/js_snippets/getInnerText.js +19 -0
- data/lib/watir/js_snippets/getOuterHtml.js +20 -0
- data/lib/watir/js_snippets/getTextContent.js +19 -0
- data/lib/watir/js_snippets/isElementInViewport.js +20 -0
- data/lib/watir/js_snippets/isImageLoaded.js +3 -0
- data/lib/watir/js_snippets/selectOptionsLabel.js +10 -0
- data/lib/watir/js_snippets/selectOptionsText.js +10 -0
- data/lib/watir/js_snippets/selectOptionsValue.js +10 -0
- data/lib/watir/js_snippets/selectText.js +64 -0
- data/lib/watir/js_snippets/selectedOptions.js +11 -0
- data/lib/watir/js_snippets/selectedText.js +17 -0
- data/lib/watir/js_snippets/setText.js +3 -0
- data/lib/watir/js_snippets/setValue.js +3 -0
- data/lib/watir/js_snippets.rb +18 -0
- data/lib/watir/locators/anchor/selector_builder.rb +43 -0
- data/lib/watir/locators/button/matcher.rb +19 -0
- data/lib/watir/locators/button/selector_builder/xpath.rb +69 -0
- data/lib/watir/locators/button/selector_builder.rb +10 -0
- data/lib/watir/locators/cell/selector_builder/xpath.rb +23 -0
- data/lib/watir/locators/cell/selector_builder.rb +13 -0
- data/lib/watir/locators/element/locator.rb +81 -0
- data/lib/watir/locators/element/matcher.rb +118 -0
- data/lib/watir/locators/element/selector_builder/regexp_disassembler.rb +69 -0
- data/lib/watir/locators/element/selector_builder/xpath.rb +268 -0
- data/lib/watir/locators/element/selector_builder/xpath_support.rb +29 -0
- data/lib/watir/locators/element/selector_builder.rb +164 -0
- data/lib/watir/locators/option/matcher.rb +26 -0
- data/lib/watir/locators/option/selector_builder/xpath.rb +39 -0
- data/lib/watir/locators/option/selector_builder.rb +10 -0
- data/lib/watir/locators/row/selector_builder/xpath.rb +53 -0
- data/lib/watir/locators/row/selector_builder.rb +18 -0
- data/lib/watir/locators/text_area/selector_builder/xpath.rb +21 -0
- data/lib/watir/locators/text_area/selector_builder.rb +10 -0
- data/lib/watir/locators/text_field/matcher.rb +37 -0
- data/lib/watir/locators/text_field/selector_builder/xpath.rb +50 -0
- data/lib/watir/locators/text_field/selector_builder.rb +10 -0
- data/lib/watir/locators.rb +77 -0
- data/lib/watir/logger.rb +30 -0
- data/lib/watir/navigation.rb +51 -0
- data/lib/watir/radio_set.rb +230 -0
- data/lib/watir/row_container.rb +36 -0
- data/lib/watir/screenshot.rb +51 -0
- data/lib/watir/scroll.rb +95 -0
- data/lib/watir/search_context.rb +96 -0
- data/lib/watir/shadow_root.rb +60 -0
- data/lib/watir/user_editable.rb +85 -0
- data/lib/watir/version.rb +5 -0
- data/lib/watir/wait/timer.rb +52 -0
- data/lib/watir/wait.rb +171 -0
- data/lib/watir/window.rb +276 -0
- data/lib/watir/window_collection.rb +82 -0
- data/lib/watir.rb +108 -0
- data/lib/watirspec/guards.rb +65 -0
- data/lib/watirspec/implementation.rb +56 -0
- data/lib/watirspec/rake_tasks.rb +118 -0
- data/lib/watirspec/remote_server.rb +39 -0
- data/lib/watirspec/runner.rb +64 -0
- data/lib/watirspec/server/app.rb +86 -0
- data/lib/watirspec/server.rb +104 -0
- data/lib/watirspec.rb +93 -0
- data/spec/locator_spec_helper.rb +88 -0
- data/spec/spec_helper.rb +24 -0
- data/spec/unit/capabilities_spec.rb +670 -0
- data/spec/unit/element_locator_spec.rb +97 -0
- data/spec/unit/match_elements/button_spec.rb +76 -0
- data/spec/unit/match_elements/element_spec.rb +424 -0
- data/spec/unit/match_elements/text_field_spec.rb +84 -0
- data/spec/unit/selector_builder/anchor_spec.rb +59 -0
- data/spec/unit/selector_builder/button_spec.rb +217 -0
- data/spec/unit/selector_builder/cell_spec.rb +71 -0
- data/spec/unit/selector_builder/element_spec.rb +804 -0
- data/spec/unit/selector_builder/row_spec.rb +128 -0
- data/spec/unit/selector_builder/text_field_spec.rb +203 -0
- data/spec/unit/selector_builder/textarea_spec.rb +35 -0
- data/spec/unit/unit_helper.rb +4 -0
- data/spec/unit/wait_spec.rb +99 -0
- data/spec/watirspec/adjacent_spec.rb +256 -0
- data/spec/watirspec/after_hooks_spec.rb +204 -0
- data/spec/watirspec/alert_spec.rb +89 -0
- data/spec/watirspec/browser_spec.rb +536 -0
- data/spec/watirspec/capabilities_spec.rb +556 -0
- data/spec/watirspec/cookies_spec.rb +196 -0
- data/spec/watirspec/drag_and_drop_spec.rb +38 -0
- data/spec/watirspec/element_hidden_spec.rb +86 -0
- data/spec/watirspec/elements/area_spec.rb +69 -0
- data/spec/watirspec/elements/areas_spec.rb +44 -0
- data/spec/watirspec/elements/button_spec.rb +265 -0
- data/spec/watirspec/elements/buttons_spec.rb +57 -0
- data/spec/watirspec/elements/checkbox_spec.rb +290 -0
- data/spec/watirspec/elements/checkboxes_spec.rb +46 -0
- data/spec/watirspec/elements/collections_spec.rb +132 -0
- data/spec/watirspec/elements/date_field_spec.rb +209 -0
- data/spec/watirspec/elements/date_fields_spec.rb +46 -0
- data/spec/watirspec/elements/date_time_field_spec.rb +223 -0
- data/spec/watirspec/elements/date_time_fields_spec.rb +47 -0
- data/spec/watirspec/elements/dd_spec.rb +108 -0
- data/spec/watirspec/elements/dds_spec.rb +44 -0
- data/spec/watirspec/elements/del_spec.rb +113 -0
- data/spec/watirspec/elements/dels_spec.rb +42 -0
- data/spec/watirspec/elements/div_spec.rb +232 -0
- data/spec/watirspec/elements/divs_spec.rb +56 -0
- data/spec/watirspec/elements/dl_spec.rb +117 -0
- data/spec/watirspec/elements/dls_spec.rb +45 -0
- data/spec/watirspec/elements/dt_spec.rb +107 -0
- data/spec/watirspec/elements/dts_spec.rb +44 -0
- data/spec/watirspec/elements/element_spec.rb +1069 -0
- data/spec/watirspec/elements/elements_spec.rb +60 -0
- data/spec/watirspec/elements/em_spec.rb +85 -0
- data/spec/watirspec/elements/ems_spec.rb +45 -0
- data/spec/watirspec/elements/filefield_spec.rb +135 -0
- data/spec/watirspec/elements/filefields_spec.rb +45 -0
- data/spec/watirspec/elements/font_spec.rb +31 -0
- data/spec/watirspec/elements/form_spec.rb +70 -0
- data/spec/watirspec/elements/forms_spec.rb +46 -0
- data/spec/watirspec/elements/frame_spec.rb +117 -0
- data/spec/watirspec/elements/frames_spec.rb +43 -0
- data/spec/watirspec/elements/hidden_spec.rb +106 -0
- data/spec/watirspec/elements/hiddens_spec.rb +45 -0
- data/spec/watirspec/elements/hn_spec.rb +80 -0
- data/spec/watirspec/elements/hns_spec.rb +42 -0
- data/spec/watirspec/elements/iframe_spec.rb +244 -0
- data/spec/watirspec/elements/iframes_spec.rb +49 -0
- data/spec/watirspec/elements/image_spec.rb +160 -0
- data/spec/watirspec/elements/images_spec.rb +42 -0
- data/spec/watirspec/elements/input_spec.rb +17 -0
- data/spec/watirspec/elements/ins_spec.rb +113 -0
- data/spec/watirspec/elements/inses_spec.rb +42 -0
- data/spec/watirspec/elements/label_spec.rb +77 -0
- data/spec/watirspec/elements/labels_spec.rb +42 -0
- data/spec/watirspec/elements/li_spec.rb +99 -0
- data/spec/watirspec/elements/link_spec.rb +180 -0
- data/spec/watirspec/elements/links_spec.rb +66 -0
- data/spec/watirspec/elements/lis_spec.rb +44 -0
- data/spec/watirspec/elements/list_spec.rb +50 -0
- data/spec/watirspec/elements/map_spec.rb +78 -0
- data/spec/watirspec/elements/maps_spec.rb +43 -0
- data/spec/watirspec/elements/meta_spec.rb +27 -0
- data/spec/watirspec/elements/metas_spec.rb +42 -0
- data/spec/watirspec/elements/ol_spec.rb +63 -0
- data/spec/watirspec/elements/ols_spec.rb +42 -0
- data/spec/watirspec/elements/option_spec.rb +113 -0
- data/spec/watirspec/elements/p_spec.rb +102 -0
- data/spec/watirspec/elements/pre_spec.rb +100 -0
- data/spec/watirspec/elements/pres_spec.rb +42 -0
- data/spec/watirspec/elements/ps_spec.rb +42 -0
- data/spec/watirspec/elements/radio_spec.rb +259 -0
- data/spec/watirspec/elements/radios_spec.rb +45 -0
- data/spec/watirspec/elements/select_list_spec.rb +701 -0
- data/spec/watirspec/elements/select_lists_spec.rb +49 -0
- data/spec/watirspec/elements/span_spec.rb +119 -0
- data/spec/watirspec/elements/spans_spec.rb +42 -0
- data/spec/watirspec/elements/strong_spec.rb +78 -0
- data/spec/watirspec/elements/strongs_spec.rb +45 -0
- data/spec/watirspec/elements/table_spec.rb +210 -0
- data/spec/watirspec/elements/tables_spec.rb +44 -0
- data/spec/watirspec/elements/tbody_spec.rb +94 -0
- data/spec/watirspec/elements/tbodys_spec.rb +64 -0
- data/spec/watirspec/elements/td_spec.rb +92 -0
- data/spec/watirspec/elements/tds_spec.rb +55 -0
- data/spec/watirspec/elements/text_field_spec.rb +223 -0
- data/spec/watirspec/elements/text_fields_spec.rb +47 -0
- data/spec/watirspec/elements/textarea_spec.rb +30 -0
- data/spec/watirspec/elements/textareas_spec.rb +28 -0
- data/spec/watirspec/elements/tfoot_spec.rb +89 -0
- data/spec/watirspec/elements/tfoots_spec.rb +72 -0
- data/spec/watirspec/elements/thead_spec.rb +88 -0
- data/spec/watirspec/elements/theads_spec.rb +72 -0
- data/spec/watirspec/elements/tr_spec.rb +69 -0
- data/spec/watirspec/elements/trs_spec.rb +63 -0
- data/spec/watirspec/elements/ul_spec.rb +63 -0
- data/spec/watirspec/elements/uls_spec.rb +42 -0
- data/spec/watirspec/html/alerts.html +12 -0
- data/spec/watirspec/html/aria_attributes.html +9 -0
- data/spec/watirspec/html/child_frame.html +29 -0
- data/spec/watirspec/html/class_locator.html +11 -0
- data/spec/watirspec/html/clicks.html +19 -0
- data/spec/watirspec/html/closeable.html +21 -0
- data/spec/watirspec/html/collections.html +15 -0
- data/spec/watirspec/html/css/jquery-ui-1.8.17.custom.css +287 -0
- data/spec/watirspec/html/data_attributes.html +10 -0
- data/spec/watirspec/html/definition_lists.html +48 -0
- data/spec/watirspec/html/drag_and_drop.html +106 -0
- data/spec/watirspec/html/font.html +10 -0
- data/spec/watirspec/html/forms_with_input_elements.html +194 -0
- data/spec/watirspec/html/frame_1.html +22 -0
- data/spec/watirspec/html/frame_2.html +16 -0
- data/spec/watirspec/html/frames.html +11 -0
- data/spec/watirspec/html/iframe_1.html +22 -0
- data/spec/watirspec/html/iframes.html +15 -0
- data/spec/watirspec/html/images/button.png +0 -0
- data/spec/watirspec/html/images/circle.png +0 -0
- data/spec/watirspec/html/images/map.gif +0 -0
- data/spec/watirspec/html/images/map2.gif +0 -0
- data/spec/watirspec/html/images/originaltriangle.png +0 -0
- data/spec/watirspec/html/images/square.png +0 -0
- data/spec/watirspec/html/images/triangle.png +0 -0
- data/spec/watirspec/html/images.html +28 -0
- data/spec/watirspec/html/inner_outer.html +5 -0
- data/spec/watirspec/html/javascript/angular.min.js +332 -0
- data/spec/watirspec/html/javascript/helpers.js +16 -0
- data/spec/watirspec/html/javascript/jquery-1.7.1.min.js +4 -0
- data/spec/watirspec/html/javascript/jquery-ui-1.8.17.custom.min.js +68 -0
- data/spec/watirspec/html/keylogger.html +15 -0
- data/spec/watirspec/html/modal_dialog.html +9 -0
- data/spec/watirspec/html/multiple_ids.html +15 -0
- data/spec/watirspec/html/nested_elements.html +44 -0
- data/spec/watirspec/html/nested_frame_1.html +1 -0
- data/spec/watirspec/html/nested_frame_2.html +9 -0
- data/spec/watirspec/html/nested_frame_3.html +14 -0
- data/spec/watirspec/html/nested_frames.html +10 -0
- data/spec/watirspec/html/nested_iframe_2.html +12 -0
- data/spec/watirspec/html/nested_iframes.html +13 -0
- data/spec/watirspec/html/nested_tables.html +203 -0
- data/spec/watirspec/html/non_control_elements.html +145 -0
- data/spec/watirspec/html/obscured.html +36 -0
- data/spec/watirspec/html/removed_element.html +24 -0
- data/spec/watirspec/html/right_click.html +23 -0
- data/spec/watirspec/html/scroll.html +15 -0
- data/spec/watirspec/html/scroll_nested.html +17 -0
- data/spec/watirspec/html/scroll_nested_offscreen.html +18 -0
- data/spec/watirspec/html/shadow_dom.html +28 -0
- data/spec/watirspec/html/special_chars.html +15 -0
- data/spec/watirspec/html/sticky_elements.html +10 -0
- data/spec/watirspec/html/tables.html +121 -0
- data/spec/watirspec/html/timeout_window_location.html +19 -0
- data/spec/watirspec/html/uneven_table.html +20 -0
- data/spec/watirspec/html/wait.html +99 -0
- data/spec/watirspec/html/watirspec.css +0 -0
- data/spec/watirspec/html/window_switching.html +22 -0
- data/spec/watirspec/radio_set_spec.rb +346 -0
- data/spec/watirspec/screenshot_spec.rb +33 -0
- data/spec/watirspec/scroll_spec.rb +208 -0
- data/spec/watirspec/shadow_root_spec.rb +108 -0
- data/spec/watirspec/support/rspec_matchers.rb +161 -0
- data/spec/watirspec/user_editable_spec.rb +207 -0
- data/spec/watirspec/wait_spec.rb +345 -0
- data/spec/watirspec/window_switching_spec.rb +580 -0
- data/spec/watirspec_helper.rb +163 -0
- data/support/doctest_helper.rb +101 -0
- data/support/version_differ.rb +60 -0
- data/watir.gemspec +50 -0
- metadata +652 -148
- data/readme.rb +0 -211
- data/unittests/WindowLogonExample.rb +0 -30
- data/unittests/WindowLogonExtra.rb +0 -7
- data/unittests/all_tests.rb +0 -10
- data/unittests/all_tests_concurrent.rb +0 -57
- data/unittests/attachToExistingWindow_test.rb +0 -40
- data/unittests/buttons_test.rb +0 -131
- data/unittests/checkbox_test.rb +0 -149
- data/unittests/core_tests.rb +0 -9
- data/unittests/css_test.rb +0 -60
- data/unittests/div_test.rb +0 -179
- data/unittests/errorchecker_test.rb +0 -29
- data/unittests/filefield_test.rb +0 -35
- data/unittests/form_test.rb +0 -279
- data/unittests/frame_test.rb +0 -141
- data/unittests/html/blankpage.html +0 -12
- data/unittests/html/buttons1.html +0 -40
- data/unittests/html/checkboxes1.html +0 -69
- data/unittests/html/complex_table.html +0 -36
- data/unittests/html/cssTest.html +0 -42
- data/unittests/html/div.html +0 -105
- data/unittests/html/fileupload.html +0 -45
- data/unittests/html/formTest1.html +0 -39
- data/unittests/html/forms2.html +0 -45
- data/unittests/html/forms3.html +0 -132
- data/unittests/html/forms4.html +0 -27
- data/unittests/html/frame_buttons.html +0 -4
- data/unittests/html/frame_links.html +0 -4
- data/unittests/html/frame_multi.html +0 -5
- data/unittests/html/iframeTest.html +0 -13
- data/unittests/html/iframeTest1.html +0 -7
- data/unittests/html/iframeTest2.html +0 -6
- data/unittests/html/images/button.jpg +0 -0
- data/unittests/html/images/circle.jpg +0 -0
- data/unittests/html/images/originaltriangle.jpg +0 -0
- data/unittests/html/images/square.jpg +0 -0
- data/unittests/html/images/triangle.jpg +0 -0
- data/unittests/html/images1.html +0 -52
- data/unittests/html/javascriptevents.html +0 -39
- data/unittests/html/link_pass.html +0 -11
- data/unittests/html/links1.html +0 -37
- data/unittests/html/links2.html +0 -11
- data/unittests/html/nestedFrames.html +0 -6
- data/unittests/html/pass.html +0 -10
- data/unittests/html/popups1.html +0 -60
- data/unittests/html/radioButtons1.html +0 -71
- data/unittests/html/select_tealeaf.html +0 -54
- data/unittests/html/selectboxes1.html +0 -55
- data/unittests/html/simple_table.html +0 -26
- data/unittests/html/simple_table_buttons.html +0 -104
- data/unittests/html/simple_table_columns.html +0 -76
- data/unittests/html/table1.html +0 -142
- data/unittests/html/textarea.html +0 -30
- data/unittests/html/textfields1.html +0 -87
- data/unittests/html/textsearch.html +0 -44
- data/unittests/ie_mock.rb +0 -93
- data/unittests/ie_test.rb +0 -50
- data/unittests/images_test.rb +0 -179
- data/unittests/iostring.rb +0 -30
- data/unittests/iostring_test.rb +0 -48
- data/unittests/js_events_test.rb +0 -77
- data/unittests/jscriptExtraAlert.rb +0 -6
- data/unittests/jscriptExtraConfirmCancel.rb +0 -7
- data/unittests/jscriptExtraConfirmOk.rb +0 -7
- data/unittests/jscriptPushButton.rb +0 -5
- data/unittests/jscript_test.rb +0 -57
- data/unittests/links_test.rb +0 -169
- data/unittests/minmax_test.rb +0 -31
- data/unittests/navigate_test.rb +0 -56
- data/unittests/non_core_tests.rb +0 -9
- data/unittests/pagecontainstext_test.rb +0 -49
- data/unittests/popups_test.rb +0 -44
- data/unittests/radios_test.rb +0 -164
- data/unittests/screen_capture_test.rb +0 -53
- data/unittests/selectbox_test.rb +0 -197
- data/unittests/send_keys_test.rb +0 -29
- data/unittests/setup.rb +0 -47
- data/unittests/table_test.rb +0 -306
- data/unittests/textAreafields_test.rb +0 -81
- data/unittests/textfields_test.rb +0 -239
- data/watir/AutoItX3.dll +0 -0
- data/watir/WindowHelper.rb +0 -47
- data/watir/camel_case.rb +0 -37
- data/watir/clickJSDialog.rb +0 -19
- data/watir/cookiemanager.rb +0 -53
- data/watir/exceptions.rb +0 -60
- data/watir/screen_capture.rb +0 -115
- data/watir/setFileDialog.rb +0 -16
- data/watir/testUnitAddons.rb +0 -47
- data/watir/watir_simple.rb +0 -475
- data/watir/winClicker.rb +0 -505
- data/watir.rb +0 -3744
- /data/{unittests → spec/watirspec}/html/images/1.gif +0 -0
- /data/{unittests/html/images/2.GIF → spec/watirspec/html/images/2.gif} +0 -0
- /data/{unittests/html/images/3.GIF → spec/watirspec/html/images/3.gif} +0 -0
- /data/{unittests/html/images/minus.GIF → spec/watirspec/html/images/minus.gif} +0 -0
- /data/{unittests → spec/watirspec}/html/images/plus.gif +0 -0
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* jQuery UI CSS Framework 1.8.17
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
6
|
+
* http://jquery.org/license
|
|
7
|
+
*
|
|
8
|
+
* http://docs.jquery.com/UI/Theming/API
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/* Layout helpers
|
|
12
|
+
----------------------------------*/
|
|
13
|
+
.ui-helper-hidden { display: none; }
|
|
14
|
+
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
|
|
15
|
+
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
|
16
|
+
.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
|
|
17
|
+
.ui-helper-clearfix:after { clear: both; }
|
|
18
|
+
.ui-helper-clearfix { zoom: 1; }
|
|
19
|
+
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
/* Interaction Cues
|
|
23
|
+
----------------------------------*/
|
|
24
|
+
.ui-state-disabled { cursor: default !important; }
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/* Icons
|
|
28
|
+
----------------------------------*/
|
|
29
|
+
|
|
30
|
+
/* states and images */
|
|
31
|
+
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
/* Misc visuals
|
|
35
|
+
----------------------------------*/
|
|
36
|
+
|
|
37
|
+
/* Overlays */
|
|
38
|
+
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
/*
|
|
42
|
+
* jQuery UI CSS Framework 1.8.17
|
|
43
|
+
*
|
|
44
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
|
45
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
46
|
+
* http://jquery.org/license
|
|
47
|
+
*
|
|
48
|
+
* http://docs.jquery.com/UI/Theming/API
|
|
49
|
+
*
|
|
50
|
+
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/* Component containers
|
|
55
|
+
----------------------------------*/
|
|
56
|
+
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
|
|
57
|
+
.ui-widget .ui-widget { font-size: 1em; }
|
|
58
|
+
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
|
|
59
|
+
.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
|
|
60
|
+
.ui-widget-content a { color: #222222; }
|
|
61
|
+
.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
|
|
62
|
+
.ui-widget-header a { color: #222222; }
|
|
63
|
+
|
|
64
|
+
/* Interaction states
|
|
65
|
+
----------------------------------*/
|
|
66
|
+
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; }
|
|
67
|
+
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
|
|
68
|
+
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
|
|
69
|
+
.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
|
|
70
|
+
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
|
|
71
|
+
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
|
|
72
|
+
.ui-widget :active { outline: none; }
|
|
73
|
+
|
|
74
|
+
/* Interaction Cues
|
|
75
|
+
----------------------------------*/
|
|
76
|
+
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
|
|
77
|
+
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
|
|
78
|
+
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
|
|
79
|
+
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
|
|
80
|
+
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
|
|
81
|
+
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
|
|
82
|
+
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
|
|
83
|
+
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
|
84
|
+
|
|
85
|
+
/* Icons
|
|
86
|
+
----------------------------------*/
|
|
87
|
+
|
|
88
|
+
/* states and images */
|
|
89
|
+
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
|
|
90
|
+
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
|
91
|
+
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
|
92
|
+
.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
|
|
93
|
+
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
|
|
94
|
+
.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
|
|
95
|
+
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
|
|
96
|
+
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
|
|
97
|
+
|
|
98
|
+
/* positioning */
|
|
99
|
+
.ui-icon-carat-1-n { background-position: 0 0; }
|
|
100
|
+
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
|
101
|
+
.ui-icon-carat-1-e { background-position: -32px 0; }
|
|
102
|
+
.ui-icon-carat-1-se { background-position: -48px 0; }
|
|
103
|
+
.ui-icon-carat-1-s { background-position: -64px 0; }
|
|
104
|
+
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
|
105
|
+
.ui-icon-carat-1-w { background-position: -96px 0; }
|
|
106
|
+
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
|
107
|
+
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
|
108
|
+
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
|
109
|
+
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
|
110
|
+
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
|
111
|
+
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
|
112
|
+
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
|
113
|
+
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
|
114
|
+
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
|
115
|
+
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
|
116
|
+
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
|
117
|
+
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
|
118
|
+
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
|
119
|
+
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
|
120
|
+
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
|
121
|
+
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
|
122
|
+
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
|
123
|
+
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
|
124
|
+
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
|
125
|
+
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
|
126
|
+
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
|
127
|
+
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
|
128
|
+
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
|
129
|
+
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
|
130
|
+
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
|
131
|
+
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
|
132
|
+
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
|
133
|
+
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
|
134
|
+
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
|
135
|
+
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
|
136
|
+
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
|
137
|
+
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
|
138
|
+
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
|
139
|
+
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
|
140
|
+
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
|
141
|
+
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
|
142
|
+
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
|
143
|
+
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
|
144
|
+
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
|
145
|
+
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
|
146
|
+
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
|
147
|
+
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
|
148
|
+
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
|
149
|
+
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
|
150
|
+
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
|
151
|
+
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
|
152
|
+
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
|
153
|
+
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
|
154
|
+
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
|
155
|
+
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
|
156
|
+
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
|
157
|
+
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
|
158
|
+
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
|
159
|
+
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
|
160
|
+
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
|
161
|
+
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
|
162
|
+
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
|
163
|
+
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
|
164
|
+
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
|
165
|
+
.ui-icon-extlink { background-position: -32px -80px; }
|
|
166
|
+
.ui-icon-newwin { background-position: -48px -80px; }
|
|
167
|
+
.ui-icon-refresh { background-position: -64px -80px; }
|
|
168
|
+
.ui-icon-shuffle { background-position: -80px -80px; }
|
|
169
|
+
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
|
170
|
+
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
|
171
|
+
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
|
172
|
+
.ui-icon-folder-open { background-position: -16px -96px; }
|
|
173
|
+
.ui-icon-document { background-position: -32px -96px; }
|
|
174
|
+
.ui-icon-document-b { background-position: -48px -96px; }
|
|
175
|
+
.ui-icon-note { background-position: -64px -96px; }
|
|
176
|
+
.ui-icon-mail-closed { background-position: -80px -96px; }
|
|
177
|
+
.ui-icon-mail-open { background-position: -96px -96px; }
|
|
178
|
+
.ui-icon-suitcase { background-position: -112px -96px; }
|
|
179
|
+
.ui-icon-comment { background-position: -128px -96px; }
|
|
180
|
+
.ui-icon-person { background-position: -144px -96px; }
|
|
181
|
+
.ui-icon-print { background-position: -160px -96px; }
|
|
182
|
+
.ui-icon-trash { background-position: -176px -96px; }
|
|
183
|
+
.ui-icon-locked { background-position: -192px -96px; }
|
|
184
|
+
.ui-icon-unlocked { background-position: -208px -96px; }
|
|
185
|
+
.ui-icon-bookmark { background-position: -224px -96px; }
|
|
186
|
+
.ui-icon-tag { background-position: -240px -96px; }
|
|
187
|
+
.ui-icon-home { background-position: 0 -112px; }
|
|
188
|
+
.ui-icon-flag { background-position: -16px -112px; }
|
|
189
|
+
.ui-icon-calendar { background-position: -32px -112px; }
|
|
190
|
+
.ui-icon-cart { background-position: -48px -112px; }
|
|
191
|
+
.ui-icon-pencil { background-position: -64px -112px; }
|
|
192
|
+
.ui-icon-clock { background-position: -80px -112px; }
|
|
193
|
+
.ui-icon-disk { background-position: -96px -112px; }
|
|
194
|
+
.ui-icon-calculator { background-position: -112px -112px; }
|
|
195
|
+
.ui-icon-zoomin { background-position: -128px -112px; }
|
|
196
|
+
.ui-icon-zoomout { background-position: -144px -112px; }
|
|
197
|
+
.ui-icon-search { background-position: -160px -112px; }
|
|
198
|
+
.ui-icon-wrench { background-position: -176px -112px; }
|
|
199
|
+
.ui-icon-gear { background-position: -192px -112px; }
|
|
200
|
+
.ui-icon-heart { background-position: -208px -112px; }
|
|
201
|
+
.ui-icon-star { background-position: -224px -112px; }
|
|
202
|
+
.ui-icon-link { background-position: -240px -112px; }
|
|
203
|
+
.ui-icon-cancel { background-position: 0 -128px; }
|
|
204
|
+
.ui-icon-plus { background-position: -16px -128px; }
|
|
205
|
+
.ui-icon-plusthick { background-position: -32px -128px; }
|
|
206
|
+
.ui-icon-minus { background-position: -48px -128px; }
|
|
207
|
+
.ui-icon-minusthick { background-position: -64px -128px; }
|
|
208
|
+
.ui-icon-close { background-position: -80px -128px; }
|
|
209
|
+
.ui-icon-closethick { background-position: -96px -128px; }
|
|
210
|
+
.ui-icon-key { background-position: -112px -128px; }
|
|
211
|
+
.ui-icon-lightbulb { background-position: -128px -128px; }
|
|
212
|
+
.ui-icon-scissors { background-position: -144px -128px; }
|
|
213
|
+
.ui-icon-clipboard { background-position: -160px -128px; }
|
|
214
|
+
.ui-icon-copy { background-position: -176px -128px; }
|
|
215
|
+
.ui-icon-contact { background-position: -192px -128px; }
|
|
216
|
+
.ui-icon-image { background-position: -208px -128px; }
|
|
217
|
+
.ui-icon-video { background-position: -224px -128px; }
|
|
218
|
+
.ui-icon-script { background-position: -240px -128px; }
|
|
219
|
+
.ui-icon-alert { background-position: 0 -144px; }
|
|
220
|
+
.ui-icon-info { background-position: -16px -144px; }
|
|
221
|
+
.ui-icon-notice { background-position: -32px -144px; }
|
|
222
|
+
.ui-icon-help { background-position: -48px -144px; }
|
|
223
|
+
.ui-icon-check { background-position: -64px -144px; }
|
|
224
|
+
.ui-icon-bullet { background-position: -80px -144px; }
|
|
225
|
+
.ui-icon-radio-off { background-position: -96px -144px; }
|
|
226
|
+
.ui-icon-radio-on { background-position: -112px -144px; }
|
|
227
|
+
.ui-icon-pin-w { background-position: -128px -144px; }
|
|
228
|
+
.ui-icon-pin-s { background-position: -144px -144px; }
|
|
229
|
+
.ui-icon-play { background-position: 0 -160px; }
|
|
230
|
+
.ui-icon-pause { background-position: -16px -160px; }
|
|
231
|
+
.ui-icon-seek-next { background-position: -32px -160px; }
|
|
232
|
+
.ui-icon-seek-prev { background-position: -48px -160px; }
|
|
233
|
+
.ui-icon-seek-end { background-position: -64px -160px; }
|
|
234
|
+
.ui-icon-seek-start { background-position: -80px -160px; }
|
|
235
|
+
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
|
236
|
+
.ui-icon-seek-first { background-position: -80px -160px; }
|
|
237
|
+
.ui-icon-stop { background-position: -96px -160px; }
|
|
238
|
+
.ui-icon-eject { background-position: -112px -160px; }
|
|
239
|
+
.ui-icon-volume-off { background-position: -128px -160px; }
|
|
240
|
+
.ui-icon-volume-on { background-position: -144px -160px; }
|
|
241
|
+
.ui-icon-power { background-position: 0 -176px; }
|
|
242
|
+
.ui-icon-signal-diag { background-position: -16px -176px; }
|
|
243
|
+
.ui-icon-signal { background-position: -32px -176px; }
|
|
244
|
+
.ui-icon-battery-0 { background-position: -48px -176px; }
|
|
245
|
+
.ui-icon-battery-1 { background-position: -64px -176px; }
|
|
246
|
+
.ui-icon-battery-2 { background-position: -80px -176px; }
|
|
247
|
+
.ui-icon-battery-3 { background-position: -96px -176px; }
|
|
248
|
+
.ui-icon-circle-plus { background-position: 0 -192px; }
|
|
249
|
+
.ui-icon-circle-minus { background-position: -16px -192px; }
|
|
250
|
+
.ui-icon-circle-close { background-position: -32px -192px; }
|
|
251
|
+
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
|
252
|
+
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
|
253
|
+
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
|
254
|
+
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
|
255
|
+
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
|
256
|
+
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
|
257
|
+
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
|
258
|
+
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
|
259
|
+
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
|
260
|
+
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
|
261
|
+
.ui-icon-circle-check { background-position: -208px -192px; }
|
|
262
|
+
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
|
263
|
+
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
|
264
|
+
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
|
265
|
+
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
|
266
|
+
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
|
267
|
+
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
|
268
|
+
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
|
269
|
+
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
|
270
|
+
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
|
271
|
+
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
|
272
|
+
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
|
273
|
+
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
/* Misc visuals
|
|
277
|
+
----------------------------------*/
|
|
278
|
+
|
|
279
|
+
/* Corner radius */
|
|
280
|
+
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
|
|
281
|
+
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
|
|
282
|
+
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
|
|
283
|
+
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
|
284
|
+
|
|
285
|
+
/* Overlays */
|
|
286
|
+
.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
|
|
287
|
+
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<html>
|
|
2
|
+
<head>
|
|
3
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
|
4
|
+
<title>definition_lists</title>
|
|
5
|
+
</head>
|
|
6
|
+
|
|
7
|
+
<body id="definition_list">
|
|
8
|
+
<dl id="experience-list" class="list" title="experience">
|
|
9
|
+
<dt id="experience" class="industry" title="experience">Experience</dt>
|
|
10
|
+
<dd>11 years</dd>
|
|
11
|
+
|
|
12
|
+
<dt id="education" onclick="this.innerHTML='changed'">Education</dt>
|
|
13
|
+
<dd title="education" onclick="this.innerHTML='changed'">Master</dd>
|
|
14
|
+
|
|
15
|
+
<dt class="current-industry">Current industry</dt>
|
|
16
|
+
<dd class="industry">Architecture</dd>
|
|
17
|
+
|
|
18
|
+
<dt>Previous industry experience</dt>
|
|
19
|
+
<dd class="industry">Architecture</dd>
|
|
20
|
+
</dl>
|
|
21
|
+
|
|
22
|
+
<dl class="personalia">
|
|
23
|
+
<dt id="name" title="name" onclick="this.innerHTML = 'changed!'"><div>Name</div></dt>
|
|
24
|
+
<dd id="someone" class="name" title="someone">John Doe</dd>
|
|
25
|
+
|
|
26
|
+
<dt>Address</dt>
|
|
27
|
+
<dd class="address">John Doe</dd>
|
|
28
|
+
|
|
29
|
+
<dt>City</dt>
|
|
30
|
+
<dd id="city">New York</dd>
|
|
31
|
+
|
|
32
|
+
<dt>Country</dt>
|
|
33
|
+
<dd>USA</dd>
|
|
34
|
+
|
|
35
|
+
<dt>Gender</dt>
|
|
36
|
+
<dd>Male</dd>
|
|
37
|
+
|
|
38
|
+
<dt>Age</dt>
|
|
39
|
+
<dd>35</dd>
|
|
40
|
+
</dl>
|
|
41
|
+
|
|
42
|
+
<dl id="noop">
|
|
43
|
+
<dt class="noop"></dt> <!-- empty node -->
|
|
44
|
+
<dd class="noop"></dt> <!-- empty node -->
|
|
45
|
+
</dl>
|
|
46
|
+
|
|
47
|
+
</body>
|
|
48
|
+
</html>
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<title>jQuery UI Droppable - Default Demo</title>
|
|
6
|
+
<link type="text/css" href="css/jquery-ui-1.8.17.custom.css" rel="stylesheet" />
|
|
7
|
+
<script type="text/javascript" src="javascript/jquery-1.7.1.min.js"></script>
|
|
8
|
+
<script type="text/javascript" src="javascript/jquery-ui-1.8.17.custom.min.js"></script>
|
|
9
|
+
<style type="text/css">
|
|
10
|
+
#draggable { position: relative; width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
|
|
11
|
+
#droppable { position: relative; width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
|
|
12
|
+
</style>
|
|
13
|
+
|
|
14
|
+
<script type="text/javascript">
|
|
15
|
+
$(function() {
|
|
16
|
+
$("#repositionDraggable").click(function() {
|
|
17
|
+
$("#draggable").css("top", "2500px");
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
$("#repositionDroppable").click(function() {
|
|
21
|
+
$("#droppable").css("top", "2500px");
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
$("#draggable").draggable();
|
|
25
|
+
$("#droppable").droppable({
|
|
26
|
+
drop: function(event, ui) {
|
|
27
|
+
$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
|
|
28
|
+
$('body').off();
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
var report_event = function(report_text) {
|
|
33
|
+
var reportElement = $("#drop_reports");
|
|
34
|
+
var origText = reportElement.text();
|
|
35
|
+
reportElement.text(origText + " " + report_text);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
$('body').on('mousedown', function() {
|
|
39
|
+
report_event('down');
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
$('body').on('mousemove', function() {
|
|
43
|
+
report_event('move');
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
$('body').on('mouseup', function() {
|
|
47
|
+
report_event('up');
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
$('body').on('dragstart', function() {
|
|
51
|
+
report_event('dragstart');
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
$('body').on('drag', function() {
|
|
55
|
+
report_event('drag');
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
$('body').on('dragenter', function() {
|
|
59
|
+
report_event('dragenter');
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
$('body').on('dragover', function() {
|
|
63
|
+
report_event('dragover');
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
$('body').on('dragleave', function() {
|
|
67
|
+
report_event('dragleave');
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
$('body').on('dragend', function() {
|
|
71
|
+
report_event('dragend');
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
$('body').on('drop', function() {
|
|
75
|
+
report_event('drop');
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
</script>
|
|
79
|
+
</head>
|
|
80
|
+
<body>
|
|
81
|
+
|
|
82
|
+
<input id="repositionDraggable" type="button" value="repositionDraggable"/>
|
|
83
|
+
<input id="repositionDroppable" type="button" value="repositionDroppable"/>
|
|
84
|
+
<div class="demo">
|
|
85
|
+
|
|
86
|
+
<div id="draggable" class="ui-widget-content">
|
|
87
|
+
<p>Drag me to my target</p>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
<div id="droppable" class="ui-widget-header">
|
|
91
|
+
<p>Drop here</p>
|
|
92
|
+
</div>
|
|
93
|
+
|
|
94
|
+
<div class="test-data">
|
|
95
|
+
<p id="drop_reports">start</p>
|
|
96
|
+
</div>
|
|
97
|
+
|
|
98
|
+
</div><!-- End demo -->
|
|
99
|
+
|
|
100
|
+
<div class="demo-description">
|
|
101
|
+
|
|
102
|
+
<p>Taken from the JQuery demo.</p>
|
|
103
|
+
|
|
104
|
+
</div><!-- End demo-description -->
|
|
105
|
+
</body>
|
|
106
|
+
</html>
|