Skip to content

Commit

Permalink
chore: markup cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
siusin committed Sep 27, 2024
1 parent 183ed16 commit 4b40a30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -800,12 +800,12 @@ <h4><dfn>Update the EditContext</dfn></h4>
</ol>
</li>
<li>If |editContext|'s [=is composing=] is true, then:
<ol>Let |insertionStart| be |replacementRangeStart|.</ol>
<ol>Let |insertionEnd| be |replacementRangeEnd|.</ol>
<ul><li>Let |insertionStart| be |replacementRangeStart|.</li></ul>
<ul><li>Let |insertionEnd| be |replacementRangeEnd|.</li></ul>
</li>
<li>Otherwise:
<ol>Let |insertionStart| be |selectionStart|.</ol>
<ol>Let |insertionEnd| be |selectionEnd|.</ol>
<ul><li>Let |insertionStart| be |selectionStart|.</li></ul>
<ul><li>Let |insertionEnd| be |selectionEnd|.</li></ul>
</li>
<li>
Replace the substring of |editContext|'s [=text=] in the range of |insertionStart| and |insertionEnd| with |text|
Expand Down Expand Up @@ -1149,10 +1149,10 @@ <h3 id="editcontext-interface">EditContext Interface</h3>
</div>
</dd>
<dt>attachedElements() method</dt>
<dd><p>The method returns a list with one item which is the the {{EditContext}}'s <a>associated element</a>, or an empty list if the {{EditContext}}'s <a>associated element</a> is null.</p></dd>
<dd><p>The method returns a list with one item which is the the {{EditContext}}'s <a>associated element</a>, or an empty list if the {{EditContext}}'s <a>associated element</a> is null.</p>
<p class="note">
This method returns a list instead of a single element for forward compatibility if {{EditContext}} is ever granted the ability to have multiple <a>associated elements</a>.
</p>
</p></dd>

<dt>ontextupdate</dt>
<dd><p>The event handler for {{TextUpdateEvent}}.</p></dd>
Expand Down
2 changes: 1 addition & 1 deletion tidyconfig.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ indent: yes
wrap: 80
tidy-mark: no
newline: LF
custom-tags: yes
custom-tags: pre

0 comments on commit 4b40a30

Please sign in to comment.