/[suikacvs]/markup/html/html5/spec-ja/data/scripting.dat
Suika

Contents of /markup/html/html5/spec-ja/data/scripting.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Fri Jul 11 11:58:44 2008 UTC (18 years, 4 months ago) by apache
Branch: MAIN
Changes since 1.4: +50 -0 lines
by remote user 'guest'

1 apache 1.1 #pattern
2     <span class=secno>* </span>Event
3     handler attributes
4     #ja
5     <span class=secno>$1 </span>事象取扱器属性
6    
7     #en
8     <a href="#html-elements">HTML elements</a> can have <dfn id=event2>event
9     handler attributes</dfn> specified. These act as bubbling event listeners
10     for the element on which they are specified.
11     #ja
12     <a href="#html-elements">HTML 要素</a>には<dfn id=event2>事象取扱器属性</dfn>を指定することができます。
13     これは指定された属性に対する泡立ち事象聴取器として機能します。
14    
15     #en
16     Each event handler attribute has two parts, an <a href="#event3"
17     title="event handler content attributes">event handler content
18     attribute</a> and an <a href="#event4" title="event handler DOM
19     attributes">event handler DOM attribute</a>. Event handler attributes must
20     initially be set to null. When their value changes (through the changing
21     of their event handler content attribute or their event handler DOM
22     attribute), they will either be null, or have an
23     <code>EventListener</code> object assigned to them.
24     #ja
25     各事象取扱器属性は、<a href="#event3"
26     title="event handler content attributes">事象取扱器内容属性</a>と<a href="#event4" title="event handler DOM
27     attributes">事象取扱器 DOM 属性</a>の2つの部分を持ちます。
28     事象取扱器属性は、はじめ、 null に設定されなければ[[MUST:なりません]]。
29     (事象取扱器内容属性または事象取扱器 DOM 属性の変更により) 値が変化した時は、
30     null となるか、または <code>EventListener</code>
31     オブジェクトが割り当てられるかのいずれかとなります。
32    
33     #en
34     Objects other than <code>Element</code> objects, in particular <code><a
35     href="#window">Window</a></code>, only have <a href="#event4" title="event
36     handler DOM attributes">event handler DOM attribute</a> (since they have
37     no content attributes).
38     #ja
39     <code>Element</code> オブジェクト以外のオブジェクト、特に <code><a
40     href="#window">Window</a></code> は、<a href="#event4" title="event
41     handler DOM attributes">事象取扱器 DOM 属性</a>だけを持ちます (内容属性を持ちませんから)。
42    
43     #en
44     <dfn id=event3>Event handler content attributes</dfn>, when specified,
45     must contain valid ECMAScript code matching the ECMAScript <code
46     title="">FunctionBody</code> production. <a
47     href="#refsECMA262">[ECMA262]</a>
48     #ja
49     <dfn id=event3>事象取扱器内容属性</dfn>は、指定された場合、
50     ECMAScript <code
51     title="">FunctionBody</code> 生成規則に一致する妥当な ECMAScript 符号を含まなければなりません。