Skip to content

Commit e527d29

Browse files
[design-principles] Disambiguate when to add global event handlers w3ctag/design-principles@41fee41
1 parent bdf06cf commit e527d29

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

design-principles-ja.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@
116116
●●options
117117

118118
spec_title:Web Platform Design Principles
119-
spec_date:2026-01-27
120-
trans_update:2026-02-09
119+
spec_date:2026-02-24
120+
trans_update:2026-02-26
121121
source_checked:250918
122122
original_url:https://w3ctag.github.io/design-principles/
123123
abbr_url:DESIGN-PRINCIPLES
@@ -464,6 +464,7 @@
464464
TLS:
465465
URI:
466466
DNS:
467+
MathML:
467468

468469
`IndexedDB-3$r:IndexedDB
469470
`GEOLOCATION$r:Geolocation API
@@ -1978,7 +1979,7 @@
19781979
[INFRA]
19791980
Anne van Kesteren; Domenic Denicola. <Infra Standard>. Living Standard. URL: https://infra.spec.whatwg.org/
19801981
[MEDIAQUERIES-5]
1981-
Dean Jackson; et al. <Media Queries Level 5. URL: https://drafts.csswg.org/mediaqueries-5/
1982+
Tab Atkins Jr.; et al. <Media Queries Level 5. URL: https://drafts.csswg.org/mediaqueries-5/
19821983
[PAYMENT-REQUEST]
19831984
Marcos Caceres; Ian Jacobs; Stephen McGruer. <Payment Request API>. URL: https://w3c.github.io/payment-request/
19841985
[PERMISSIONS]
@@ -2060,7 +2061,7 @@
20602061
Tim Berners-Lee; Noah Mendelsohn. <The Rule of Least Power>. 23 February 2006. TAG Finding. URL: https://www.w3.org/2001/tag/doc/leastPower
20612062
[MFREL]
20622063
<Microformats Wiki: existing rel values>. URL: http://microformats.org/wiki/existing-rel-values#HTML5_link_type_extensions
2063-
[POINTEREVENTS3]
2064+
[POINTEREVENTS4]
20642065
Patrick Lauke; Robert Flack. <Pointer Events>. URL: https://w3c.github.io/pointerevents/
20652066
[REFERRER-POLICY]
20662067
Jochen Eisinger; Emily Stark. <Referrer Policy>. URL: https://w3c.github.io/webappsec-referrer-policy/
@@ -2087,14 +2088,16 @@
20872088
[THE-WEB-IS-UNVERSIONED]
20882089
Sangwhan Moon; Amy Guy. <The web is unversioned>. 27 March 2025. TAG Finding. URL: https://www.w3.org/2001/tag/doc/the-web-is-unversioned/
20892090
[UIEVENTS]
2090-
Gary Kacmarcik; Travis Leithead. <UI Events>. URL: https://w3c.github.io/uievents/
2091+
Xiaoqian Wu. <UI Events>. URL: https://w3c.github.io/uievents/
20912092
[UNSANCTIONED-TRACKING]
20922093
Mark Nottingham. <Unsanctioned Web Tracking>. 17 July 2015. TAG Finding. URL: http://www.w3.org/2001/tag/doc/unsanctioned-tracking/
20932094
[WEB-LOCKS]
20942095
Kagami Rosylight. <Web Locks API>. URL: https://w3c.github.io/web-locks/
20952096
[WEB-SHARE]
20962097
Marcos Caceres; Eric Willigers; Matt Giuca. <Web Share API>. URL: https://w3c.github.io/web-share/
20972098
[WebAudio]
2099+
Paul Adenot; Hongchan Choi. <Web Audio API 1.1. URL: https://webaudio.github.io/web-audio-api/
2100+
[WEBAUDIO-1.0]
20982101
Paul Adenot; Hongchan Choi. <Web Audio API>. URL: https://webaudio.github.io/web-audio-api/
20992102
[WEBCRYPTO-2]
21002103
Daniel Huigens. <Web Cryptography Level 2. URL: https://w3c.github.io/webcrypto/
@@ -7621,7 +7624,7 @@ <h3 title="Always add event handler attributes">7.5. 常に~event~handler属性
76217624
<p class="note">注記:
76227625
一貫性を得るため、
76237626
当の~eventが[
7624-
~HTML/~SVG
7627+
~HTML/~SVG/~MathML
76257628
]要素により取扱われる必要がある場合には,
76267629
当の`~event~handler~IDL属性$を
76277630
`GlobalEventHandlers$I ~interface~mixinに追加すること
@@ -7631,7 +7634,7 @@ <h3 title="Always add event handler attributes">7.5. 常に~event~handler属性
76317634
当の`~event~handler~IDL属性$を
76327635
`WindowEventHandlers$I に追加すること。
76337636
7634-
For consistency, if the event needs to be handled by HTML and SVG elements, add the event handler IDL attributes on the GlobalEventHandlers interface mixin, instead of directly on the relevant element interface(s). Similarly, add event handler IDL attributes to WindowEventHandlers rather than Window.
7637+
For consistency, if the event needs to be handled by HTML, SVG, or MathML elements, add the event handler IDL attributes on the GlobalEventHandlers interface mixin, instead of directly on the relevant element interface(s). Similarly, add event handler IDL attributes to WindowEventHandlers rather than Window.
76357638
</p>
76367639

76377640
</section>

0 commit comments

Comments
 (0)