Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Issue 14096013: Implement select element list box with shadow DOM. (Closed)

Created:
7 years, 8 months ago by keishi
Modified:
6 years, 3 months ago
Reviewers:
tkent, yosin_UTC9, ojan
CC:
blink-reviews, jamesr, aboxhall, abarth_chromum.org, dmazzoni, apavlov+blink_chromium.org, jchaffraix+rendering, darktears, jeez, yosin_UTC9
Base URL:
https://chromium.googlesource.com/chromium/blink.git@shadowselect
Visibility:
Public.

Description

Implement select element list box with shadow DOM. BUG=

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed accessibility and autoscroll issues #

Patch Set 3 : #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+1242 lines, -1371 lines) Patch
M LayoutTests/accessibility/canvas-fallback-content-2-expected.txt View 1 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/accessibility/disabled-controls-not-focusable-expected.txt View 1 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/accessibility/readonly-expected.txt View 1 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/fast/forms/ValidityState-valueMissing-001-expected.txt View 1 chunk +9 lines, -1 line 0 comments Download
M LayoutTests/fast/forms/ValidityState-valueMissing-003-expected.txt View 1 chunk +9 lines, -1 line 0 comments Download
M LayoutTests/fast/forms/add-and-remove-option-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/fast/forms/add-remove-option-modification-event-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/fast/forms/add-selected-option-expected.txt View 1 chunk +7 lines, -1 line 0 comments Download
M LayoutTests/fast/forms/label/labelable-elements-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/label/labels-add-htmlFor-label-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/label/labels-add-parent-label-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/label/labels-change-htmlFor-attribute-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/label/labels-multiple-sibling-labels-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/label/labels-parent-and-sibling-labels-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/label/labels-remove-htmlFor-attribute-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/label/labels-remove-htmlFor-label-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/label/labels-remove-parent-label-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/label/labels-set-htmlFor-attribute-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/listbox-clear-restore-expected.html View 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/forms/listbox-deselect-scroll-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/listbox-hit-test-zoomed.html View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/forms/listbox-onchange.html View 3 chunks +21 lines, -11 lines 0 comments Download
M LayoutTests/fast/forms/listbox-scroll-after-options-removed-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/forms/listbox-selection-2.html View 2 chunks +5 lines, -5 lines 0 comments Download
M LayoutTests/fast/forms/listbox-selection-2-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/forms/listbox-selection-expected.txt View 1 chunk +14 lines, -0 lines 0 comments Download
M LayoutTests/fast/forms/menulist-no-renderer-for-unexpected-children-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/min-content-form-controls-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/forms/option-mouseevents.html View 3 chunks +39 lines, -63 lines 0 comments Download
M LayoutTests/fast/forms/percent-height-auto-width-form-controls-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/resources/select-live-pseudo-selectors.js View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/forms/select-change-popup-to-listbox-in-event-handler-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/select-clientheight-large-size-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/forms/select-clientheight-with-multiple-attr-expected.txt View 1 chunk +4 lines, -1 line 0 comments Download
M LayoutTests/fast/forms/select-list-box-mouse-focus-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/select-live-pseudo-selectors-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/forms/select-multiple-elements-with-mouse-drag-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/forms/select-multiple-elements-with-mouse-drag-with-options-less-than-size-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
D LayoutTests/fast/forms/select-overflow-scroll.html View 1 chunk +0 lines, -16 lines 0 comments Download
D LayoutTests/fast/forms/select-overflow-scroll-inherited.html View 1 chunk +0 lines, -17 lines 0 comments Download
M LayoutTests/fast/forms/select-reset-multiple-selections-4-single-selection-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/select/listbox-in-multi-column-expected.txt View 1 chunk +9 lines, -0 lines 0 comments Download
M LayoutTests/fast/forms/select/optgroup-clicking-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/select/optgroup-disabled-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/forms/select/select-disabled-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/HTMLOptionElement_label05-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/HTMLOptionElement_label05-expected.txt View 1 chunk +5 lines, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/disabled-select-change-index-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/disabled-select-change-index-expected.txt View 2 chunks +36 lines, -8 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/form-element-geometry-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/form-element-geometry-expected.txt View 2 chunks +17 lines, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/hidden-listbox-expected.txt View 1 chunk +5 lines, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/listbox-bidi-align-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/listbox-bidi-align-expected.txt View 1 chunk +261 lines, -61 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/listbox-clip-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/listbox-clip-expected.txt View 1 chunk +17 lines, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/listbox-hit-test-zoomed-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/listbox-hit-test-zoomed-expected.txt View 2 chunks +53 lines, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/listbox-scrollbar-incremental-load-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/listbox-scrollbar-incremental-load-expected.txt View 1 chunk +23 lines, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/listbox-width-change-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/listbox-width-change-expected.txt View 1 chunk +5 lines, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/option-strip-whitespace-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/option-strip-whitespace-expected.txt View 1 chunk +32 lines, -24 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-block-background-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-block-background-expected.txt View 1 chunk +5 lines, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-change-listbox-size-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-change-listbox-size-expected.txt View 1 chunk +20 lines, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-change-popup-to-listbox-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-change-popup-to-listbox-expected.txt View 1 chunk +5 lines, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-initial-position-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-initial-position-expected.txt View 1 chunk +145 lines, -34 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-item-background-clip-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-item-background-clip-expected.txt View 1 chunk +14 lines, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-list-box-with-height-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-list-box-with-height-expected.txt View 1 chunk +41 lines, -1 line 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-listbox-multiple-no-focusring-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select-listbox-multiple-no-focusring-expected.txt View 1 chunk +11 lines, -4 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select/listbox-appearance-basic-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select/optgroup-rendering-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M LayoutTests/platform/chromium-linux/fast/forms/select/optgroup-rendering-expected.txt View 1 chunk +58 lines, -9 lines 0 comments Download
M LayoutTests/platform/chromium-win/fast/forms/listbox-onchange-expected.txt View 1 chunk +0 lines, -14 lines 0 comments Download
M LayoutTests/platform/chromium-win/fast/forms/select/listbox-appearance-basic-expected.txt View 1 chunk +81 lines, -41 lines 0 comments Download
M Source/WebCore/accessibility/AccessibilityListBox.cpp View 2 chunks +16 lines, -16 lines 2 comments Download
M Source/WebCore/accessibility/AccessibilityListBoxOption.cpp View 1 chunk +4 lines, -4 lines 1 comment Download
M Source/WebCore/css/CSSValueKeywords.in View 2 chunks +4 lines, -0 lines 1 comment Download
M Source/WebCore/css/html.css View 1 chunk +30 lines, -13 lines 0 comments Download
M Source/WebCore/html/HTMLOptGroupElement.h View 2 chunks +6 lines, -9 lines 0 comments Download
M Source/WebCore/html/HTMLOptGroupElement.cpp View 5 chunks +80 lines, -35 lines 0 comments Download
M Source/WebCore/html/HTMLOptionElement.h View 3 chunks +2 lines, -11 lines 0 comments Download
M Source/WebCore/html/HTMLOptionElement.cpp View 7 chunks +33 lines, -49 lines 2 comments Download
M Source/WebCore/html/HTMLSelectElement.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M Source/WebCore/html/HTMLSelectElement.cpp View 1 10 chunks +42 lines, -19 lines 0 comments Download
M Source/WebCore/page/EventHandler.cpp View 1 5 chunks +15 lines, -22 lines 0 comments Download
M Source/WebCore/platform/ThemeTypes.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/WebCore/rendering/RenderListBox.h View 2 chunks +2 lines, -98 lines 0 comments Download
M Source/WebCore/rendering/RenderListBox.cpp View 1 2 5 chunks +2 lines, -775 lines 0 comments Download
M Source/WebCore/rendering/RenderTheme.cpp View 2 chunks +8 lines, -0 lines 0 comments Download
M Source/WebKit/chromium/public/WebColorName.h View 2 chunks +4 lines, -0 lines 0 comments Download
M Source/WebKit/chromium/src/WebColorName.cpp View 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
yosin_UTC9
I love to use shadow DOM for "select" element. https://codereview.chromium.org/14096013/diff/1/Source/WebCore/rendering/RenderListBox.cpp File Source/WebCore/rendering/RenderListBox.cpp (right): https://codereview.chromium.org/14096013/diff/1/Source/WebCore/rendering/RenderListBox.cpp#newcode110 Source/WebCore/rendering/RenderListBox.cpp:110: ...
7 years, 8 months ago (2013-04-17 04:00:04 UTC) #1
keishi
https://codereview.chromium.org/14096013/diff/1/Source/WebCore/rendering/RenderListBox.cpp File Source/WebCore/rendering/RenderListBox.cpp (right): https://codereview.chromium.org/14096013/diff/1/Source/WebCore/rendering/RenderListBox.cpp#newcode110 Source/WebCore/rendering/RenderListBox.cpp:110: void RenderListBox::computeLogicalHeight(LayoutUnit, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const On 2013/04/17 ...
7 years, 8 months ago (2013-04-17 07:18:34 UTC) #2
keishi
Some known issues: - Scrolls horizontally on auto scroll. - List box height is determined ...
7 years, 8 months ago (2013-04-17 07:27:49 UTC) #3
keishi
On 2013/04/17 07:27:49, keishi1 wrote: > Intentional changes from the existing one: Also baseline is ...
7 years, 8 months ago (2013-04-17 07:31:25 UTC) #4
tkent
You might want to update core/editing/TextIterator.* to avoid updating a lot of layout test results. ...
7 years, 8 months ago (2013-04-17 08:05:14 UTC) #5
ojan
Just a couple drive-by comments as I happened to glance at this review. Please give ...
7 years, 8 months ago (2013-04-22 07:55:56 UTC) #6
keishi
On 2013/04/22 07:55:56, ojan wrote: > Just a couple drive-by comments as I happened to ...
7 years, 8 months ago (2013-04-23 02:06:03 UTC) #7
yosin_UTC9
https://codereview.chromium.org/14096013/diff/9008/Source/WebCore/accessibility/AccessibilityListBox.cpp File Source/WebCore/accessibility/AccessibilityListBox.cpp (right): https://codereview.chromium.org/14096013/diff/9008/Source/WebCore/accessibility/AccessibilityListBox.cpp#newcode133 Source/WebCore/accessibility/AccessibilityListBox.cpp:133: // unsigned length = m_children.size(); You may forget to ...
7 years, 8 months ago (2013-04-23 03:43:25 UTC) #8
keishi
This is blocked by support for user agent stylesheet only CSS values. https://code.google.com/p/chromium/issues/detail?id=234270
7 years, 8 months ago (2013-04-23 09:42:51 UTC) #9
yosin_UTC9
https://codereview.chromium.org/14096013/diff/9008/Source/WebCore/html/HTMLOptionElement.cpp File Source/WebCore/html/HTMLOptionElement.cpp (right): https://codereview.chromium.org/14096013/diff/9008/Source/WebCore/html/HTMLOptionElement.cpp#newcode70 Source/WebCore/html/HTMLOptionElement.cpp:70: option->ensureUserAgentShadowRoot(); Can we postpone creating shadow root until this ...
7 years, 7 months ago (2013-05-01 01:38:21 UTC) #10
tkent
6 years, 3 months ago (2014-09-17 05:22:36 UTC) #11
This CL must be obsoleted.  Closing.

Powered by Google App Engine
This is Rietveld 408576698