haikuwebkit/LayoutTests/fast/spatial-navigation/snav-multiple-select-optgro...

117 lines
4.6 KiB
HTML
Raw Permalink Normal View History

Reduce Preference Override Methods: TabsToLinks/SpatialNavigation https://bugs.webkit.org/show_bug.cgi?id=218288 Reviewed by Tim Horton. Source/WebKit: Removes WKPreferencesGet/SetTabToLinksEnabled preference as it duplicates functionality of WKPreferencesGet/SetTabsToLinks. The former was added for https://bugs.webkit.org/show_bug.cgi?id=95329 but was redundant even at the time. We can now use test header commands for all of its use cases. Also removes testing only bundle SPI for enabling spatial navigation which also can be set via test headers instead. * UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetTabToLinksEnabled): Deleted. (WKPreferencesGetTabToLinksEnabled): Deleted. * UIProcess/API/C/WKPreferencesRefPrivate.h: * WebProcess/InjectedBundle/API/c/WKBundle.cpp: (WKBundleSetSpatialNavigationEnabled): Deleted. * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: * WebProcess/InjectedBundle/InjectedBundle.cpp: (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): (WebKit::InjectedBundle::setSpatialNavigationEnabled): Deleted. * WebProcess/InjectedBundle/InjectedBundle.h: * WebProcess/WebPage/WebPage.h: (WebKit::WebPage::setTabToLinksEnabled): Deleted. (WebKit::WebPage::tabToLinksEnabled const): Deleted. Source/WTF: * Scripts/Preferences/WebPreferences.yaml: Unify TabToLinksEnabled and TabsToLinks. TabToLinksEnabled was added for https://bugs.webkit.org/show_bug.cgi?id=95329 and has never actually been needed. Tools: Replace uses of testRunner.overridePreference("WebKitTabToLinksPreferenceKey", ...) and testRunner.setSpatialNavigationEnabled(...) with test header commands, helping to reduce the number of different ways we have to override preferences in LayoutTests. * DumpRenderTree/TestOptions.cpp: (WTR::TestOptions::defaults): * DumpRenderTree/TestRunner.cpp: (TestRunner::staticFunctions): (setSpatialNavigationEnabledCallback): Deleted. * DumpRenderTree/TestRunner.h: * DumpRenderTree/mac/DumpRenderTree.mm: (resetWebPreferencesToConsistentValues): * DumpRenderTree/mac/TestRunnerMac.mm: (TestRunner::setSpatialNavigationEnabled): Deleted. * DumpRenderTree/win/DumpRenderTree.cpp: (resetWebPreferencesToConsistentValues): (setWebPreferencesForTestOptions): * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::setSpatialNavigationEnabled): Deleted. * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues): LayoutTests: Replace uses of testRunner.overridePreference("WebKitTabToLinksPreferenceKey", ...) and testRunner.setSpatialNavigationEnabled(...) with test header commands, helping to reduce the number of different ways we have to override preferences in LayoutTests. * accessibility/mac/caret-browsing-tab-selection.html: * accessibility/mac/focus-setting-selection-syncronizing-not-clearing.html: * accessibility/mac/selection-element-tabbing-to-link.html: * accessibility/mac/selection-notification-focus-change.html: * accessibility/mac/tab-focus-post-notification.html: * fast/events/tab-focus-anchor.html: * fast/events/tab-focus-link-in-canvas.html: * fast/spatial-navigation/snav-1st-stop.html: * fast/spatial-navigation/snav-clipped-overflowed-content.html: * fast/spatial-navigation/snav-container-only-white-space.html: * fast/spatial-navigation/snav-container-white-space.html: * fast/spatial-navigation/snav-display-contents-crash.html: * fast/spatial-navigation/snav-div-overflow-scrol-hidden.html: * fast/spatial-navigation/snav-div-scrollable-but-without-focusable-content.html: * fast/spatial-navigation/snav-fully-aligned-horizontally.html: * fast/spatial-navigation/snav-fully-aligned-vertically.html: * fast/spatial-navigation/snav-hidden-focusable-element.html: * fast/spatial-navigation/snav-hidden-iframe-zero-size.html: * fast/spatial-navigation/snav-hidden-iframe.html: * fast/spatial-navigation/snav-iframe-flattening-simple.html: * fast/spatial-navigation/snav-iframe-nested.html: * fast/spatial-navigation/snav-iframe-no-focusable-content.html: * fast/spatial-navigation/snav-iframe-no-scrollable-content.html: * fast/spatial-navigation/snav-iframe-recursive-offset-parent.html: * fast/spatial-navigation/snav-iframe-with-offscreen-focusable-element.html: * fast/spatial-navigation/snav-imagemap-area-not-focusable.html: * fast/spatial-navigation/snav-imagemap-area-without-image.html: * fast/spatial-navigation/snav-imagemap-overlapped-areas.html: * fast/spatial-navigation/snav-imagemap-simple.html: * fast/spatial-navigation/snav-input.html: * fast/spatial-navigation/snav-media-elements.html: * fast/spatial-navigation/snav-multiple-select-focusring.html: * fast/spatial-navigation/snav-multiple-select-optgroup.html: * fast/spatial-navigation/snav-multiple-select.html: * fast/spatial-navigation/snav-offscreen-content.html: * fast/spatial-navigation/snav-only-clipped-overflow-content.html: * fast/spatial-navigation/snav-radio-group.html: * fast/spatial-navigation/snav-radio.html: * fast/spatial-navigation/snav-search-optimization.html: * fast/spatial-navigation/snav-simple-content-overflow.html: * fast/spatial-navigation/snav-single-select-list.html: * fast/spatial-navigation/snav-single-select.html: * fast/spatial-navigation/snav-table-traversal.html: * fast/spatial-navigation/snav-textarea.html: * fast/spatial-navigation/snav-tiny-table-traversal.html: * fast/spatial-navigation/snav-two-elements-one-line.html: * fast/spatial-navigation/snav-unit-overflow-and-scroll-in-direction.html: * fast/spatial-navigation/snav-z-index.html: * fast/spatial-navigation/snav-zero-margin-content.html: * media/media-controls-accessibility.html: * media/tab-focus-inside-media-elements.html: Canonical link: https://commits.webkit.org/230992@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269111 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-28 18:33:08 +00:00
<!DOCTYPE html><!-- webkit-test-runner [ TabsToLinks=true SpatialNavigationEnabled=true ] -->
<html>
<!--
This test ensures the correctness of Spatial Navigation (SNav) algorithm over multiple select element.
* Pre-conditions:
1) TestRunner support for SNav enable/disable.
* Navigation steps:
1) Loads this page, focus goes to "start" automatically.
2) Focus moves away from select in 4 different directions to neighbor nodes and back.
-->
<head>
Change fast/s* and fast/t* files to use pre and post js files in LayoutTests/resources. https://bugs.webkit.org/show_bug.cgi?id=120981. Rubber stamped by Filip Pizlo. * fast/scrolling/scrollable-area-dynamic-overflow.html: * fast/scrolling/scrollable-area-frame-inherited-visibility-hidden.html: * fast/scrolling/scrollable-area-frame-overflow-hidden.html: * fast/scrolling/scrollable-area-frame-overried-inherited-visibility-hidden.html: * fast/scrolling/scrollable-area-frame-scrolling-no-overried-inherited-visibility-hidden.html: * fast/scrolling/scrollable-area-frame-scrolling-no-visibility-hidden-child.html: * fast/scrolling/scrollable-area-frame-scrolling-no.html: * fast/scrolling/scrollable-area-frame-scrolling-yes-display-none.html: * fast/scrolling/scrollable-area-frame-scrolling-yes.html: * fast/scrolling/scrollable-area-frame-visibility-hidden-child.html: * fast/scrolling/scrollable-area-frame-zero-size-and-border.html: * fast/scrolling/scrollable-area-frame.html: * fast/scrolling/scrollable-area-overflow-auto-display-none-in-parent.html: * fast/scrolling/scrollable-area-overflow-auto-display-none.html: * fast/scrolling/scrollable-area-overflow-auto-visibility-hidden-in-parent.html: * fast/scrolling/scrollable-area-overflow-auto-visibility-hidden.html: * fast/scrolling/scrollable-area-overflow-auto-visibility-override.html: * fast/scrolling/scrollable-area-overflow-auto-visibility-visible.html: * fast/scrolling/scrollable-area-overflow-auto.html: * fast/scrolling/scrollable-area-overflow-not-set.html: * fast/scrolling/scrollable-area-overflow-visible.html: * fast/scrolling/scrollbar-mousedown-mouseup.html: * fast/scrolling/scrollbar-mousedown-move-mouseup.html: * fast/scrolling/scrollbar-tickmarks-hittest.html: * fast/selectors/querySelector-id-with-multiple-elements-with-same-id.html: * fast/selectors/querySelector-scope.html: * fast/selectors/specificity-overflow.html: * fast/shapes/css-shapes-disabled.html: * fast/shapes/css-shapes-enabled.html: * fast/shapes/parsing/parsing-shape-inside.html: * fast/shapes/parsing/parsing-shape-lengths.html: * fast/shapes/parsing/parsing-shape-margin.html: * fast/shapes/parsing/parsing-shape-outside.html: * fast/shapes/parsing/parsing-shape-padding.html: * fast/shapes/shape-inside/shape-inside-polygon-layout.html: * fast/shapes/shape-inside/shape-inside-polygon-padding-002.html: * fast/shapes/shape-inside/shape-inside-polygon-padding-003.html: * fast/shapes/shape-outside-floats/shape-outside-floats-diamond-margin-polygon.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-left.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-right.html: * fast/spatial-navigation/snav-1st-stop.html: * fast/spatial-navigation/snav-clipped-overflowed-content.html: * fast/spatial-navigation/snav-container-only-white-space.html: * fast/spatial-navigation/snav-container-white-space.html: * fast/spatial-navigation/snav-div-overflow-scrol-hidden.html: * fast/spatial-navigation/snav-div-scrollable-but-without-focusable-content.html: * fast/spatial-navigation/snav-fully-aligned-horizontally.html: * fast/spatial-navigation/snav-fully-aligned-vertically.html: * fast/spatial-navigation/snav-hidden-focusable-element.html: * fast/spatial-navigation/snav-hidden-iframe-zero-size.html: * fast/spatial-navigation/snav-hidden-iframe.html: * fast/spatial-navigation/snav-iframe-flattening-simple.html: * fast/spatial-navigation/snav-iframe-nested.html: * fast/spatial-navigation/snav-iframe-no-focusable-content.html: * fast/spatial-navigation/snav-iframe-no-scrollable-content.html: * fast/spatial-navigation/snav-iframe-recursive-offset-parent.html: * fast/spatial-navigation/snav-iframe-with-offscreen-focusable-element.html: * fast/spatial-navigation/snav-imagemap-area-not-focusable.html: * fast/spatial-navigation/snav-imagemap-area-without-image.html: * fast/spatial-navigation/snav-imagemap-overlapped-areas.html: * fast/spatial-navigation/snav-imagemap-simple.html: * fast/spatial-navigation/snav-input.html: * fast/spatial-navigation/snav-media-elements.html: * fast/spatial-navigation/snav-multiple-select-optgroup.html: * fast/spatial-navigation/snav-multiple-select.html: * fast/spatial-navigation/snav-offscreen-content.html: * fast/spatial-navigation/snav-only-clipped-overflow-content.html: * fast/spatial-navigation/snav-radio-group.html: * fast/spatial-navigation/snav-radio.html: * fast/spatial-navigation/snav-search-optimization.html: * fast/spatial-navigation/snav-simple-content-overflow.html: * fast/spatial-navigation/snav-single-select-list.html: * fast/spatial-navigation/snav-single-select.html: * fast/spatial-navigation/snav-table-traversal.html: * fast/spatial-navigation/snav-textarea.html: * fast/spatial-navigation/snav-tiny-table-traversal.html: * fast/spatial-navigation/snav-two-elements-one-line.html: * fast/spatial-navigation/snav-unit-overflow-and-scroll-in-direction.html: * fast/spatial-navigation/snav-z-index.html: * fast/spatial-navigation/snav-zero-margin-content.html: * fast/speech/bubble-position-scrolled.html: * fast/speech/bubble-position.html: * fast/speech/change-focus.html: * fast/speech/input-onspeechchange-event.html: * fast/speech/input-ontextinput-event.html: * fast/speech/input-readonly-and-disabled.html: * fast/speech/input-text-language-tag.html: * fast/speech/input-text-speechbutton.html: * fast/speech/input-text-speechstart.html: * fast/speech/intrinsic-input-width-with-speech-border-padding.html: * fast/speech/scripted/basics.html: * fast/speech/scripted/navigate-away-iframe.html: * fast/speech/scripted/navigate-away.html: * fast/speech/scripted/speechgrammar-basics.html: * fast/speech/scripted/speechrecognition-basics.html: * fast/speech/scripted/speechrecognition-errors.html: * fast/speech/scripted/speechrecognitionerror-basics.html: * fast/speech/scripted/start-exception.html: * fast/speech/speech-button-ignore-generated-events.html: * fast/speech/speech-input-result-list-not-enough-arguments.html: * fast/speech/speech-input-scripting.html: * fast/speech/speech-style-on-non-speech-elements.html: * fast/storage/serialized-script-value.html: * fast/sub-pixel/auto-table-layout-should-avoid-text-wrapping.html: * fast/sub-pixel/block-preferred-widths-with-sub-pixel-floats.html: * fast/sub-pixel/boundingclientrect-subpixel-margin.html: * fast/sub-pixel/client-and-offset-width.html: * fast/sub-pixel/client-width-height-snapping.html: * fast/sub-pixel/computedstylemargin.html: * fast/sub-pixel/float-containing-block-with-margin.html: * fast/sub-pixel/float-with-margin-in-container.html: * fast/sub-pixel/float-with-right-margin-zoom.html: * fast/sub-pixel/inline-block-with-padding.html: * fast/sub-pixel/replaced-element-baseline.html: * fast/sub-pixel/size-of-span-with-different-positions.html: * fast/sub-pixel/table-cells-have-stable-width.html: * fast/sub-pixel/table-cells-with-padding-do-not-wrap.html: * fast/sub-pixel/table-rows-have-stable-height.html: * fast/sub-pixel/tiled-canvas-elements.html: * fast/sub-pixel/vertical-align-middle-overflow.html: * fast/table/Rowspan-value-more-than-number-of-rows-present.html: * fast/table/border-changes.html: * fast/table/cellIndex-of-cell-with-different-parents.html: * fast/table/col-width-span-expand.html: * fast/table/correct-baseline-after-style-change-expected.html: * fast/table/correct-baseline-after-style-change.html: * fast/table/css-table-max-width.html: * fast/table/css-table-width.html: * fast/table/fixed-table-layout/fixed-layout-column-colspan-wrong-size.html: * fast/table/form-with-non-table-display-inside-table-elements.html: * fast/table/hittest-tablecell-bottom-edge.html: * fast/table/hittest-tablecell-right-edge.html: * fast/table/hittest-tablecell-with-borders-bottom-edge.html: * fast/table/hittest-tablecell-with-borders-right-edge.html: * fast/table/min-width-css-block-table.html: * fast/table/min-width-css-inline-table.html: * fast/table/min-width-html-block-table.html: * fast/table/min-width-html-inline-table.html: * fast/table/padding-height-and-override-height.html: * fast/table/resize-table-binding-cell.html: * fast/table/resize-table-cell.html: * fast/table/resize-table-row.html: * fast/table/script-tests/TEMPLATE.html: * fast/table/table-with-borderattr-null.html: * fast/table/table-with-borderattr-set-to-null.html: * fast/table/td-bordercolor-attribute.html: * fast/text/find-backwards.html: * fast/text/find-diacritical-mark.html: * fast/text/find-kana.html: * fast/text/find-russian.html: * fast/text/find-soft-hyphen.html: * fast/text/font-size-zero.html: * fast/text/international/iso-8859-8.html: * fast/text/line-break-after-question-mark.html: * fast/text/script-tests/TEMPLATE.html: * fast/text/soft-hyphen-5.html: Canonical link: https://commits.webkit.org/138876@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-09-08 00:44:54 +00:00
<script src="../../resources/js-test-pre.js"></script>
<script src="resources/spatial-navigation-utils.js"></script>
<script type="application/javascript">
var resultMap = [
["Down", "start"],
["Down", "start"],
["Down", "start"],
["Down", "8"],
["Up", "start"],
["Up", "start"],
["Up", "start"],
["Up", "2"],
["Down", "start"],
["Right", "6"],
["Left", "start"],
["Left", "4"],
["Right", "start"],
["DONE", "DONE"]
];
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function runTest()
{
// starting the test itself: get to a known place.
document.getElementById("start").focus();
initTest(resultMap, additionalTest);
}
function sendKeyAndCheckOptions(option0, option1, option2, option3)
{
shouldBe("gFocusedDocument.getElementById(\"start\").options[0].selected", option0);
shouldBe("gFocusedDocument.getElementById(\"start\").options[1].selected", option1);
shouldBe("gFocusedDocument.getElementById(\"start\").options[2].selected", option2);
shouldBe("gFocusedDocument.getElementById(\"start\").options[3].selected", option3);
}
function additionalTest()
{
document.getElementById("start").focus(); //move to 1st item
sendKeyAndCheckOptions("false", "false", "false", "false");
eventSender.keyDown("downArrow"); //move to 2nd item
sendKeyAndCheckOptions("false", "false", "false", "false");
eventSender.keyDown(" "); //nothing should change
sendKeyAndCheckOptions("false", "true", "false", "false");
eventSender.keyDown("downArrow"); //move to 4th item (3rd item is disabled)
sendKeyAndCheckOptions("false", "true", "false", "false");
eventSender.keyDown(" "); //nothing should change
sendKeyAndCheckOptions("false", "true", "false", "true");
eventSender.keyDown("upArrow"); //move back to 2nd item
sendKeyAndCheckOptions("false", "true", "false", "true");
eventSender.keyDown(" "); //noting should change
sendKeyAndCheckOptions("false", "false", "false", "true");
eventSender.keyDown("upArrow"); //move back to 1st item
sendKeyAndCheckOptions("false", "false", "false", "true");
eventSender.keyDown("downArrow", ["shiftKey"]); //shift-down to 2nd item
sendKeyAndCheckOptions("false", "true", "false", "true");
testCompleted();
}
function testCompleted()
{
if (window.testRunner)
testRunner.notifyDone();
}
window.onload = runTest;
</script>
Change fast/s* and fast/t* files to use pre and post js files in LayoutTests/resources. https://bugs.webkit.org/show_bug.cgi?id=120981. Rubber stamped by Filip Pizlo. * fast/scrolling/scrollable-area-dynamic-overflow.html: * fast/scrolling/scrollable-area-frame-inherited-visibility-hidden.html: * fast/scrolling/scrollable-area-frame-overflow-hidden.html: * fast/scrolling/scrollable-area-frame-overried-inherited-visibility-hidden.html: * fast/scrolling/scrollable-area-frame-scrolling-no-overried-inherited-visibility-hidden.html: * fast/scrolling/scrollable-area-frame-scrolling-no-visibility-hidden-child.html: * fast/scrolling/scrollable-area-frame-scrolling-no.html: * fast/scrolling/scrollable-area-frame-scrolling-yes-display-none.html: * fast/scrolling/scrollable-area-frame-scrolling-yes.html: * fast/scrolling/scrollable-area-frame-visibility-hidden-child.html: * fast/scrolling/scrollable-area-frame-zero-size-and-border.html: * fast/scrolling/scrollable-area-frame.html: * fast/scrolling/scrollable-area-overflow-auto-display-none-in-parent.html: * fast/scrolling/scrollable-area-overflow-auto-display-none.html: * fast/scrolling/scrollable-area-overflow-auto-visibility-hidden-in-parent.html: * fast/scrolling/scrollable-area-overflow-auto-visibility-hidden.html: * fast/scrolling/scrollable-area-overflow-auto-visibility-override.html: * fast/scrolling/scrollable-area-overflow-auto-visibility-visible.html: * fast/scrolling/scrollable-area-overflow-auto.html: * fast/scrolling/scrollable-area-overflow-not-set.html: * fast/scrolling/scrollable-area-overflow-visible.html: * fast/scrolling/scrollbar-mousedown-mouseup.html: * fast/scrolling/scrollbar-mousedown-move-mouseup.html: * fast/scrolling/scrollbar-tickmarks-hittest.html: * fast/selectors/querySelector-id-with-multiple-elements-with-same-id.html: * fast/selectors/querySelector-scope.html: * fast/selectors/specificity-overflow.html: * fast/shapes/css-shapes-disabled.html: * fast/shapes/css-shapes-enabled.html: * fast/shapes/parsing/parsing-shape-inside.html: * fast/shapes/parsing/parsing-shape-lengths.html: * fast/shapes/parsing/parsing-shape-margin.html: * fast/shapes/parsing/parsing-shape-outside.html: * fast/shapes/parsing/parsing-shape-padding.html: * fast/shapes/shape-inside/shape-inside-polygon-layout.html: * fast/shapes/shape-inside/shape-inside-polygon-padding-002.html: * fast/shapes/shape-inside/shape-inside-polygon-padding-003.html: * fast/shapes/shape-outside-floats/shape-outside-floats-diamond-margin-polygon.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-left.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-right.html: * fast/spatial-navigation/snav-1st-stop.html: * fast/spatial-navigation/snav-clipped-overflowed-content.html: * fast/spatial-navigation/snav-container-only-white-space.html: * fast/spatial-navigation/snav-container-white-space.html: * fast/spatial-navigation/snav-div-overflow-scrol-hidden.html: * fast/spatial-navigation/snav-div-scrollable-but-without-focusable-content.html: * fast/spatial-navigation/snav-fully-aligned-horizontally.html: * fast/spatial-navigation/snav-fully-aligned-vertically.html: * fast/spatial-navigation/snav-hidden-focusable-element.html: * fast/spatial-navigation/snav-hidden-iframe-zero-size.html: * fast/spatial-navigation/snav-hidden-iframe.html: * fast/spatial-navigation/snav-iframe-flattening-simple.html: * fast/spatial-navigation/snav-iframe-nested.html: * fast/spatial-navigation/snav-iframe-no-focusable-content.html: * fast/spatial-navigation/snav-iframe-no-scrollable-content.html: * fast/spatial-navigation/snav-iframe-recursive-offset-parent.html: * fast/spatial-navigation/snav-iframe-with-offscreen-focusable-element.html: * fast/spatial-navigation/snav-imagemap-area-not-focusable.html: * fast/spatial-navigation/snav-imagemap-area-without-image.html: * fast/spatial-navigation/snav-imagemap-overlapped-areas.html: * fast/spatial-navigation/snav-imagemap-simple.html: * fast/spatial-navigation/snav-input.html: * fast/spatial-navigation/snav-media-elements.html: * fast/spatial-navigation/snav-multiple-select-optgroup.html: * fast/spatial-navigation/snav-multiple-select.html: * fast/spatial-navigation/snav-offscreen-content.html: * fast/spatial-navigation/snav-only-clipped-overflow-content.html: * fast/spatial-navigation/snav-radio-group.html: * fast/spatial-navigation/snav-radio.html: * fast/spatial-navigation/snav-search-optimization.html: * fast/spatial-navigation/snav-simple-content-overflow.html: * fast/spatial-navigation/snav-single-select-list.html: * fast/spatial-navigation/snav-single-select.html: * fast/spatial-navigation/snav-table-traversal.html: * fast/spatial-navigation/snav-textarea.html: * fast/spatial-navigation/snav-tiny-table-traversal.html: * fast/spatial-navigation/snav-two-elements-one-line.html: * fast/spatial-navigation/snav-unit-overflow-and-scroll-in-direction.html: * fast/spatial-navigation/snav-z-index.html: * fast/spatial-navigation/snav-zero-margin-content.html: * fast/speech/bubble-position-scrolled.html: * fast/speech/bubble-position.html: * fast/speech/change-focus.html: * fast/speech/input-onspeechchange-event.html: * fast/speech/input-ontextinput-event.html: * fast/speech/input-readonly-and-disabled.html: * fast/speech/input-text-language-tag.html: * fast/speech/input-text-speechbutton.html: * fast/speech/input-text-speechstart.html: * fast/speech/intrinsic-input-width-with-speech-border-padding.html: * fast/speech/scripted/basics.html: * fast/speech/scripted/navigate-away-iframe.html: * fast/speech/scripted/navigate-away.html: * fast/speech/scripted/speechgrammar-basics.html: * fast/speech/scripted/speechrecognition-basics.html: * fast/speech/scripted/speechrecognition-errors.html: * fast/speech/scripted/speechrecognitionerror-basics.html: * fast/speech/scripted/start-exception.html: * fast/speech/speech-button-ignore-generated-events.html: * fast/speech/speech-input-result-list-not-enough-arguments.html: * fast/speech/speech-input-scripting.html: * fast/speech/speech-style-on-non-speech-elements.html: * fast/storage/serialized-script-value.html: * fast/sub-pixel/auto-table-layout-should-avoid-text-wrapping.html: * fast/sub-pixel/block-preferred-widths-with-sub-pixel-floats.html: * fast/sub-pixel/boundingclientrect-subpixel-margin.html: * fast/sub-pixel/client-and-offset-width.html: * fast/sub-pixel/client-width-height-snapping.html: * fast/sub-pixel/computedstylemargin.html: * fast/sub-pixel/float-containing-block-with-margin.html: * fast/sub-pixel/float-with-margin-in-container.html: * fast/sub-pixel/float-with-right-margin-zoom.html: * fast/sub-pixel/inline-block-with-padding.html: * fast/sub-pixel/replaced-element-baseline.html: * fast/sub-pixel/size-of-span-with-different-positions.html: * fast/sub-pixel/table-cells-have-stable-width.html: * fast/sub-pixel/table-cells-with-padding-do-not-wrap.html: * fast/sub-pixel/table-rows-have-stable-height.html: * fast/sub-pixel/tiled-canvas-elements.html: * fast/sub-pixel/vertical-align-middle-overflow.html: * fast/table/Rowspan-value-more-than-number-of-rows-present.html: * fast/table/border-changes.html: * fast/table/cellIndex-of-cell-with-different-parents.html: * fast/table/col-width-span-expand.html: * fast/table/correct-baseline-after-style-change-expected.html: * fast/table/correct-baseline-after-style-change.html: * fast/table/css-table-max-width.html: * fast/table/css-table-width.html: * fast/table/fixed-table-layout/fixed-layout-column-colspan-wrong-size.html: * fast/table/form-with-non-table-display-inside-table-elements.html: * fast/table/hittest-tablecell-bottom-edge.html: * fast/table/hittest-tablecell-right-edge.html: * fast/table/hittest-tablecell-with-borders-bottom-edge.html: * fast/table/hittest-tablecell-with-borders-right-edge.html: * fast/table/min-width-css-block-table.html: * fast/table/min-width-css-inline-table.html: * fast/table/min-width-html-block-table.html: * fast/table/min-width-html-inline-table.html: * fast/table/padding-height-and-override-height.html: * fast/table/resize-table-binding-cell.html: * fast/table/resize-table-cell.html: * fast/table/resize-table-row.html: * fast/table/script-tests/TEMPLATE.html: * fast/table/table-with-borderattr-null.html: * fast/table/table-with-borderattr-set-to-null.html: * fast/table/td-bordercolor-attribute.html: * fast/text/find-backwards.html: * fast/text/find-diacritical-mark.html: * fast/text/find-kana.html: * fast/text/find-russian.html: * fast/text/find-soft-hyphen.html: * fast/text/font-size-zero.html: * fast/text/international/iso-8859-8.html: * fast/text/line-break-after-question-mark.html: * fast/text/script-tests/TEMPLATE.html: * fast/text/soft-hyphen-5.html: Canonical link: https://commits.webkit.org/138876@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-09-08 00:44:54 +00:00
<script src="../resources/js-test-post.js"></script>
</head>
<body id="some-content" xmlns="http://www.w3.org/1999/xhtml">
<table style="text-align: left; width: 100%; margin-left: auto; margin-right: auto;" border="1" cellpadding="2" cellspacing="1">
<tbody>
<tr>
<td style="vertical-align: top; text-align: center;"></td>
<td style="vertical-align: top; text-align: center;"><a id="2" href="a">2</a></td>
<td style="vertical-align: top; text-align: center;"></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: center;"><a id="4" href="a">4</a></td>
<td style="vertical-align: top; text-align: center;">
<select id="start" multiple><optgroup label="o1"><option>1</option></optgroup><optgroup label="o2"><option>2</option></optgroup><optgroup label="o3"><option disabled>3</option></optgroup><optgroup label="o4"><option>4</option></optgroup>
</select></td>
<td style="vertical-align: top; text-align: center;"><a id="6" href="a">6</a></td>
</tr>
<tr>
<td style="vertical-align: top; text-align: center;"></td>
<td style="vertical-align: top; text-align: center;"><a id="8" href="a">8</a></td>
<td style="vertical-align: top; text-align: center;"></td>
</tr>
</tbody>
</table>
<div id="console"></div>
</body>
</html>