Skip to content

Commit f3ef898

Browse files
Merge pull request #243 from zcorpan/fire-resize-at-pipWindow
Fire resize event at the PictureInPictureWindow object
2 parents 13df9af + 3358a7b commit f3ef898

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

index.bs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,9 @@ be visible, even when the <a>Document</a> is not in focus or hidden. The user
299299
agent SHOULD provide a way for users to manually close the Picture-in-Picture
300300
window.
301301

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.
305305

306306
## One Picture-in-Picture window ## {#one-pip-window}
307307

@@ -417,9 +417,8 @@ The {{height}} attribute MUST return the height in <a lt=px value>CSS pixels</a>
417417
<a>Picture-in-Picture window</a> associated with {{pictureInPictureElement}} if
418418
the |state| is `opened`. Otherwise, it MUST return 0.
419419

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|.
423422

424423
## Event types ## {#event-types}
425424

0 commit comments

Comments
 (0)