Skip to content

Commit 4509edb

Browse files
[HTML] Upstream the Sanitizer API whatwg/html@e1f2525
1 parent 70a25a9 commit 4509edb

30 files changed

Lines changed: 6914 additions & 4722 deletions

404.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,16 @@ <h2 id="pages-deleted">削除されたページ</h2>
126126
</p>
127127
</dd>
128128

129+
<dt>
130+
HTML Sanitizer API
131+
( html-sanitizer-api-ja.html )
132+
</dt>
133+
<dd>
134+
ほぼすべての内容が,
135+
<a href="HTML-dynamic-markup-insertion-ja.html">HTML に取り込まれた</a>ので、
136+
除去しました。
137+
</dd>
138+
129139
<dt>
130140
Page Visibility Level 2
131141
( page-visibility-ja.html )

HTML-canvas-ja.html

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

178178
●●options
179179

180-
spec_date:2025-11-24
181-
trans_update:2025-11-24
180+
spec_date:2026-06-03
181+
trans_update:2026-06-10
182182
source_checked:240712
183183
page_state_key:HTML
184184
spec_status:LS
@@ -227,6 +227,7 @@
227227
a:code
228228
U:span
229229
st:i
230+
san:i
230231
sl:span
231232
op:span
232233
p:code
@@ -693,8 +694,7 @@
693694
et.contextlost:~HTMLindex#event-contextlost
694695
et.contextrestored:~HTMLindex#event-contextrestored
695696

696-
●CSS
697-
697+
●css
698698
p.border-radius:~CSSBORDER#propdef-border-radius
699699
p.direction:~CSSWM#propdef-direction
700700
p.font:~CSSFONT#propdef-font
@@ -758,6 +758,9 @@
758758
jA.IsDetachedBuffer:~TC39#sec-isdetachedbuffer
759759
sl.Detached:~HTMLcloning#detached
760760

761+
●定数
762+
san.未分類:~HTMLdynamic#sanitizer-uncategorized
763+
761764
●用語
762765

763766
~2D描画~文脈:#_2d-rendering-context
@@ -890,6 +893,7 @@
890893
内容~model:~HTMLdom#concept-element-content-model
891894
この要素を利用できる文脈:~HTMLdom#concept-element-contexts
892895
~accessibilityの考慮点:~HTMLdom#concept-element-accessibility-considerations
896+
無毒化:~HTMLdom#concept-element-sanitization
893897
~DOM~interface:~HTMLdom#concept-element-dom
894898
~flow内容:~HTMLdom#flow-content-2
895899
大域~属性:~HTMLdom#global-attributes
@@ -1686,6 +1690,7 @@
16861690
透過的:transparent::~
16871691
可触:palpable::~
16881692
句ng:phrasing::
1693+
無毒化:sanitization::~
16891694
固定-:fix::~
16901695
超過-:exceed::~
16911696
消費:consumption::~
@@ -1996,6 +2001,13 @@ <h4 title="The canvas element">4.12.5. `canvas^e 要素</h4>
19962001
19972002
For authors.
19982003
For implementers.
2004+
</dd>
2005+
2006+
<dt>`無毒化$</dt>
2007+
<dd>
2008+
`未分類$san
2009+
2010+
Uncategorized.
19992011
</dd>
20002012

20012013
<dt>`~DOM~interface$</dt>
@@ -8765,7 +8777,7 @@ <h6 title="Fill and stroke styles">4.12.5.1.10. ~fill~style, ~stroke~style</h6>
87658777
%値 は文字列である
87668778
]:
87678779
8768-
If the given value is a string, then:
8780+
If the given value is a string:
87698781
</p>
87708782
<ol>
87718783
<li>
@@ -8874,7 +8886,7 @@ <h6 title="Fill and stroke styles">4.12.5.1.10. ~fill~style, ~stroke~style</h6>
88748886
%値 は文字列である
88758887
]:
88768888
8877-
If the given value is a string, then:
8889+
If the given value is a string:
88788890
</p>
88798891
<ol>
88808892
<li>
@@ -12925,7 +12937,7 @@ <h6 title="The ImageBitmapRenderingContext interface">4.12.5.2.2. `ImageBitmapRe
1292512937
%bitmap ~EQ ε
1292612938
]:
1292712939
12928-
If a bitmap argument was not provided, then:
12940+
If a bitmap argument was not provided:
1292912941
</p>
1293012942
<ol>
1293112943
<li>
@@ -12961,7 +12973,7 @@ <h6 title="The ImageBitmapRenderingContext interface">4.12.5.2.2. `ImageBitmapRe
1296112973
<p>
1296212974
~ELSE:
1296312975
12964-
If a bitmap argument was provided, then:
12976+
If a bitmap argument was provided:
1296512977
</p>
1296612978
<ol>
1296712979
<li>

HTML-comms-ja.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124

125125
●●options
126126

