Skip to content

Commit 062c459

Browse files
Merge branch 'main' into overflow-clip-dfn
2 parents e89f811 + cac7ad2 commit 062c459

File tree

10 files changed

+429
-221
lines changed

10 files changed

+429
-221
lines changed

.github/workflows/auto-publish.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
on:
3+
pull_request: {}
4+
push:
5+
branches: [main]
6+
jobs:
7+
main:
8+
name: Build, Validate, Deploy
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: w3c/spec-prod@v2
13+
with:
14+
GH_PAGES_BRANCH: gh-pages
15+
TOOLCHAIN: bikeshed
16+
BUILD_FAIL_ON: "link-error"
17+
W3C_NOTIFICATIONS_CC: ${{ secrets.CC }}
18+
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }}
19+
W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-webapps/2014JulSep/0627.html
20+
W3C_BUILD_OVERRIDE: |
21+
status: WD
22+
shortname: intersection-observer

.travis.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

deploy.sh

Lines changed: 0 additions & 76 deletions
This file was deleted.

deploy_key.enc

-3.17 KB
Binary file not shown.

explainer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This repo outlines an API that can be used to understand movement of DOM element
66

77
## Observing Position
88

9-
The web's traditional position calculation mechanisms rely on explicit queries of DOM state. Some of these are known to cause style recalcuation and layout and, frequently, are redundant thanks to the requirement that scripts poll for this information.
9+
The web's traditional position calculation mechanisms rely on explicit queries of DOM state. Some of these are known to cause style recalculation and layout and, frequently, are redundant thanks to the requirement that scripts poll for this information.
1010

1111
A body of common practice has evolved that relies on these behaviors, however, including (but not limited to):
1212

@@ -164,7 +164,7 @@ function init() {
164164
// Notify when a scroll-item gets within, or moves beyond, 500px from the visible scroll surface.
165165
var opts = {
166166
root: document.querySelector(".container"),
167-
rootMargin: "500px 0px"
167+
rootMargin: "500px 0px"
168168
};
169169
var observer = new IntersectionObserver(manageItemPositionChanges, opts);
170170
// Set up observer on the items

0 commit comments

Comments
 (0)