Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ <h4 id="edit-context-differences">Differences for an EditContext editing host</h
Each child node of the <a>EditContext editing host</a> becomes <a href="https://w3c.github.io/editing/docs/execCommand/#editable">editable</a>,
unless that node has a [^html-global/contenteditable^] attribute set to "<code>false</code>".
</li>
<li>The user agent handles focus and caret navigation for any editable element in the <a>EditContext editing host</a>.</li>
<li>The user agent handles focus and caret navigation for any editable element in the <a>EditContext editing host</a> (except when the
[=associated element=] is a [=canvas=]; see below in this section).</li>
<li>
The <a>EditContext editing host</a> receives key events and the <a href="https://www.w3.org/TR/uievents/#event-type-beforeinput">beforeinput</a>
event as specified in [[uievents]].
Expand All @@ -257,6 +258,28 @@ <h4 id="edit-context-differences">Differences for an EditContext editing host</h
against the <a>EditContext editing host</a> as a direct result of user action
event as specified in [[uievents]].
</li>
<li>
When the {{Document}} being edited has an [=active EditContext=], the user agent must not fire
<a href="https://www.w3.org/TR/uievents/#events-compositionevents">composition events</a> against the
<a>EditContext editing host</a> as a direct result of user action. Instead they will be fired against the {{EditContext}} as part
of [=update the EditContext|updating the EditContext=] or [=deactivate an EditContext|deactivating the EditContext=].
</li>
<li>
<p>
When the [=active EditContext=]'s [=associated element=] is a [=canvas=], there are further differences:
</p>
<ul>
<li>
The user agent is unable to handle caret navigation and selection since it doesn't have information
about how text is laid out in the [=canvas=], so the author has to implement caret navigation and selection.
</li>
<li>
The user agent is unable to present inline spelling and grammar suggestions since it doesn't have information
about how the text is laid out in the [=canvas=], so if the author wants to support spelling and grammar suggestions,
they have to implement that themselves.
</li>
</ul>
</li>
</ul>
</div>

Expand Down