Skip to content

Commit a5d32b9

Browse files
[HTML] Editorial: Fix typos + styling/consistency issues whatwg/html@fd08f81
1 parent fb84101 commit a5d32b9

28 files changed

Lines changed: 135 additions & 134 deletions

HTML-canvas-ja.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177

178178
●●options
179179

180-
spec_date:2025-05-23
180+
spec_date:2025-05-27
181181
trans_update:2025-05-24
182182
source_checked:240712
183183
page_state_key:HTML
@@ -2777,7 +2777,7 @@ <h4 title="The canvas element">4.12.5. `canvas^e 要素</h4>
27772777
`text/plain^c 資源~内の空~文字列
27782778
]を表現する最短な`~data-URL$を与える。)
27792779
2780-
If this canvas element's bitmap has no pixels (i.e. either its horizontal dimension or its vertical dimension is zero) then return the string "data:,". (This is the shortest data: URL; it represents the empty string in a text/plain resource.)
2780+
If this canvas element's bitmap has no pixels (i.e. either its horizontal dimension or its vertical dimension is zero), then return the string "data:,". (This is the shortest data: URL; it represents the empty string in a text/plain resource.)
27812781
</li>
27822782
<li>
27832783
%file ~LET `~bitmapを~fileとして直列化する$( コレの~bitmap, %type, %quality )
@@ -2792,7 +2792,7 @@ <h4 title="The canvas element">4.12.5. `canvas^e 要素</h4>
27922792
27932793
~RET `data:,^l
27942794
2795-
If file is null then return "data:,".
2795+
If file is null, then return "data:,".
27962796
</li>
27972797
<li>
27982798
~RET %file を表現している`~data-URL$
@@ -4748,7 +4748,7 @@ <h6 title="Line styles">4.12.5.1.4. 線~style</h6>
47484748
<li>
47494749
コレの`~dash~list$ ~SET %segments
47504750
4751-
Let the object's dash list be segments.
4751+
Set the object's dash list to segments.
47524752
</li>
47534753
</ol>
47544754
</div>
@@ -6372,15 +6372,15 @@ <h6 title="Text styles">4.12.5.1.5. ~text~style</h6>
63726372
If textAlign is left
63736373
If textAlign is start and direction is 'ltr'
63746374
If textAlign is end and direction is 'rtl'
6375-
Let the anchor point's horizontal position be the left edge of the inline box, and let physical alignment be left.
6375+
Set the anchor point's horizontal position to the left edge of the inline box, and let physical alignment be left.
63766376
63776377
If textAlign is right
63786378
If textAlign is end and direction is 'ltr'
63796379
If textAlign is start and direction is 'rtl'
6380-
Let the anchor point's horizontal position be the right edge of the inline box, and let physical alignment be right.
6380+
Set the anchor point's horizontal position to the right edge of the inline box, and let physical alignment be right.
63816381
63826382
If textAlign is center
6383-
Let the anchor point's horizontal position be half way between the left and right edges of the inline box, and let physical alignment be center.
6383+
Set the anchor point's horizontal position to half way between the left and right edges of the inline box, and let physical alignment be center.
63846384
</div>
63856385

63866386
</li>
@@ -6406,7 +6406,7 @@ <h6 title="Text styles">4.12.5.1.5. ~text~style</h6>
64066406
<td>
64076407
~fontの~em~boxの上端
64086408
6409-
Let the anchor point's vertical position be the top of the em box of the first available font of the inline box.
6409+
Set the anchor point's vertical position to the top of the em box of the first available font of the inline box.
64106410

64116411
<tr><td>
64126412
`hanging$l
@@ -6415,7 +6415,7 @@ <h6 title="Text styles">4.12.5.1.5. ~text~style</h6>
64156415
<td>
64166416
~fontの `hanging$bL 基底線
64176417
6418-
Let the anchor point's vertical position be the hanging baseline of the first available font of the inline box.
6418+
Set the anchor point's vertical position to the hanging baseline of the first available font of the inline box.
64196419

