mirror of
https://github.com/servo/servo
synced 2026-04-27 18:07:52 +02:00
servoshell: Implement context menu in servoshell (#40434)
This PR adds context menu support with clickable menu items in the Minibrowser. The menu appears on right click and supports basic navigation actions (Back, Forward, Reload). Testing: We already have tests for ContextMenu in WebView API test. Signed-off-by: atbrakhi <atbrakhi@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
@@ -223,6 +223,7 @@ impl HTMLTextAreaElement {
|
||||
insertion_point: self.GetSelectionEnd(),
|
||||
multiline: false,
|
||||
}),
|
||||
None,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user