From 05c4e75ec5882cb1c32fc447608adb5ca460d7c9 Mon Sep 17 00:00:00 2001
From: Maksim Sadym
Date: Thu, 24 Oct 2024 10:24:22 +0200
Subject: [PATCH] define iframe events dispatching implementation-specific
---
index.html | 63 +++---------------------------------------------------
1 file changed, 3 insertions(+), 60 deletions(-)
diff --git a/index.html b/index.html
index a4cf0cb1..88e3beb0 100644
--- a/index.html
+++ b/index.html
@@ -2212,8 +2212,8 @@ Sessions
browsing context, which is set to the parent of the current
browsing context when changing browsing contexts, and an
associated current top-level browsing context, which is
- set to the [=browsing context/top-level browsing context=] of the
- current browsing context, when changing browsing contexts.
+ set to the top-browsing context ancestor of the current browsing
+ context, when changing browsing contexts.
An HTTP session has an associated session
timeouts which is a timeouts configuration. This is
@@ -8339,49 +8339,6 @@
Processing actions
input JSON, such that the actions to be performed in a single tick
are grouped together.
- To get parent offset of context:
-
- - Let offsetLeft equal to 0 and offsetTop equal to 0.
-
- -
- Let navigable be context's active document's
- [=navigable/parent=].
-
- - Let parent navigable be navigable's parent.
- - If parent navigable is not null:
-
- - Let parent context be parent navigable's
- [=navigable/document=]'s [=document/browsing context=].
-
- - Let
(parentOffsetLeft, parentOffsetTop)
be the result of
- [=get parent offset=] of parent context.
-
- - Add
parentOffsetLeft
to offsetLeft
.
- - Add
parentOffsetTop
to offsetTop
.
- - Let containerElement be an element which navigable
- container presents parent navigable.
-
- - Let
containerRect
be the result of calling
- {{Element/getBoundingClientRect()}} of containerElement.
-
- - Let
borderLeftWidth
be the computed [=border-left-width=]
- of containerElement
in CSS pixels.
-
- - Let
borderTopWidth
be the computed [=border-top-width=] of
- containerElement
in CSS pixels.
-
- - Add
containerRect.left
+ borderLeftWidth
to
- offsetLeft
.
-
- - Add
containerRect.top
+ borderTopWidth
to
- offsetTop
.
-
-
-
- - Return (offsetLeft, offsetTop).
-
- TODO: clarify if the algo respect transforms?
- TODO: respect iframe's viewport's intersections
To get coordinates relative to an origin
given source, x offset, y offset,
@@ -8389,8 +8346,6 @@
Processing actions
options:
- - Let
(parentOffsetLeft, parentOffsetTop)
be the result of
- [=get parent offset=] of browsing context.
Run the substeps of the first matching value
of origin
@@ -8438,7 +8393,7 @@ Processing actions
- Return (x + parentOffsetLeft, y + parentOffsetTop)
+
Return (x, y)
To extract an action sequence given
@@ -11760,7 +11715,6 @@
Index
Dirty value flag
Actually disabled
Document readiness
- Browsing context
Element contexts
Enumerated attribute
Event loop
@@ -11772,8 +11726,6 @@ Index
Joint session history
Mature navigation.
Mutable
- Document
- Parent
Navigate
Origin-clean
An overridden reload
@@ -11919,15 +11871,6 @@ Index
CSS pixels
- The following properties are defined in
- the CSS Backgrounds and Borders Module Level 3: [[CSS3-BACKGROUND]]
-
-
-
The following properties are defined in
the CSS Basic Box Model Level 3 specification: [[CSS3-BOX]]