惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Spread Privacy
Spread Privacy
V
Visual Studio Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Recorded Future
Recorded Future
云风的 BLOG
云风的 BLOG
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
Apple Machine Learning Research
Apple Machine Learning Research
MyScale Blog
MyScale Blog
M
MIT News - Artificial intelligence
WordPress大学
WordPress大学
Recent Announcements
Recent Announcements
V
V2EX
The GitHub Blog
The GitHub Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
小众软件
小众软件
aimingoo的专栏
aimingoo的专栏
V
Vulnerabilities – Threatpost
C
Check Point Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
AI
AI
宝玉的分享
宝玉的分享
P
Proofpoint News Feed
量子位
Attack and Defense Labs
Attack and Defense Labs
H
Hackread – Cybersecurity News, Data Breaches, AI and More
P
Privacy International News Feed
Google DeepMind News
Google DeepMind News
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
CERT Recently Published Vulnerability Notes
腾讯CDC
Latest news
Latest news
Google DeepMind News
Google DeepMind News
The Register - Security
The Register - Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
Blog — PlanetScale
Blog — PlanetScale
博客园_首页
美团技术团队
The Cloudflare Blog
T
Tenable Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
J
Java Code Geeks
SecWiki News
SecWiki News
Webroot Blog
Webroot Blog
N
News | PayPal Newsroom
博客园 - 叶小钗
博客园 - Franky

Recent Commits to fullscreen:main

Update popover references to new algorithms Add keyboard locking option Meta: update repository files Review Draft Publication: January 2026 Meta: fix link error Meta: link Korean translation Reference close request steps Review Draft Publication: July 2025 Fix dangling fullscreen flag when exiting a disconnected element Meta: disambiguate "document" for Bikeshed Meta: link Simplified Chinese translation Review Draft Publication: July 2024 Don't close ancestor popovers when fullscreening Meta: update repository files Meta: update repository files Review Draft Publication: July 2023 Remove top layer definitions, now that CSS Position 4 contains them Consume user activation in `element.requestFullscreen()` Review Draft Publication: January 2023
Hide popovers when making an element fullscreen · whatwg/fullscreen@afd56a3
josepharhar · 2023-05-22 · via Recent Commits to fullscreen:main
Original file line numberDiff line numberDiff line change

@@ -61,8 +61,16 @@ stated otherwise it is unset.

6161

<p>All <a for=/>documents</a> have an associated <dfn>list of pending fullscreen events</dfn>, which

6262

is an <a>ordered set</a> of (<a>string</a>, <a>element</a>) <a>tuples</a>. It is initially empty.

6363
64-

<p>To <dfn>fullscreen an <var>element</var></dfn>, set <var>element</var>'s <a>fullscreen flag</a>

65-

and <a for="top layer">add</a> it to its <a>node document</a>'s <a>top layer</a>.

64+

<p>To <dfn>fullscreen an <var>element</var></dfn>:

65+
66+

<ol>

67+

<li><p>Run <a>hide all popovers</a> given <var>element</var>'s <a>node document</a>.

68+
69+

<li><p>Set <var>element</var>'s <a>fullscreen flag</a>.

70+
71+

<li><p><a for="top layer">Add</a> <var>element</var> to <var>element</var>'s <a>node document</a>'s

72+

<a>top layer</a>.

73+

</ol>

6674
6775

<p>To <dfn>unfullscreen an <var>element</var></dfn>, unset <var>element</var>'s

6876

<a>fullscreen flag</a> and <a>iframe fullscreen flag</a> (if any), and <a for=set>remove</a> it from

@@ -230,6 +238,10 @@ if all of the following are true, and false otherwise:

230238

<li><p><var>element</var>'s <a>node document</a> is <a>allowed to use</a> the "<code><a

231239

data-lt="fullscreen-feature">fullscreen</a></code>" feature.

232240

<!-- cross-process, recursive -->

241+
242+

<li><p><var>element</var> <a for=Element>namespace</a> is not the <a>HTML namespace</a> or

243+

<var>element</var>'s <a>popover visibility state</a> is <a for="popover visibility

244+

state">hidden</a>.

233245

</ul>

234246
235247

<div algorithm="requestFullscreen(options)">