64206420
<tr><td>
64216421
`middle$l
@@ -6424,7 +6424,7 @@ <h6 title="Text styles">4.12.5.1.5. ~text~style</h6>
64246424
<td>
64256425
~fontの~em~boxの下端と上端の中点
64266426
6427-
Let the anchor point's vertical position be half way between the bottom and the top of the em box of the first available font of the inline box.
6427+
Set the anchor point's vertical position to half way between the bottom and the top of the em box of the first available font of the inline box.
64286428

64296429
<tr><td>
64306430
`alphabetic$l
@@ -6433,7 +6433,7 @@ <h6 title="Text styles">4.12.5.1.5. ~text~style</h6>
64336433
<td>
64346434
~fontの `alphabetic$bL 基底線
64356435
6436-
Let the anchor point's vertical position be the alphabetic baseline of the first available font of the inline box.
6436+
Set the anchor point's vertical position to the alphabetic baseline of the first available font of the inline box.
64376437

64386438
<tr><td>
64396439
`ideographic$l
@@ -6442,7 +6442,7 @@ <h6 title="Text styles">4.12.5.1.5. ~text~style</h6>
64426442
<td>
64436443
~fontの `ideographic-under$bL 基底線
64446444
6445-
Let the anchor point's vertical position be the ideographic-under baseline of the first available font of the inline box.
6445+
Set the anchor point's vertical position to the ideographic-under baseline of the first available font of the inline box.
64466446

64476447
<tr><td>
64486448
`bottom$l
@@ -6451,7 +6451,7 @@ <h6 title="Text styles">4.12.5.1.5. ~text~style</h6>
64516451
<td>
64526452
~fontの~em~boxの下端
64536453
6454-
Let the anchor point's vertical position be the bottom of the em box of the first available font of the inline box.
6454+
Set the anchor point's vertical position to the bottom of the em box of the first available font of the inline box.
64556455
</table>
64566456

64576457
</li>
@@ -7011,7 +7011,7 @@ <h6 title="Building paths">4.12.5.1.6. ~pathの築き方</h6>
70117011
<li>
70127012
`下位pathありを確保する$( コレの`~path$, %CP )
70137013
7014-
Ensure there is a subpath for (cpx, cpy)
7014+
Ensure there is a subpath for (cpx, cpy).
70157015
</li>
70167016
<li>
70177017
コレの`~path$を成す最後の下位pathに
@@ -9057,7 +9057,7 @@ <h6 title="Fill and stroke styles">4.12.5.1.10. ~fill~style, ~stroke~style</h6>
90579057
半径 %r0, %r1 のいずれかが負な場合、
90589058
`IndexSizeError$E 例外が投出される。
90599059
9060-
If either of the radii are negative, throws an "IndexSizeError" DOMException exception.
9060+
If either of the radii are negative, throws an "IndexSizeError" DOMException.
90619061
</dd>
90629062

