-
Notifications
You must be signed in to change notification settings - Fork 4
/
602.txt
86 lines (62 loc) · 3.42 KB
/
602.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
* 仕様書
[REFS[
- [3] [CITE@en-US[CSSOM View Module]] ([TIME[2014-11-21 00:30:03 +09:00]] 版) <http://dev.w3.org/csswg/cssom-view/#scrolling-0>
]REFS]
* API
[11] [[スクロール位置]]を取得する [[API]]:
[FIG(short list)[
- [CODE(DOMa)@en[[[scrollTop]]]]
- [CODE(DOMa)@en[[[scrollLeft]]]]
]FIG]
[14] [[スクロール]]を発生させる [[API]]:
[FIG(short list)[
- [CODE(DOMm)@en[[[scrollIntoView]]]]
- [CODE(DOMm)@en[[[scrollIntoViewIfNeeded]]]]
- [[素片識別子]]
]FIG]
[16] [[スクロール]]挙動を制御する [[API]]:
[FIG(short list)[
- [CODE(CSS)@en[[[scroll]]]]
- [CODE(DOMa)@en[[[scrollRestoration]]]]
]FIG]
* スクロール手順
[4] [DFN[[RUBYB[[[スクロール手順を実行]]]@en[runthe scroll steps]]]] [SRC[>>3]]
* 利用者インターフェイス
[9]
[FIG(short list)[
- [[スクロールバー]]
- [[ホイール]]
- [[矢印キー]]
- [KBD[[[PageDown]]]]/[KBD[[[PageUp]]]]
]FIG]
[17] [[マウス]]や[[タッチパネル]]の[[ドラッグ]]で[[スクロール]]することがあります。
[10] [[マウス]]による[[文字列]]の選択で、表示領域の端に近づくと[[スクロール]]することがあります。
* スクロール可能領域
@@ [18] [[スクロール可能領域]]
* 状態の保存
[15] [[セッション履歴エントリー]]の情報の一部として[[スクロール位置]]が保存されることがあります。
自動的に復元するかどうかは[F[[[スクロール復元モード]]]]により決まります。
* 歴史
[8]
>
:スクロール (scroll):
[[表示面]]上の全体又は一部の[[図形]]を、
指定した[[方向]]に移動する動作。
([[JIS X 0211]]‐1994 4.2.64)
[7] [CITE[Webサイトに変なスクロール使うのをやめろ]]
( ([TIME[2014-01-29 08:37:30 +09:00]] 版))
<http://anond.hatelabo.jp/20140129084835>
[1] [CITE@en[Web Applications 1.0 r5581 body.onscroll maps to window.onscrollFixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10832]]
( ([TIME[2010-10-06 02:04:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=5580&to=5581>
[2] [CITE[Safari Web Content Guide: Handling Events]]
([TIME[2010-12-12 15:02:59 +09:00]] 版)
<http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW7>
[12] [CITE@en[Web Applications 1.0 r8385 Add an event index which acts as the definition of the event names, for editorial purposes (event names are really just strings, so they don't have, or need, a normative definition per se).]]
( ([TIME[2014-01-09 08:55:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8384&to=8385>
[13] [CITE@en[Web Applications 1.0 r8386 Turns out CSSOM already specifies resize and scroll events. Sweet.]]
( ([TIME[2014-01-09 16:29:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8385&to=8386>
[6] [CITE@en[Web Applications 1.0 r8849 Flesh out how rendering happens in the event loop. This also defines requestAnimationFrame() and obsoletes the 'Timing control for script-based animations' spec (by request of that spec's editors)]] ([TIME[2014-11-20 06:56:00 +09:00]] 版) <https://html5.org/r/8849>
[5] [CITE@en-US[csswg: changeset 14799:1e907e3ac50c]] ([TIME[2014-11-22 15:04:12 +09:00]] 版) <https://dvcs.w3.org/hg/csswg/rev/1e907e3ac50cf28bb21750d49d1229195e79d33c>