Skip to content

Commit 2d3c2a9

Browse files
[HTML] 諸々の編集
1 parent a95f3b1 commit 2d3c2a9

File tree

1 file changed

+80
-61
lines changed

1 file changed

+80
-61
lines changed

HTML-obsolete-ja.html

+80-61
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,16 @@
5050
return `<var>${match.slice(1)}</var>`;
5151
}
5252

53-
let text = key;
5453
let href = '';
54+
let href1 = '';
55+
{
56+
const n = key.indexOf('@');
57+
if(n > 0) {
58+
href1 = key.slice(n + 1);
59+
key = key.slice(0, n);
60+
}
61+
}
62+
let text = key;
5563

5664
switch(klass){
5765
case 'r': // ref
@@ -80,7 +88,7 @@
8088
}
8189

8290
if(indicator !== '^'){
83-
href = link_map[ klass ? `${klass}.${key}` : key ] || href;
91+
href = href1 || link_map[ klass ? `${klass}.${key}` : key ] || href;
8492
if(!href){
8593
console.log(match); // check error
8694
return match;
@@ -198,7 +206,7 @@
198206
includes:
199207
progressive:
200208
server-side::::サーバ側
201-
逆語:opposite term:逆向きの語
209+
逆語:opposite term:逆向きな語
202210
export:
203211
keypair:
204212

@@ -210,10 +218,8 @@
210218
持続的:persistent:~
211219
各種部品:various invariant parts:~
212220

213-
●指示語
214-
一定の:certain:~
215-
216-
古い:old:
221+
~HTML言語:the language
222+
旧い:old
217223
-:begin
218224
箇所ごと:each time
219225
まるごと:altogether
@@ -630,7 +636,7 @@ <h3 title="Obsolete but conforming features">16.1. 廃用にされたが適合
630636
If the attribute is present, its value must not be the empty string and must neither be equal to the value of any of the IDs in the element's tree other than the element's own ID, if any, nor be equal to the value of any of the other name attributes on a elements in the element's tree. If this attribute is present and the element has an ID, then the attribute's value must be equal to the element's ID.\
631637
</li>
632638
<li>
633-
この言語の早期~versionにおいては、
639+
~HTML言語の早期~versionにおいては、
634640
この属性は,`~URL$内の`素片$url用にアリな~targetを指定する仕方として意図されていた。
635641
それには、
636642
代わりに `id$a 属性を利用するベキである。
@@ -640,10 +646,10 @@ <h3 title="Obsolete but conforming features">16.1. 廃用にされたが適合
640646
</ul>
641647

642648
<p>
643-
作者は、
644-
`input$e 要素のうち
645-
`~typeI$a 属性は `Number$st 状態にあるもの
646-
649+
作者は、
650+
`input$e 要素のうち
651+
その `~typeI$a 属性の状態 ~EQ `Number$st
652+
を満たすものには,
647653
`maxlength$a / `size$a
648654
]属性を指定するベキではない。
649655
が、
@@ -662,14 +668,15 @@ <h4 title="Warnings for obsolete but conforming features">16.1.1. 廃用にさ
662668
663669
HTML4 Transitional 文書から `この仕様^emに定義される言語への移行を容易にする
664670
]ため,および[
665-
ごく少数の状況下に限って許容される,一定の特能
671+
ごく少数の状況下に限って許容される,ある種の特能
666672
]を忌避するため、
667673
適合性~検査器は,[
668-
以下に挙げる特能が文書~内に利用されている場合には
674+
以下に挙げる特能が文書~内に利用された場合には
669675
利用者に警告する
670676
]モノトスル。
671-
これらは一般に,廃用にされた[
672-
古い, かつ効果がない特能
677+
これらは、
678+
一般に,廃用にされた[
679+
旧い, かつ効果が無い特能
673680
]であり、[
674681
何かの残滓による~markupか、
675682
滅多にない実施で,忌避されるもの
@@ -703,9 +710,9 @@ <h4 title="Warnings for obsolete but conforming features">16.1.1. 廃用にさ
703710
<li>
704711
`script$e 要素の `language$a0 属性
705712
— [
706-
その値は `~ASCII大小無視$で文字列 `JavaScript^l に合致する
707-
, かつ
708-
要素は `~typeS$a 属性を有さないか,有していて, その値は`~ASCII大小無視$で文字列 `text/javascript^l に合致する
713+
その値は`~ASCII大小無視$ `JavaScript^l に合致する
714+
~AND
715+
要素は `~typeS$a 属性を有さないか,有していて, その値は`~ASCII大小無視$ `text/javascript^l に合致する
709716
]ならば。
710717
711718
The presence of a language attribute on a script element if its value is an ASCII case-insensitive match for the string "JavaScript" and if there is no type attribute or there is and its value is an ASCII case-insensitive match for the string "text/javascript".
@@ -719,7 +726,7 @@ <h4 title="Warnings for obsolete but conforming features">16.1.1. 廃用にさ
719726
</li>
720727
<li>
721728
`style$e 要素の `type$a0 属性
722-
— その値は `text/css$l に `~ASCII大小無視$で合致するならば
729+
— その値は`~ASCII大小無視$で `text/css$l に合致するならば
723730
724731
The presence of a type attribute on a style element if its value is an ASCII case-insensitive match for "text/css".
725732
</li>
@@ -746,16 +753,19 @@ <h4 title="Warnings for obsolete but conforming features">16.1.1. 廃用にさ
746753
<p>
747754
適合性~検査器は、
748755
適合性~errorとは別に,
749-
上述した廃用にされた特能が含まれない~pageと含まれる~pageとを判別するモノトスル。
756+
上述した廃用にされた特能を[
757+
含まない~page, 含む~page
758+
]を判別するモノトスル。
750759
751760
Conformance checkers must distinguish between pages that have no conformance errors and have none of these obsolete features, and pages that have no conformance errors but do have some of these obsolete features.
752761
</p>
753762

754763
<p class="example">
755-
例えば検証器は、
756-
ある~pageに対しては “妥当な~HTML” ,
757-
別の~pageに対しては “警告を伴う妥当な~HTML”
758-
であるものと報告することもできる。
764+
検証器は、
765+
例えば,[
766+
ある~pageに対しては “妥当な~HTMLである”,
767+
別の~pageに対しては “警告を伴う妥当な~HTMLである”
768+
]と報告することもできる。
759769
760770
For example, a validator could report some pages as "Valid HTML" and others as "Valid HTML with warnings".
761771
</p>
@@ -896,18 +906,19 @@ <h4>16.2.1. 適合しない要素</h4>
896906

897907
<dt>`plaintext@e</dt>
898908
<dd>
899-
代わりに,`~MIME型$
900-
<a href="~RFCx/rfc2046#section-4.1.3">`text/plain^l</a>
901-
を利用すること。
909+
代わりに,`~MIME型$ `text/plain@~RFCx/rfc2046#section-4.1.3$l を利用すること。
902910
903911
Use the "text/plain" MIME type instead.
904912
</dd>
905913

906914
<dt>`rb@e</dt>
907915
<dt>`rtc@e</dt>
908916
<dd>
909-
~ruby基底を `ruby$e 要素の内側に直に供するか、
910-
`ruby$e 要素を入子にすることで足りる。
917+
918+
~ruby基底を `ruby$e 要素の内側に直に供する
919+
]か[
920+
`ruby$e 要素を入子にする
921+
]ことで足りる。
911922
912923
Providing the ruby base directly inside the ruby element or using nested ruby elements is sufficient.
913924
</dd>
@@ -924,10 +935,11 @@ <h4>16.2.1. 適合しない要素</h4>
924935

925936
<dt>`xmp@e</dt>
926937
<dd>
927-
代わりに
938+
代わりに
928939
`pre$e か `code$e
929-
]を利用することに加え,文字[
930-
`&lt;^l / `&amp;^l
940+
]を利用すること。
941+
文字[
942+
`&lt;^l / `&amp;^l
931943
]は[
932944
`&amp;lt;^l / `&amp;amp;^l
933945
]に~escapeすること。
@@ -954,17 +966,17 @@ <h4>16.2.1. 適合しない要素</h4>
954966
</dd>
955967
<dd>
956968
`tt$e 要素が[
957-
~keyboard入力 / 変数 / ~computer~code~computer出力
969+
~keyboard入力/変数/~computer~code~computer出力
958970
]を~mark-upするために利用されていた所では、[
959971
`kbd$e / `var$e / `code$e / `samp$e
960972
]要素を考慮すること。
961973
962974
Where the tt element would have been used for marking up keyboard input, consider the kbd element; for variables, consider the var element; for computer code, consider the code element; and for computer output, consider the samp element.
963975
</dd>
964976
<dd>
965-
同様に、
977+
類似に,
966978
`big$e 要素が[
967-
見出しを表す重要な一節を~mark-upする参照-目的で~textを強調する
979+
見出しを表す重要な一節を~mark-upする参照-目的で~textを強調する
968980
]ために利用されていた所では、[
969981
`h1$e / `strong$e / `mark$e
970982
]要素の利用を考慮すること。
@@ -973,8 +985,8 @@ <h4>16.2.1. 適合しない要素</h4>
973985
</dd>
974986
<dd>
975987
~text-levelの意味論の
976-
<a href="~HTMLLS/text-level-semantics.html#usage-summary">§ 用法の要覧</a>
977-
988+
`§ 用法の要覧@~HTMLLS/text-level-semantics.html#usage-summary$
989+
にて
978990
例も伴われた更なる示唆を見れる。
979991
980992
See also the text-level semantics usage summary for more suggestions with examples.
@@ -989,12 +1001,15 @@ <h4>16.2.2. 適合しない属性</h4>
9891001
次の表tの 1 列目に挙げる要素には,同じ行の 2 列目に挙げる属性が定義されていたが、
9901002
それらの属性は廃用にされた
9911003
— 作者は、
992-
利用してはナラナイ(要素は依然として この言語の一部を成すが)。
1004+
利用してはナラナイ
1005+
(それでも、
1006+
当の要素は,~HTML言語の一部を成すが)。
9931007
ただし、[
994-
<a href="#warnings-for-obsolete-but-conforming-features">§ 廃用にされたが適合する特能に対する警告</a>
995-
にて注記した条件を満たす場合
996-
<!-- (except as noted in the previous section) -->
997-
]は除く(以下では, ※ が付与される):
1008+
`§ 廃用にされたが適合する特能に対する警告@#warnings-for-obsolete-but-conforming-features$
1009+
にて注記した条件
1010+
]を満たす場合は除く
1011+
【!(except as noted in the previous section)】
1012+
(以下では, ※ が付与される):
9981013
9991014
The following attributes are obsolete (though the elements are still part of the language), and must not be used by authors:
10001015
</p>
@@ -1019,10 +1034,11 @@ <h4>16.2.2. 適合しない属性</h4>
10191034
<tr><td>`script$e
10201035
<td>`charset@a0※
10211036
<td>
1022-
属性は省略すること。
1023-
文書, ~script両者とも,`~UTF-8$を利用することが要求されるので、
1024-
それを `script$e 要素に指定するのは冗長になる
1025-
— それは文書から継承されるので。
1037+
この属性は省略すること。
1038+
1039+
文書, ~script
1040+
]どちらにも`~UTF-8$を利用することが要求され,それは文書から継承されるので、
1041+
それを `script$e 要素に指定することは冗長になる。
10261042
10271043
charset on script elements (except as noted in the previous section)
10281044
• Omit the attribute. Both documents and scripts are required to use UTF-8, so it is redundant to specify it on the script element since it inherits from the document.
@@ -1103,8 +1119,8 @@ <h4>16.2.2. 適合しない属性</h4>
11031119
<td>`hreflang@a0,
11041120
`type@a0
11051121
<td>
1106-
これらの属性は有用なことは何もせず
1107-
歴史的な理由から,対応する~IDL属性も `area$e 要素にはない
1122+
これらの属性は,有用なことは何もせず
1123+
歴史的な理由から,対応する~IDL属性も `area$e 要素には無い
11081124
これらは、
11091125
まるごと省略すること。
11101126
@@ -1115,7 +1131,7 @@ <h4>16.2.2. 適合しない属性</h4>
11151131
<tr><td>`area$e
11161132
<td>`nohref@a0
11171133
<td>
1118-
`href$a 属性を省略すれば足る
1134+
`href$a 属性を省略することで足る
11191135
不必要なので、
11201136
まるごと省略すること。
11211137
@@ -1134,7 +1150,7 @@ <h4>16.2.2. 適合しない属性</h4>
11341150
<tr><td>`html$e
11351151
<td>`manifest@a0
11361152
<td>
1137-
代わりに~swを利用すること。
1153+
代わりに~swを利用すること。
11381154
`SW$r
11391155
11401156
manifest on html elements
@@ -1154,7 +1170,9 @@ <h4>16.2.2. 適合しない属性</h4>
11541170
<td>
11551171
不必要なので、
11561172
まるごと省略すること。
1157-
`input$e 要素のうち,その `~typeI$a 属性が `Image$st 状態にあるものは、
1173+
`input$e 要素のうち[
1174+
その `~typeI$a 属性の状態 ~EQ `Image$st
1175+
]を満たすものは、
11581176
すべて,~server-side画像~mapとして処理される。
11591177
11601178
ismap on input elements
@@ -1237,7 +1255,7 @@ <h4>16.2.2. 適合しない属性</h4>
12371255
<tr><td>`meta$e
12381256
<td>`scheme@a0
12391257
<td>
1240-
~fieldごとに~schemeを 1 つだけを利用するか
1258+
~fieldごとに~schemeを 1 つだけ利用するか
12411259
~scheme宣言を値の一部にすること。
12421260
12431261
scheme on meta elements
@@ -1264,7 +1282,7 @@ <h4>16.2.2. 適合しない属性</h4>
12641282
<tr><td>`object$e
12651283
<td>`declare@a0
12661284
<td>
1267-
資源を再利用する箇所ごとに、
1285+
資源を再利用する各~箇所に,
12681286
`object$e 要素を完全に繰返すこと。
12691287
12701288
declare on object elements
@@ -1292,9 +1310,9 @@ <h4>16.2.2. 適合しない属性</h4>
12921310
<td>`language@a0※
12931311
<td>
12941312
~JS用には、
1295-
属性は省略すること
1313+
この属性は省略すること
12961314
`~data~block$用には、
1297-
代わりに `~typeS$a 属性を利用すること。
1315+
代わりに `~typeS$a 属性を利用すること。
12981316
12991317
language on script elements (except as noted in the previous section)
13001318
• Omit the attribute for JavaScript; for data blocks, use the type attribute instead.
@@ -1336,7 +1354,7 @@ <h4>16.2.2. 適合しない属性</h4>
13361354
<td>`summary@a0
13371355
<td>
13381356
代わりに,§ `table$e にて与えた
1339-
<a href="~HEtables#table-descriptions-techniques">§ ~tableを記述するための技法</a>
1357+
`§ ~tableを記述するための技法@~HEtables#table-descriptions-techniques$
13401358
のいずれかを利用すること。
13411359
13421360
summary on table elements
@@ -1346,12 +1364,13 @@ <h4>16.2.2. 適合しない属性</h4>
13461364
<td>`abbr@a0
13471365
<td>
13481366
利用する~textを,一義的かつ簡素な方式で始めて、
1349-
より詳しい~textは その後に含ませること
1350-
より詳細な~textを含ませるときは
1367+
より詳しい~textは その後に含めること
1368+
より詳細な~textを含めるときは
13511369
`title$a 属性が有用になり得る
13521370
— そうすれば~cellの内容を簡素にできる。
13531371
見出し~cellであった場合は、
1354-
`th$e を利用すること(それには `abbr$a 属性がある)。
1372+
`th$e を利用すること
1373+
(それには `abbr$a 属性がある)。
13551374
13561375
abbr on td elements
13571376
• Use text that begins in an unambiguous and terse manner, and include any more elaborate text after that. The title attribute can also be useful in including more detailed text, so that the cell's contents can be made terse. If it's a heading, use th (which has an abbr attribute).
@@ -1368,7 +1387,7 @@ <h4>16.2.2. 適合しない属性</h4>
13681387
<tr><td>`td$e
13691388
<td>`scope@a0
13701389
<td>
1371-
見出し~cellに対しては `th$e 要素を利用すること。
1390+
見出し~cell用には `th$e 要素を利用すること。
13721391
13731392
scope on td elements
13741393
• Use th elements for heading cells.

0 commit comments

Comments
 (0)