mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
LibWeb+LibWebView+WebContent: Add support for <input type="color">
This commit introduces 3 things: - Support for the color type in HTMLInputElement itself - A mechanism for handling non event loop blocking dialogs in Page - The associated plumbing up to ViewImplementation Frontends may add support for the color picker with the ViewImplementation.on_request_color_picker function
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 09:37:30 +09:00
Author: https://github.com/circl-lastname Commit: https://github.com/SerenityOS/serenity/commit/2995a2e212 Pull-request: https://github.com/SerenityOS/serenity/pull/20951 Reviewed-by: https://github.com/AtkinsSJ ✅ Reviewed-by: https://github.com/trflynn89
@@ -85,6 +85,8 @@ public:
|
||||
|
||||
bool is_mutable() const { return m_is_mutable; }
|
||||
|
||||
void did_pick_color(Optional<Color> picked_color);
|
||||
|
||||
JS::GCPtr<FileAPI::FileList> files();
|
||||
void set_files(JS::GCPtr<FileAPI::FileList>);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user