diff --git a/spec.bs b/spec.bs index b52c7e6..ee708bb 100644 --- a/spec.bs +++ b/spec.bs @@ -12,6 +12,7 @@ Abstract: in an always-on-top window.
+spec:dom; type:dfn; for:Document; text:mode spec:dom; type:dfn; text:origin spec:html; type:dfn; for:navigable; text:top-level traversable spec:html; type:dfn; for:Window; text:navigable @@ -203,9 +204,12 @@ specified for document picture-in-picture windows, to avoid further interop problems. -11. Set |pip traversable|'s Is Document Picture-in-Picture boolean to +11. Set |pip traversable|'s active document's mode to + this's relevant global object's associated Document's + mode. +12. Set |pip traversable|'s Is Document Picture-in-Picture boolean totrue
. -12. If |options|["{{DocumentPictureInPictureOptions/width}}"] exists and is +13. If |options|["{{DocumentPictureInPictureOptions/width}}"] exists and is greater than zero: 1. Optionally, clamp or ignore |options|["{{DocumentPictureInPictureOptions/width}}"] if it is too large or too small in order to fit a user-friendly window size. @@ -213,7 +217,7 @@ problems. window such that the distance between the left and right edges of the viewport are |options|["{{DocumentPictureInPictureOptions/width}}"] pixels. -13. If |options|["{{DocumentPictureInPictureOptions/height}}"] exists and is +14. If |options|["{{DocumentPictureInPictureOptions/height}}"] exists and is greater than zero: 1. Optionally, clamp or ignore |options|["{{DocumentPictureInPictureOptions/height}}"] if it is too large or too small in order to fit a user-friendly window size. @@ -224,10 +228,10 @@ problems. If |options|["{{DocumentPictureInPictureOptions/preferInitialWindowPlacement}}"] exists and is true, then the user agent may use this hint to prefer behavior -that is similar that is similar to steps 12 and 13, rather than considering any +that is similar that is similar to steps 13 and 14, rather than considering any previous position or size of any previously closed |pip traversable| window. -14. If |options|["{{DocumentPictureInPictureOptions/disallowReturnToOpener}}"] exists +15. If |options|["{{DocumentPictureInPictureOptions/disallowReturnToOpener}}"] exists and istrue
, the user agent should not display UI affordances on the picture-in-picture window that allow the user to return to the opener window.