127-
spec_date:2026-03-12
127+
spec_date:2026-06-05
128128
trans_update:2026-03-13
129129
source_checked:240112
130130
page_state_key:HTML
@@ -1019,7 +1019,7 @@ <h3 title="Cross-document messaging">9.3. 文書間~message法</h3>
10191019
The postMessage() API can be used as a tracking vector.
10201020
</p>
10211021

1022-
<section id="introduction-12">
1022+
<section id="introduction-13">
10231023
<h4 title="Introduction">9.3.1. 序論</h4>
10241024

10251025
◎非規範的
@@ -1318,7 +1318,7 @@ <h4 title="Posting messages">9.3.3. ~messageの投函-法</h4>
13181318
%宛先~生成元 ~NEQ `002A^U ( `*^l )
13191319
]:
13201320
1321-
Otherwise, if targetOrigin is not a single U+002A ASTERISK character (*), then:
1321+
Otherwise, if targetOrigin is not a single U+002A ASTERISK character (*):
13221322
</p>
13231323
<ol>
13241324
<li>
@@ -1481,7 +1481,7 @@ <h3 title="Channel messaging">9.4. ~channel~message法</h3>
14811481

14821482
`MessagePort^CTX
14831483

1484-
<section id="introduction-13">
1484+
<section id="introduction-14">
14851485
<h4 title="Introduction">9.4.1. 序論</h4>
14861486

14871487
◎非規範的
@@ -2405,7 +2405,7 @@ <h4 title="Message ports">9.4.4. ~message~port</h4>
24052405
ある別~port %~remote~port が %値 に連絡されている
24062406
]:
24072407
2408-
If value is entangled with another port remotePort, then:
2408+
If value is entangled with another port remotePort:
24092409
</p>
24102410
<ol>
24112411
<li>

HTML-custom-ja.html

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@
172172

173173
●●options
174174

175-
spec_date:2026-03-31
176-
trans_update:2026-04-01
175+
spec_date:2026-06-03
176+
trans_update:2026-06-10
177177
source_checked:250314
178178
page_state_key:HTML
179179
spec_status:LS
@@ -212,6 +212,7 @@
212212
a:code
213213
et:code
214214
st:i
215+
san:i
215216
ps:code
216217
jv:code
217218
jt:code
@@ -514,6 +515,7 @@
514515
透過的:transparent::~
515516
句ng:phrasing::::フレージング
516517
可触:palpable::~
518+
無毒化:sanitization::~
517519
背後:behind:~
518520
国旗:country flag:~
519521
候補:candidate:~
@@ -722,6 +724,9 @@
722724
ps.state():~HTMLselectors#selector-custom
723725
ps.invalid:~HTMLselectors#selector-invalid
724726

727+
●定数
728+
san.未分類:~HTMLdynamic#sanitizer-uncategorized
729+
725730
●用語
726731
~callback反応:#callback-reaction
727732
~custom化された組込みの要素:#customized-built-in-element
@@ -835,6 +840,7 @@
835840
内容~model:~HTMLdom#concept-element-content-model
836841
この要素を利用できる文脈:~HTMLdom#concept-element-contexts
837842
~accessibilityの考慮点:~HTMLdom#concept-element-accessibility-considerations
843+
無毒化:~HTMLdom#concept-element-sanitization
838844
~DOM~interface:~HTMLdom#concept-element-dom
839845
~flow内容:~HTMLdom#flow-content-2
840846
大域~属性:~HTMLdom#global-attributes
@@ -2424,6 +2430,13 @@ <h4 title="Core concepts">4.13.3. 中核~概念</h4>
24242430
`実装者~向け@~HTMLAAM#el-autonomous-custom-element$
24252431
24262432
Otherwise: for authors; for implementers.
2433+
</dd>
2434+
2435+
<dt>`無毒化$</dt>
2436+
<dd>
2437+
`未分類$san
2438+
2439+
Uncategorized.
24272440
</dd>
24282441

24292442
<dt>`~DOM~interface$</dt>
@@ -4377,7 +4390,7 @@ <h4 title="Upgrades">4.13.5. 昇格</h4>
43774390
%例外 ~NEQ ε
43784391
]:
43794392
4380-
• Finally, if the above steps threw an exception, then:
4393+
• Finally, if the above steps threw an exception:
43814394
</p>
43824395
<ol>
43834396
<li>
@@ -4412,7 +4425,7 @@ <h4 title="Upgrades">4.13.5. 昇格</h4>
44124425
%要素 は`~formに所有され得る~custom要素$である
44134426
]:
44144427
4415-
If element is a form-associated custom element, then:
4428+
If element is a form-associated custom element:
44164429
</p>
44174430
<ol>
44184431
<li>
@@ -4776,7 +4789,7 @@ <h4 title="Custom element reactions">4.13.6. ~custom要素~反応</h4>
47764789
%反応~stack は空である
47774790
]:
47784791
4779-
If reactionsStack is empty, then:
4792+
If reactionsStack is empty:
47804793
</p>
47814794
<ol>
47824795
<li>

0 commit comments

Comments
 (0)