Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
sadym-chromium committed Oct 23, 2024
1 parent 403bdbb commit 88e7b6b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8339,12 +8339,14 @@ <h3>Processing actions</h3>
input JSON, such that the actions to be performed in a single <a>tick</a>
are grouped together.

<p>To <dfn>get parent offset</dfn> of <var>context</var>:
<p>To <dfn>get parent offset</dfn> of <var>context</var>:
<ol class="algorithm">
<li>Let <var>offsetLeft</var> equal to 0 and <var>offsetTop</var> equal to 0.
</li>
Let <var>navigable</var> be <var>context</var>'s <a>active document</a>'s
[=navigable/parent=]. </p></li>
<li>
Let <var>navigable</var> be <var>context</var>'s <a>active document</a>'s
[=navigable/parent=].
</li>
<li>Let <var>parent navigable</var> be <var>navigable</var>'s parent.</li>
<li>If <var>parent navigable</var> is not null:
<ol>
Expand Down Expand Up @@ -8375,10 +8377,11 @@ <h3>Processing actions</h3>
<code>offsetTop</code>.
</li>
</ol>
</li>
<li>Return (<var>offsetLeft</var>, <var>offsetTop</var>).</li>
<span class=issue>TODO: clarify if the algo respect transforms?</span>
<span class=issue>TODO: respect iframe's viewport's intersections</span>
</ol>
</ol>
<span class=issue>TODO: clarify if the algo respect transforms?</span>
<span class=issue>TODO: respect iframe's viewport's intersections</span>

<p>To <dfn>get coordinates relative to an origin</dfn>
given <var>source</var>, <var>x offset</var>, <var>y offset</var>,
Expand Down

0 comments on commit 88e7b6b

Please sign in to comment.