90639063
<dt>%gradient = %context.`createConicGradient(startAngle, x, y)$2d</dt>
@@ -10131,10 +10131,10 @@ <h6 title="Drawing text to the bitmap">4.12.5.1.12. ~bitmapへの~textの描法<
1013110131
~RET `新たな~obj$( `TextMetrics$I )
1013210132
1013310133
その各~memberは、
10134-
( %text, %行内~box ) を利用して下に述べるように挙動するとする
10134+
( %text, %行内~box ) を利用して以下に述べるとおりに挙動するとする
1013510135
`CSS$r
1013610136
10137-
using the returned inline box must return a new TextMetrics object with members behaving as described in the following list: [CSS]
10137+
using the returned inline box return a new TextMetrics object with members behaving as described in the following list: [CSS]
1013810138
</li>
1013910139
</ol>
1014010140

@@ -13445,7 +13445,7 @@ <h5 title="The OffscreenCanvas interface">4.12.5.3. `OffscreenCanvas^I ~interfac
1344513445
`継承した言語$ofC ~SET %~data保持体 . `Language^sl,
1344613446
`継承した方向$ofC ~SET %~data保持体 . `Direction^sl
1344713447
13448-
Set value's inherited language to dataHolder.[[Language]] and inherited direction to dataHolder.[[Direction]].
13448+
Set value's inherited language to dataHolder.[[Language]] and its inherited direction to dataHolder.[[Direction]].
1344913449
</li>
1345013450
<li>
1345113451
~IF[

HTML-custom-ja.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166

167167
●●options
168168

169-
spec_date:2025-04-29
169+
spec_date:2025-05-27
170170
trans_update:2025-04-30
171171
source_checked:250314
172172
page_state_key:HTML
@@ -5249,7 +5249,7 @@ <h4 title="Element internals">4.13.7. 要素の内部特能</h4>
52495249
52505250
~THROW `NotSupportedError$E
52515251
5252-
If definition is null, then throw an "NotSupportedError" DOMException.
5252+
If definition is null, then throw a "NotSupportedError" DOMException.
52535253
</li>
52545254
<li>
52555255
~IF[
@@ -5267,7 +5267,7 @@ <h4 title="Element internals">4.13.7. 要素の内部特能</h4>
52675267
52685268
~THROW `NotSupportedError$E
52695269
5270-
If this's attached internals is non-null, then throw an "NotSupportedError" DOMException.
5270+
If this's attached internals is non-null, then throw a "NotSupportedError" DOMException.
52715271
</li>
52725272
<li>
52735273
~IF[
@@ -5756,7 +5756,7 @@ <h5 title="Form-associated custom elements">4.13.7.3. ~formに所有され得る
57565756
<li>
57575757
%要素 の`提出~値$cF ~SET %value
57585758
5759-
Set target element's submission value to value if value is not a FormData object, or to a clone of value's entry list otherwise.
5759+
Set element's submission value to value if value is not a FormData object, or to a clone of value's entry list otherwise.
57605760
</li>
57615761
<li>
57625762
~IF[

HTML-dependencies-ja.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136

137137
●●options
138138

139-
spec_date:2025-05-19
139+
spec_date:2025-05-27
140140
trans_update:2025-05-19
141141
source_checked:240619
142142
page_state_key:HTML
@@ -2210,14 +2210,14 @@ <h4 title="Dependencies">2.1.9. 依存関係</h4>
22102210
<li id="js-hostgetcodeforeval">`HostGetCodeForEval@https://tc39.es/proposal-dynamic-code-brand-checks/#sec-hostgetcodeforeval$jA 抽象-演算
22112211
</ul>
22122212
2213-
Users agents that support JavaScript must also implement the Dynamic Code Brand Checks proposal. The following terms are defined there, and used in this specification: [JSDYNAMICCODEBRANDCHECKS]
2213+
User agents that support JavaScript must also implement the Dynamic Code Brand Checks proposal. The following terms are defined there, and used in this specification: [JSDYNAMICCODEBRANDCHECKS]
22142214
• The HostEnsureCanCompileStrings abstract operation
22152215
• The HostGetCodeForEval abstract operation
22162216
</li>
22172217
<li>
22182218
`ECMAScript Internationalization API^cite `JSINTL$r
22192219
2220-
Users agents that support JavaScript must also implement ECMAScript Internationalization API. [JSINTL]
2220+
User agents that support JavaScript must also implement ECMAScript Internationalization API. [JSINTL]
22212221
</li>
22222222
<li>
22232223
<p>

HTML-dnd-ja.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147

148148
●●options
149149

150-
spec_date:2025-05-15
150+
spec_date:2025-05-27
151151
trans_update:2025-01-16
152152
source_checked:240712
153153
page_state_key:HTML
@@ -1619,7 +1619,7 @@ <h4 title="The DataTransfer interface">6.11.3. `DataTransfer^I ~interface</h4>
16191619
</li>
16201620
</ol>
16211621
1622-
On setting, if drag data store's mode is the read/write mode and the new value is one of "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", or "uninitialized", then the attribute's current value must be set to the new value. Otherwise, it must be left unchanged.
1622+
On setting, if the drag data store's mode is the read/write mode and the new value is one of "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", or "uninitialized", then the attribute's current value must be set to the new value. Otherwise, it must be left unchanged.
16231623
</li>
16241624
</ul>
16251625

HTML-document-lifecycle-ja.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101

102102
●●options
103103

104-
spec_date:2025-04-30
104+
spec_date:2025-05-27
105105
trans_update:2025-04-30
106106
source_checked:221101
107107
page_state_key:HTML
@@ -1095,7 +1095,7 @@ <h4 title="Shared document creation infrastructure">7.5.1. 共用~文書~作成~
10951095
allow declarative shadow roots
10961096
• true
10971097
custom element registry
1098-
A new CustomElementRegistry object.
1098+
a new CustomElementRegistry object
10991099
</li>
11001100
<li>
11011101
%~window に`結付けられた文書$ ~SET %文書

HTML-document-sequences-ja.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173

174174
●●options
175175

176-
spec_date:2025-05-12
176+
spec_date:2025-05-27
177177
trans_update:2025-05-14
178178
source_checked:221101
179179
page_state_key:HTML
@@ -3835,7 +3835,7 @@ <h5 title="Creating browsing contexts">7.3.2.1. 閲覧~文脈の作成-法</h5>
38353835
allow declarative shadow roots
38363836
• true
38373837
custom element registry
3838-
A new CustomElementRegistry object.
3838+
a new CustomElementRegistry object
38393839
</li>
38403840
<li>
38413841
<p>

HTML-dom-ja.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152

153153
●●options
154154

155-
spec_date:2025-05-15
155+
spec_date:2025-05-27
156156
trans_update:2025-04-16
157157
source_checked:240712
158158
page_state_key:HTML
@@ -9387,7 +9387,7 @@ <h4 title="The innerText and outerText properties">3.2.7. `innerText^m, `outerTe
93879387
%~box は`塊~level$であり、
93889388
その子~boxは,通常通り`置換され$ない`塊~level$の`~CSS~box$である。
93899389
9390-
option element have an associated non-replaced block-level CSS box whose child boxes are as normal for non-replaced block-level CSS boxes.
9390+
option elements have an associated non-replaced block-level CSS box whose child boxes are as normal for non-replaced block-level CSS boxes.
93919391
</li>
93929392
</ul>
93939393

HTML-dynamic-markup-insertion-ja.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116

117117
●●options
118118

119-
spec_date:2025-02-28
119+
spec_date:2025-05-27
120120
trans_update:2025-03-01
121121
source_checked:240415
122122
page_state_key:HTML
@@ -670,7 +670,7 @@ <h4 title="Opening the input stream">8.4.1. 入力~streamの~open法</h4>
670670
671671
~THROW `InvalidStateError$E
672672
673-
If document is an XML document, then throw an "InvalidStateError" DOMException exception.
673+
If document is an XML document, then throw an "InvalidStateError" DOMException.
674674
</li>
675675
<li>
676676
~IF[
@@ -974,7 +974,7 @@ <h4 title="Opening the input stream">8.4.1. 入力~streamの~open法</h4>
974974
975975
~THROW `InvalidAccessError$E
976976
977-
If this is not fully active, then throw an "InvalidAccessError" DOMException exception.
977+
If this is not fully active, then throw an "InvalidAccessError" DOMException.
978978
</li>
979979
<li>
980980
~RET
@@ -1111,7 +1111,7 @@ <h4 title="document.write()">8.4.3. `document.write()^c</h4>
11111111
<strong>これらすべての理由から、
11121112
この~methodは利用しないことが強く奨励される。</strong>
11131113
1114-
This method has very idiosyncratic behavior. In some cases, this method can affect the state of the HTML parser while the parser is running, resulting in a DOM that does not correspond to the source of the document (e.g. if the string written is the string "&lt;plaintext&gt;" or "&lt;!--"). In other cases, the call can clear the current page first, as if document.open() had been called. In yet more cases, the method is simply ignored, or throws an exception. Users agents are explicitly allowed to avoid executing script elements inserted via this method. And to make matters even worse, the exact behavior of this method can in some cases be dependent on network latency, which can lead to failures that are very hard to debug. For all these reasons, use of this method is strongly discouraged.
1114+
This method has very idiosyncratic behavior. In some cases, this method can affect the state of the HTML parser while the parser is running, resulting in a DOM that does not correspond to the source of the document (e.g. if the string written is the string "&lt;plaintext&gt;" or "&lt;!--"). In other cases, the call can clear the current page first, as if document.open() had been called. In yet more cases, the method is simply ignored, or throws an exception. User agents are explicitly allowed to avoid executing script elements inserted via this method. And to make matters even worse, the exact behavior of this method can in some cases be dependent on network latency, which can lead to failures that are very hard to debug. For all these reasons, use of this method is strongly discouraged.
11151115
</dd>
11161116
<dd>
11171117
次の場合、
@@ -2041,7 +2041,7 @@ <h4 title="The innerHTML property">8.5.4. `innerHTML^m ~prop</h4>
20412041
%element を~XMLへ直列化できない場合には,
20422042
`InvalidStateError$E 例外を投出する。
20432043
2044-
In the case of an XML document, throws a "InvalidStateError" DOMException if the element cannot be serialized to XML.
2044+
In the case of an XML document, throws an "InvalidStateError" DOMException if the element cannot be serialized to XML.
20452045
</dd>
20462046

20472047
<dt>%element.`innerHTML$m = %value</dt>
@@ -2319,7 +2319,7 @@ <h4 title="The outerHTML property">8.5.5. `outerHTML^m ~prop</h4>
23192319
%element を~XMLに直列化できない場合,
23202320
`InvalidStateError$E 例外が投出される。
23212321
2322-
In the case of an XML document, throws a "InvalidStateError" DOMException if the element cannot be serialized to XML.
2322+
In the case of an XML document, throws an "InvalidStateError" DOMException if the element cannot be serialized to XML.
23232323
</dd>
23242324

23252325
<dt>%element.`outerHTML$m = %value</dt>
@@ -2673,7 +2673,7 @@ <h4 title="The insertAdjacentHTML() method">8.5.6. `insertAdjacentHTML()^m ~meth
26732673
26742674
%文脈 ~SET `要素を作成する$( コレの`~node文書$, `body^l, `~HTML名前空間$ )
26752675
2676-
set context to the result of creating an element given this's node document, "body", and the HTML namespace.
2676+
then set context to the result of creating an element given this's node document, "body", and the HTML namespace.
26772677
</p>
26782678
</li>
26792679
<li>

HTML-embed-ja.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122

123123
●●options
124124

125-
spec_date:2025-05-12
125+
spec_date:2025-05-27
126126
trans_update:2025-05-14
127127
source_checked:220227
128128
page_state_key:HTML
@@ -1713,7 +1713,7 @@ <h4 title="The iframe element">4.8.5. `iframe^e 要素</h4>
17131713
◎終
17141714
に対し:
17151715
1716-
To navigate an iframe or frame given an element element, a URL url, a referrer policy referrerPolicy, an optional string-or-null srcdocString (default null), and an optional boolean initalInsertion (default false):
1716+
To navigate an iframe or frame given an element element, a URL url, a referrer policy referrerPolicy, an optional string-or-null srcdocString (default null), and an optional boolean initialInsertion (default false):
17171717
</p>
17181718
<ol>
17191719
<li>
@@ -2664,7 +2664,7 @@ <h4 title="The iframe element">4.8.5. `iframe^e 要素</h4>
26642664
26652665
~RET コレの`内容~文書$
26662666
2667-
The contentDocument getter steps are to return the this's content document.
2667+
The contentDocument getter steps are to return this's content document.
26682668
</div>
26692669

26702670
<div class="algo">

0 commit comments

Comments
 (0)