mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Implement the layout of `<input type="range">`. Support automatically calculating the position of thumb based on the current input value, and the size of range-track and range-thumb. Added a document.has_script_or_layout_blocker function to detect whether it is possible to run box_area_query during bind_to_tree, add delay_task if there are blocker. Here are some of the fixes made in this PR: 1. Fixed the structure for input type range's pseudo elements. 2. Fixed the positioning of input type range's thumb based on current value, width, and direction. 3. Allow input type range to stretch vertically in a bigger container. Original PR: #41024 Stylo PR: https://github.com/servo/stylo/pull/310 Testing: Some improvements in WPT tests, with a few regressions. This change includes a Servo-specific appearance test to detect unexpected changes to the look and feel of range widgets. Fixes: #22728 --------- Signed-off-by: Budiman Arbenta <arbenta6@gmail.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: rayguo17 <tin.tun.aung1@huawei.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
3 lines
56 B
INI
Vendored
3 lines
56 B
INI
Vendored
[range-percent-intrinsic-size-2a.html]
|
|
expected: FAIL
|