mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
https://github.com/user-attachments/assets/9aba75ff-4190-4a85-89ed-d3f3aa53d3b0 Among other things this adds a new `EmbedderMsg::ShowSelectElementMenu` to tell the embedder to display a select popup at the given location. This is a draft because some small style adjustments need to be made: * the select element should always have the width of the largest option * the border should be part of the shadow tree Apart from that, it's mostly ready for review. <details><summary>HTML for demo video</summary> ```html <html> <body> <select id="c" name="choice"> <option value="first">First Value</option> <option value="second">Second Value</option> <option value="third">Third Value</option> </select> </body> </html> ``` </details> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] Part of https://github.com/servo/servo/issues/3551 - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> |
||
---|---|---|
.. | ||
docs | ||
dom | ||
layout_dom | ||
svgpath | ||
xpath | ||
animation_timeline.rs | ||
animations.rs | ||
body.rs | ||
build.rs | ||
canvas_context.rs | ||
canvas_state.rs | ||
Cargo.toml | ||
clipboard_provider.rs | ||
conversions.rs | ||
devtools.rs | ||
document_collection.rs | ||
document_loader.rs | ||
drag_data_store.rs | ||
fetch.rs | ||
iframe_collection.rs | ||
image_animation.rs | ||
init.rs | ||
layout_image.rs | ||
lib.rs | ||
links.rs | ||
mem.rs | ||
messaging.rs | ||
microtask.rs | ||
navigation.rs | ||
network_listener.rs | ||
realms.rs | ||
routed_promise.rs | ||
script_module.rs | ||
script_runtime.rs | ||
script_thread.rs | ||
security_manager.rs | ||
serviceworker_manager.rs | ||
stylesheet_loader.rs | ||
stylesheet_set.rs | ||
task.rs | ||
task_manager.rs | ||
task_queue.rs | ||
task_source.rs | ||
test.rs | ||
textinput.rs | ||
timers.rs | ||
unminify.rs | ||
webdriver_handlers.rs | ||
window_named_properties.rs |