Slider NG: Add slider thumb positioning logic
This CL ports LayoutSliderTrack::UpdateLayout() to LayoutNG. * Add NGLayoutInputNode::IsSliderThumb() - Add blink::IsSliderThumb() to shadow_element_utils.*. - Add two shadow pseudo names to shadow_element_names.json5. * In NGBlockLayoutAlgorithm, if a child is a slider thumb, apply positioning logic dedicated to slider thumbs. This CL has no behavior changes because input[type=range] still use the legacy layout. Bug: 1040826 Change-Id: Ie92272df888b063755a4686cd40f910e528d802d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2418136 Commit-Queue: Kent Tamura <tkent@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Auto-Submit: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#810128}
Showing
Please register or sign in to comment