Skip to content

Commit

Permalink
[URL] 編集(更新漏れ/原文テキストなど
Browse files Browse the repository at this point in the history
  • Loading branch information
triple-underscore committed Dec 3, 2024
1 parent cb4b5c1 commit 8a42d7f
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions URL-ja.html
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
spec_title:URL
spec_date:2024-12-02
trans_update:2024-12-03
source_checked:221209
source_checked:241202
spec_status:LS
original_url:https://url.spec.whatwg.org/
ref_id_prefix:biblio-
Expand Down Expand Up @@ -1328,7 +1328,7 @@ <h2 title="Infrastructure">1. 基盤</h2>
<p>
この仕様は `Infra^cite `INFRA$r に依存する。
This specification depends on the Infra. [INFRA]
This specification depends on Infra. [INFRA]
</p>

<div class="p">
Expand Down Expand Up @@ -2931,7 +2931,7 @@ <h3 title="Host representation">3.1. ~host表現</h3>
`~IPv6~address$の
`~piece群@
とも称される,[
8 個の`16 ~bitな無符号~整数$
8 個の `16 ~bitな無符号~整数$
]が成す`~list$で構成される。
`RFC4291$r
Expand Down Expand Up @@ -3885,7 +3885,8 @@ <h3 title="Host parsing">3.5. ~hostの構文解析-法</h3>
</li>
<li>
%最後の~index ~LET %番号~list の`~size$ ~MINUS 1
</li>
</li>
<li>
<p>
範囲 { 0 〜 %最後の~index } を成す
Expand Down Expand Up @@ -6244,10 +6245,10 @@ <h3 title="URL writing">4.3. ~URLの書出法</h3>
the empty string
</li>
<li>
10 進数で ( 2 の 16 乗 ) 未満の数を表現している
1 個以上の`~ASCII数字$たちが成す並び
1 個以上の`~ASCII数字$たちが成す並びであって
10 進数で `16 ~bitな無符号~整数$を表現しているもの
one or more ASCII digits representing a decimal number no greater than 216 − 1.
one or more ASCII digits representing a decimal number that is a 16-bit unsigned integer.
</li>
</ul>
</div>
Expand Down Expand Up @@ -8082,13 +8083,13 @@ <h3 title="URL parsing">4.4. ~URLの構文解析-法</h3>
</li>
<li>
~IF[
%~port ~GTE ( 2 の 16 乗 )
%~port は `16 ~bitな無符号~整数$でない
⇒#
`検証~error$( `port-out-of-range$err );
~RET `失敗^i
If port is greater than 216 − 1, port-out-of-range validation error, return failure.
If port is not a 16-bit unsigned integer, port-out-of-range validation error, return failure.
</li>
<li>
%~URL の`~port$url ~SET [
Expand Down Expand Up @@ -10135,7 +10136,7 @@ <h3 title="URL class">6.1. `URL^I ~class</h3>
</p>

<pre class="lang-js">
var %url = new URL(`🏳🌈^l, new URL(`https://pride.example/hello-world^l));
var %url = new URL(`🌈^l, new URL(`https://pride.example/hello-world^l));
%url.pathname // `/%F0%9F%8F%B3%EF%B8%8F%E2%80%8D%F0%9F%8C%88^l
</pre>
</div>
Expand Down

0 comments on commit 8a42d7f

Please sign in to comment.