-
Notifications
You must be signed in to change notification settings - Fork 4
/
228.txt
109 lines (82 loc) · 5.19 KB
/
228.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
* HTML における章節構造
[14] [[章節]]を表す次の[[要素]]があります。
[FIG(short list)[
- [CODE(HTMLe)@en[[[section]]]]
- [CODE(HTMLe)@en[[[aside]]]]
- [CODE(HTMLe)@en[[[article]]]]
- [CODE(HTMLe)@en[[[body]]]]
- [CODE(HTMLe)@en[[[nav]]]]
]FIG]
[15] 関連して次の[[要素]]があります。
[FIG(short list)[
- [CODE(HTMLe)@en[[[h1]]]]
- [CODE(HTMLe)@en[[[hgroup]]]]
- [CODE(HTMLe)@en[[[header]]]]
- [CODE(HTMLe)@en[[[footer]]]]
- [CODE(HTMLe)@en[[[div]]]]
]FIG]
[21] [[アウトライン]]の記述手法として [[XOXO]] があります。
[22] 外部ファイルの[[アウトライン]]を表す[[リンク型]] [CODE[outline][rel=outline]]
があります。
[23] [[CSS]] の [CODE['outline']] は[[章節構造]]とは無関係です。
* 歴史
[1]
[CITE[HTML 5 Outline Tester]] ([CODE[2008-03-05 19:53:50 +09:00]] 版) <http://james.html5.org/outliner.html>
[20] [CITE[IRC logs: freenode / #whatwg / 20090822]]
([TIME[2009-10-12 23:10:23 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20090822#l-263>
[2]
[CITE@en[Re: several messages about <section>, <p>, <hr>, and related subjects]] ([[Ian Hickson]] 著, [TIME[2008-02-27 16:17:56 +09:00]] 版) <http://lists.w3.org/Archives/Public/public-html/2008Feb/0369.html>
[3] [CITE[IRC logs: freenode / #whatwg / 20090817]]
([TIME[2009-10-11 15:59:52 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20090817#l-371>
[4] [CITE[HTML5 のセクションアウトラインを取得する JavaScript - IT戦記]]
([TIME[2009-09-14 15:48:59 +09:00]] 版)
<http://d.hatena.ne.jp/amachang/20090914/1252897184>
[5] [CITE[''''''[''''''whatwg'''''']'''''' Various threads with feedback on HTML elements]]
( ([TIME[2013-10-16 00:30:44 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-October/041109.html>
[6] [CITE@en[Web Applications 1.0 r8357 Make the outline algorithm easier to edit by making it all explicit steps and breaking out the (currently still identical) steps for entering sectioning content vs sectioning roots.]]
( ([TIME[2013-12-17 07:30:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8356&to=8357>
[7] [CITE@en[Web Applications 1.0 r8358 Make the outline algorithm handle sectioning roots more sensibly]]
( ([TIME[2013-12-17 07:44:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8357&to=8358>
[8] [CITE@en[Web Applications 1.0 r8649 Make the outline algorithm also associate text nodes and comments with the sections]]
( ([TIME[2014-05-24 05:05:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8648&to=8649>
[9] [CITE@en[Web Applications 1.0 r8698 Add a section encouraging user agents (especially ATs) to expose the outline and headings]]
( ([TIME[2014-08-02 08:14:00 +09:00]] 版))
<http://html5.org/r/8698>
[10] [CITE@ja[HTML5 Outliner - Chrome ウェブストア]]
([TIME[2015-02-14 15:19:56 +09:00]] 版)
<https://chrome.google.com/webstore/detail/html5-outliner/afoibpobokebhgfnknfndkgemglggomo/>
[11] [CITE[HTML5 のセクションアウトラインを生成してみよう! - IT戦記]]
([TIME[2009-09-16 07:45:42 +09:00]] 版)
<http://d.hatena.ne.jp/amachang/20090915/1252999677>
[12] [CITE@en[Suggest adding a warning about outline algorithm · Issue #83 · whatwg/html]]
([TIME[2015-09-02 11:17:08 +09:00]] 版)
<https://github.com/whatwg/html/issues/83>
[13] [CITE[IRC logs: freenode / #whatwg / 20090902]]
([TIME[2009-10-17 01:14:24 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20090902#l-168>
[16] [CITE[IRC logs: freenode / #whatwg / 20090906]]
([TIME[2009-10-17 22:08:59 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20090906#l-236>
[17] [[tantek]] は [CODE[#whatwg]] で、アウトラインは [CODE[longdesc]]
と同じく失敗だった、と言っている。[[著者]]は [CODE[h[VAR[n]]]]
をブラウザーでどう表示されるかしか気にせず使うし、
[CODE[div]] と [CODE[section]] と [CODE[article]] の違いもわかりゃしない。
[[AT]] が正しく[[見出し]]レベルを[[レンダリング]]するためにアウトラインが必要とかいうけど、
そもそもみんな正しく使ってないんだから役に立たないだろ、と。
[TIME[2017-02-28T16:06:51.000Z]]
[18] [[SGML]] の[[付番]]の時代から始まって、 [[HTML2]]、[[HTML4]]、
[[ISO-HTML]]、[[HTML5]] と章節の入れ子の扱いは[[マーク付け言語]]の設計者を引きつける伝統的な重大テーマなんですよね。
でも世間では設計者の思った通りには使ってもらえない。
そういう世間とマーク付け言語設計者の世界との乖離を解決していくのが [[WA1]] 時代前半のテーマの1つで、
[[SGML]] からの卒業、 [CODE[longdesc]] の廃止、[[互換モード]]の[[標準化]]、
[[内容モデル]]制約の緩和、と順番に片付けていったはずなのだけど、今なお未解決のまま残されているのがこれ、
という見方ができるわけだ。
[19] [CITE@en[HTML outline bookmarklet http://www.whatwg.org/specs/web-apps/current-work/#headings-and-sections]]
([TIME[2018-08-20 15:22:25 +09:00]])
<https://gist.github.com/wakaba/7887273>