diff --git a/index.html b/index.html index 86484a4..08dc5d5 100644 --- a/index.html +++ b/index.html @@ -39,6 +39,21 @@ xref: ["dom", "html", "geometry-1"], }; +
Window
interface
This document extends the Window
- interface defined by [[!HTML]].
+ interface defined by [[HTML]].
partial interface Window { @@ -118,7 +133,7 @@Extensions to the
Window
interface
VisualViewport
interfaceA VisualViewport object represents the visual viewport for a window's @@ -291,35 +306,34 @@
VisualViewport
interface
- The user agent must fire an Event
- named resize
at the VisualViewport object if any
- of its height, width, or scale attributes change
- (e.g. in response to user interaction, scrollbars
- appearing/disappearing). The resize event must not bubble and must
- not be cancellable.
-
- These events follow the procedure defined in - section 12.1 of the - CSSOM View module. -
-
- The user agent must fire an Event named scroll
- at the VisualViewport object if either of its offsetTop
- or offsetLeft attributes change (e.g in response to user
- interaction, by an API, or by the resize of the visual viewport). The
- scroll event must not bubble and must not be cancellable.
-
- These events follow the procedure defined in - section 12.2 - of the CSSOM View module. -
+Events
sectionAppend following step as the last step of run the resize steps:
+resize
at the doc's associated Window's
+ VisualViewport.
+ Replace step 1.1 of run the scroll steps with:
+
+ If target is a Document, fire an event named scroll that bubbles at target.
+
target
is a Document, fire an event named scroll
that
+ bubbles at target
. Then, fire an event named scroll
at the
+ VisualViewport of the Document's associated Window.
+