dispatch steps on a browsing contextcontext,
and a list of events and their properties. These steps
must be equivalent to performing the given input device manipulations
- on context, such that trusted events corresponding to the
- entries in list of eventsare dispatched.
+ on the top-browsing context ancestor of the context, such
+ that trusted events corresponding to the entries in list of events
+ are dispatched.
content observable effects that must be consistent across
implementations. To accommodate this, the specification requires
that remote ends perform implementation-specific action
- dispatch steps on a top-level browsing context of
+ dispatch steps on a [=browsing context/top-level browsing context=] of
context, and a list of events and their properties.
These steps must be equivalent to performing the given input device
- manipulations on the top-level browsing context of the
+ manipulations on the [=browsing context/top-level browsing context=] of the
context, such that trusted events corresponding to the entries in
list of events are dispatched.
@@ -11743,7 +11743,7 @@
content observable effects that must be consistent across
implementations. To accommodate this, the specification requires
that remote ends perform implementation-specific action
- dispatch steps on a [=browsing context/top-level browsing context=] of
- context, and a list of events and their properties.
- These steps must be equivalent to performing the given input device
- manipulations on the [=browsing context/top-level browsing context=] of the
- context, such that trusted events corresponding to the entries in
+ dispatch steps on a context, and a list of events
+ and their properties. These steps must be equivalent to performing the given
+ input device manipulations on the
+ [=browsing context/top-level browsing context=] of the context,
+ such that trusted events corresponding to the entries in
list of events are dispatched.
+
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 result of
+ [=get parent offset=] of parent context.
+
The following properties are defined in
the CSS Basic Box Model Level 3 specification: [[CSS3-BOX]]
From 403bdbbc393a25660a0aef8e117dcf7ab68d3079 Mon Sep 17 00:00:00 2001
From: Maksim Sadym
Date: Wed, 23 Oct 2024 15:37:58 +0200
Subject: [PATCH 05/10] add todo
---
index.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 3c484036..cf642e8c 100644
--- a/index.html
+++ b/index.html
@@ -8376,7 +8376,8 @@
Processing actions
Return (offsetLeft, offsetTop).
- The algo does not respect transforms
+ TODO: clarify if the algo respect transforms?
+ TODO: respect iframe's viewport's intersections
To get coordinates relative to an origin
From 88e7b6bdf3b9617008ab80ca8aa8239fd2cc97e2 Mon Sep 17 00:00:00 2001
From: Maksim Sadym
Date: Wed, 23 Oct 2024 15:59:22 +0200
Subject: [PATCH 06/10] fix check
---
index.html | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/index.html b/index.html
index cf642e8c..2bccf0d7 100644
--- a/index.html
+++ b/index.html
@@ -8339,12 +8339,14 @@
Processing actions
input JSON, such that the actions to be performed in a single tick
are grouped together.
-
To get parent offset of context:
+
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 navigable be context's active document's
+ [=navigable/parent=].
+
Let parent navigable be navigable's parent.
If parent navigable is not null:
@@ -8375,10 +8377,11 @@
Processing actions
offsetTop.
+
Return (offsetLeft, offsetTop).
- TODO: clarify if the algo respect transforms?
- TODO: respect iframe's viewport's intersections
-
+
+ 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,
From adf94adc5169fdf963461f5469fa37fb937c9548 Mon Sep 17 00:00:00 2001
From: Maksim Sadym <69349599+sadym-chromium@users.noreply.github.com>
Date: Thu, 24 Oct 2024 10:08:40 +0200
Subject: [PATCH 07/10] Update index.html
Co-authored-by: Alex Rudenko
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 2bccf0d7..cf229ec7 100644
--- a/index.html
+++ b/index.html
@@ -8389,7 +8389,7 @@
Processing actions
options:
-
Let (parentOffsetLeft, parentOffsetTop) be result of
+
Let (parentOffsetLeft, parentOffsetTop) be the result of
[=get parent offset=] of browsing context.
Run the substeps of the first matching value
of origin
From 6cdef6547f61860c1647030d5704e50cb2389281 Mon Sep 17 00:00:00 2001
From: Maksim Sadym <69349599+sadym-chromium@users.noreply.github.com>
Date: Thu, 24 Oct 2024 10:08:47 +0200
Subject: [PATCH 08/10] Update index.html
Co-authored-by: Alex Rudenko
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index cf229ec7..d8aa0d8a 100644
--- a/index.html
+++ b/index.html
@@ -8353,7 +8353,7 @@
Processing actions
Let parent context be parent navigable's
[=navigable/document=]'s [=document/browsing context=].
-
Let (parentOffsetLeft, parentOffsetTop) be result of
+
Let (parentOffsetLeft, parentOffsetTop) be the result of
[=get parent offset=] of parent context.
Add parentOffsetLeft to offsetLeft.
From b8987a12c473d808b7f02410ef6efd9a4dbd333b Mon Sep 17 00:00:00 2001
From: Maksim Sadym
Date: Thu, 24 Oct 2024 10:17:03 +0200
Subject: [PATCH 09/10] get back missed type
---
index.html | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/index.html b/index.html
index d8aa0d8a..a4cf0cb1 100644
--- a/index.html
+++ b/index.html
@@ -8286,12 +8286,12 @@
Ticks
content observable effects that must be consistent across
implementations. To accommodate this, the specification requires
that remote ends perform implementation-specific action
- dispatch steps on a context, and a list of events
- and their properties. These steps must be equivalent to performing the given
- input device manipulations on the
- [=browsing context/top-level browsing context=] of the context,
- such that trusted events corresponding to the entries in
- list of events are dispatched.
+ dispatch steps on a browsing contextcontext,
+ and a list of events and their properties. These steps
+ must be equivalent to performing the given input device manipulations
+ on the [=browsing context/top-level browsing context=] of the
+ context, such that trusted events corresponding to the
+ entries in list of events are dispatched.