mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
parent
3e17b1c9ae
commit
609d568776
Notes:
github-actions[bot]
2025-04-18 09:08:31 +00:00
Author: https://github.com/AtkinsSJ
Commit: 609d568776
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4324
3 changed files with 4 additions and 20 deletions
|
@ -3490,10 +3490,7 @@ bool Document::allow_focus() const
|
|||
if (is_allowed_to_use_feature(PolicyControlledFeature::FocusWithoutUserActivation))
|
||||
return true;
|
||||
|
||||
// FIXME: 2. If any of the following are true:
|
||||
// - target's relevant global object has transient user activation; or
|
||||
// - target's node navigable's container, if any, is marked as locked for focus,
|
||||
// then return true.
|
||||
// FIXME: 2. If target's relevant global object has transient activation, then return true.
|
||||
|
||||
// 3. Return false.
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue