Fire resize event at the PictureInPictureWindow object · w3c/picture-in-picture@3358a7b
zcorpan
·
2026-01-30
·
via Recent Commits to picture-in-picture:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -299,9 +299,9 @@ be visible, even when the <a>Document</a> is not in focus or hidden. The user
|
299 | 299 | agent SHOULD provide a way for users to manually close the Picture-in-Picture |
300 | 300 | window. |
301 | 301 | |
302 | | -The Picture-in-Picture window visibility MUST NOT be taken into account by the |
303 | | -user agent to determine if the <a>system visibility state</a> of a |
304 | | -<a for="/">traversable navigable</a> has changed. |
| 302 | +The Picture-in-Picture window visibility MUST NOT be taken into account by the user agent to |
| 303 | +determine if the <a>system visibility state</a> of a <a for="/">traversable navigable</a> has |
| 304 | +changed. |
305 | 305 | |
306 | 306 | ## One Picture-in-Picture window ## {#one-pip-window} |
307 | 307 | |
@@ -417,9 +417,8 @@ The {{height}} attribute MUST return the height in <a lt=px value>CSS pixels</a>
|
417 | 417 | <a>Picture-in-Picture window</a> associated with {{pictureInPictureElement}} if |
418 | 418 | the |state| is `opened`. Otherwise, it MUST return 0. |
419 | 419 | |
420 | | -When the size of the <a>Picture-in-Picture window</a> associated with |
421 | | -{{pictureInPictureElement}} changes, the user agent MUST <a>queue a task</a> to |
422 | | -<a>fire an event</a> named {{resize}} at {{pictureInPictureElement}}. |
| 420 | +When the size of a <a>Picture-in-Picture window</a> |pipWindow| changes, the user agent MUST |
| 421 | +<a>queue a task</a> to <a>fire an event</a> named {{resize}} at |pipWindow|. |
423 | 422 | |
424 | 423 | ## Event types ## {#event-types} |
425 | 424 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。