mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
LibWeb: Implement basic focus indication for :focus-visible
This causes links to no longer show an outline when clicked; only when using keyboard navigation with the tab key will the outline show up.
This commit is contained in:
parent
66813aea79
commit
15c436b332
Notes:
github-actions[bot]
2025-06-13 15:40:20 +00:00
Author: https://github.com/gmta
Commit: 15c436b332
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5074
3 changed files with 39 additions and 2 deletions
|
@ -272,6 +272,7 @@ public:
|
|||
|
||||
virtual void did_receive_focus() { }
|
||||
virtual void did_lose_focus() { }
|
||||
bool should_indicate_focus() const;
|
||||
|
||||
static GC::Ptr<Layout::NodeWithStyle> create_layout_node_for_display_type(DOM::Document&, CSS::Display const&, GC::Ref<CSS::ComputedProperties>, Element*);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue