You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need the bug URL (OOPS!).
Reviewed by NOBODY (OOPS!).
This reserves list() for use in bindings, and dataList() for internal use.
Once referenceTarget is implemented, dataList() will be used to retrieve the list-associated element, which may be inside a shadow root, while list() may return null (see WICG/webcomponents#1072 for discussion). hasDataList() checks whether a list-associated element is present, without risking leaking shadow root internals inappropriately.
* Source/WebCore/html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::list const):
(WebCore::HTMLInputElement::hasDataList const):
* Source/WebCore/html/HTMLInputElement.h:
* Source/WebCore/html/TextFieldInputType.cpp:
(WebCore::TextFieldInputType::handleClickEvent):
(WebCore::TextFieldInputType::showPicker):
(WebCore::TextFieldInputType::createShadowSubtree):
(WebCore::TextFieldInputType::didSetValueByUserEdit):
(WebCore::TextFieldInputType::dataListMayHaveChanged):
(WebCore::TextFieldInputType::dataListButtonElementWasClicked):
* Source/WebCore/html/shadow/SliderThumbElement.cpp:
(WebCore::RenderSliderContainer::computeLogicalHeight const):
* Source/WebCore/rendering/RenderTheme.cpp:
(WebCore::RenderTheme::hasListButton const):
0 commit comments