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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Thu Oct 23 04:18:26 2008 UTC (17 years, 6 months ago) by wakaba
Branch: MAIN
CVS Tags: after-new-ids, HEAD
Changes since 1.2: +12 -12 lines
reflect id changes

1 apache 1.2
2     #pattern
3     <span class=secno>* </span>User editing actions
4     #ja
5     <span class=secno>$1 </span>利用者編集作用
6    
7     #en
8     There are several actions that the user agent should allow the user to
9     perform while the user is interacting with an editing host. How exactly
10     each action is triggered is not defined for every action, but when it is
11     not defined, suggested key bindings are provided to guide implementors.
12     #ja
13     利用者が編集ホストと対話している間に利用者が実行することを利用者エージェントが認める[[SHOULD:べき]]である作用がいくつかあります。
14     すべての作用について正確にどのように誘発するのかを定義しているわけではありませんが、
15     定義していない場合には、実装者に対する指針として、鍵の束縛の案を提示します。
16    
17     #en
18     Move the caret
19     #ja
20     脱字記号を移動する
21    
22     #en
23     User agents must allow users to move the caret to any position within
24     an editing host, even into nested editable elements. This could be
25     triggered as the default action of <code
26     title=event-keydown>keydown</code> events with various key identifiers
27     and as the default action of <code
28     title=event-mousedown>mousedown</code> events.
29     #ja
30     利用者エージェントは、利用者が編集ホスト中の任意の位置
31     (入れ子になった編集可能要素の中を含みます。)
32     に脱字記号を移動させることを認めなければ[[MUST:なりません]]。これは、
33     各種の鍵識別子についての <code
34     title=event-keydown>keydown</code> 事象の既定作用として、および <code
35     title=event-mousedown>mousedown</code> 事象の既定作用として誘発することができます。
36    
37     #en
38     Change the selection
39     #ja
40     選択を変更する
41    
42     #en
43 wakaba 1.3 User agents must allow users to change <a href=#the-selection-0>the
44 apache 1.2 selection</a> within an editing host, even into nested editable
45     elements. User agents may prevent selections from being made in ways
46     that cross from editable elements into non-editable elements (e.g. by
47     making each non-editable descendant atomically selectable, but not
48     allowing text selection within them). This could be triggered as the
49     default action of <code title=event-keydown>keydown</code> events with
50     various key identifiers and as the default action of <code
51     title=event-mousedown>mousedown</code> events.
52     #ja
53 wakaba 1.3 利用者エージェントは、利用者が編集ホスト中の<a href=#the-selection-0>選択</a>を変更することを認めなければ[[MUST:なりません]]
54 apache 1.2 (入れ子になった編集可能要素の中を含みます)。
55     利用者エージェントは、編集可能要素と非編集可能要素を選択がまたぐことを
56     (例えば、非編集可能子孫がそれぞれ原子的に選択可能としながら、その中の文章を選択できないようにすることで)
57     拒んでも[[MAY:構いません]]。これは、各種の鍵識別子についての <code
58     title=event-keydown>keydown</code> 事象の既定作用として、および <code
59     title=event-mousedown>mousedown</code> 事象の既定作用として誘発することができます。
60    
61     #en
62     Insert text
63     #ja
64     文章を挿入する
65    
66     #en
67     This action must be triggered as the default action of a <code
68     title=event-textInput>textInput</code> event, and may be triggered by
69     other commands as well. It must cause the user agent to insert the
70     specified text (given by the event object's <code title="">data</code>
71     attribute in the case of the <code
72     title=event-textInput>textInput</code> event) at the caret.
73     #ja
74     この作用は、 <code
75     title=event-textInput>textInput</code> 事象の既定作用として誘発しなければ[[MUST:ならず]]、
76     他の命令によって誘発しても[[MAY:構いません]]。
77     これにより、利用者エージェントは指定された文章 (<code
78     title=event-textInput>textInput</code> 事象の場合には事象オブジェクトの
79     <code title="">data</code> 属性で与えられるもの) を脱字記号の位置に挿入することにならなければ[[MUST:なりません]]。
80    
81     #en
82     If the caret is positioned somewhere where <a
83 wakaba 1.3 href=#phrasing-content-0>phrasing content</a> is not allowed (e.g. inside an
84     empty <code><a href=#the-ol-element>ol</a></code> element), then the user agent
85 apache 1.2 must not insert the text directly at the caret position. In such cases
86     the behavior is UA-dependent, but user agents must not, in response to a
87     request to insert text, generate a DOM that is less conformant than the
88     DOM prior to the request.
89     #ja
90     利用者エージェントは、脱字記号が<a
91 wakaba 1.3 href=#phrasing-content-0>語句付け内容</a>の認められていない場所に位置付けられている場合
92     (例えば空の <code><a href=#the-ol-element>ol</a></code> 要素の内側の場合)、
93 apache 1.2 脱字記号の位置に直接文章を挿入しては[[MUST NOT:なりません]]。このような場合、
94     動作は利用者エージェント依存ですが、利用者エージェントは、
95     文章の挿入の要求に対して、要求以前の DOM よりも適合性の低い DOM を生成しては[[MUST NOT:なりません]]。
96    
97     #en
98     User agents should allow users to insert new paragraphs into elements
99     that contains only content other than paragraphs.
100     #ja
101     利用者エージェントは、利用者に、段落以外の内容だけを含む要素に新しい段落を挿入することを認める[[SHOULD:べきです]]。
102    
103     #en
104     For example, given the markup:
105     #ja
106     例えば、次のマーク付けについて、
107    
108     #en
109     ...the user agent should allow the user to insert <code><a
110 wakaba 1.3 href=#the-p-element>p</a></code> elements before and after the <code><a
111     href=#the-dl-element>dl</a></code> element, as children of the <code><a
112     href=#the-section-element>section</a></code> element.
113 apache 1.2 #ja
114     ・・・利用者エージェントは、利用者が <code><a
115 wakaba 1.3 href=#the-dl-element>dl</a></code> 要素の前後に <code><a
116     href=#the-p-element>p</a></code> 要素を <code><a
117     href=#the-section-element>section</a></code> 要素の子供として挿入することを認めるべきです。

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24