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: -

    -
  1. Let offsetLeft equal to 0 and offsetTop equal to 0. -
  2. -
  3. - Let navigable be context's active document's - [=navigable/parent=]. -
  4. -
  5. Let parent navigable be navigable's parent.
  6. -
  7. If parent navigable is not null: -
      -
    1. Let parent context be parent navigable's - [=navigable/document=]'s [=document/browsing context=]. -
    2. -
    3. Let (parentOffsetLeft, parentOffsetTop) be the result of - [=get parent offset=] of parent context. -
    4. -
    5. Add parentOffsetLeft to offsetLeft.
    6. -
    7. Add parentOffsetTop to offsetTop.
    8. -
    9. Let containerElement be an element which navigable - container presents parent navigable. -
    10. -
    11. Let containerRect be the result of calling - {{Element/getBoundingClientRect()}} of containerElement. -
    12. -
    13. Let borderLeftWidth be the computed [=border-left-width=] - of containerElement in CSS pixels. -
    14. -
    15. Let borderTopWidth be the computed [=border-top-width=] of - containerElement in CSS pixels. -
    16. -
    17. Add containerRect.left + borderLeftWidth to - offsetLeft. -
    18. -
    19. Add containerRect.top + borderTopWidth to - offsetTop. -
    20. -
    -
  8. -
  9. Return (offsetLeft, offsetTop).
  10. -
- 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:
    -
  1. Let (parentOffsetLeft, parentOffsetTop) be the result of - [=get parent offset=] of browsing context.
  2. Run the substeps of the first matching value of origin

    @@ -8438,7 +8393,7 @@

    Processing actions

    -
  3. Return (x + parentOffsetLeft, y + parentOffsetTop) +

  4. 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]]