Skip to content

Commit

Permalink
Fix thresholds definition to match browsers.
Browse files Browse the repository at this point in the history
SHA: e1c3797
Reason: push, by emilio

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
emilio and github-actions[bot] committed Oct 3, 2023
1 parent 2a3c58e commit 99ff89e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
<link href="https://www.w3.org/TR/intersection-observer/" rel="canonical">
<meta content="33a62118b05482cc1fc9e8c0c81c2e7fb08b8855" name="document-revision">
<meta content="e1c37975ea6072a5d9a5563dc9f85dd230b26f66" name="document-revision">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down Expand Up @@ -868,7 +868,7 @@
<div class="head">
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
<h1 class="p-name no-ref" id="title">Intersection Observer</h1>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2023-09-29">29 September 2023</time></p>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2023-10-03">3 October 2023</time></p>
<details open>
<summary>More details about this document</summary>
<div data-fill-with="spec-metadata">
Expand All @@ -878,7 +878,7 @@ <h1 class="p-name no-ref" id="title">Intersection Observer</h1>
<dt>Latest published version:
<dd><a href="https://www.w3.org/TR/intersection-observer/">https://www.w3.org/TR/intersection-observer/</a>
<dt>Previous Versions:
<dd><a href="https://www.w3.org/TR/2023/WD-intersection-observer-20230914/" rel="prev">https://www.w3.org/TR/2023/WD-intersection-observer-20230914/</a>
<dd><a href="https://www.w3.org/TR/2023/WD-intersection-observer-20230929/" rel="prev">https://www.w3.org/TR/2023/WD-intersection-observer-20230929/</a>
<dt>Test Suite:
<dd><a href="http://w3c-test.org/intersection-observer/">http://w3c-test.org/intersection-observer/</a>
<dt>Feedback:
Expand Down Expand Up @@ -1168,7 +1168,8 @@ <h3 class="heading settled" data-level="2.2" id="intersection-observer-interface
where each threshold is a ratio of intersection area to bounding box area
of an observed target. Notifications for a target are generated when any
of the thresholds are crossed for that target.
If no <var>options</var>.<code class="idl"><a data-link-type="idl" href="#dom-intersectionobserverinit-threshold" id="ref-for-dom-intersectionobserverinit-threshold①">threshold</a></code> was provided to the <code class="idl"><a data-link-type="idl" href="#intersectionobserver" id="ref-for-intersectionobserver①④">IntersectionObserver</a></code> constructor, the value of this attribute will be [0].</p>
If no <var>options</var>.<code class="idl"><a data-link-type="idl" href="#dom-intersectionobserverinit-threshold" id="ref-for-dom-intersectionobserverinit-threshold①">threshold</a></code> was provided to the <code class="idl"><a data-link-type="idl" href="#intersectionobserver" id="ref-for-intersectionobserver①④">IntersectionObserver</a></code> constructor, or the sequence is empty, the value
of this attribute will be [0].</p>
</dl>
</div>
<p>An <code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#element" id="ref-for-element⑦">Element</a></code> is defined as having a <dfn class="dfn-paneled" data-dfn-for="IntersectionObserver" data-dfn-type="dfn" data-noexport id="intersectionobserver-content-clip">content clip</dfn> if its computed style has <a data-link-type="dfn" href="https://drafts.csswg.org/css-overflow-3/#overflow-properties" id="ref-for-overflow-properties">overflow properties</a> that cause its content to be clipped to the element’s padding edge.</p>
Expand Down

0 comments on commit 99ff89e

Please sign in to comment.