Skip to content

Commit

Permalink
chore: markup cleanup (#108)
Browse files Browse the repository at this point in the history
Editorial changes to fix markup issues flagged by linter.
  • Loading branch information
siusin authored Nov 19, 2024
1 parent 6582403 commit c043369
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -800,12 +800,16 @@ <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>
<ol>
<li>Let |insertionStart| be |replacementRangeStart|.</li>
<li>Let |insertionEnd| be |replacementRangeEnd|.</li>
</ol>
</li>
<li>Otherwise:
<ol>Let |insertionStart| be |selectionStart|.</ol>
<ol>Let |insertionEnd| be |selectionEnd|.</ol>
<ol>
<li>Let |insertionStart| be |selectionStart|.</li>
<li>Let |insertionEnd| be |selectionEnd|.</li>
</ol>
</li>
<li>
Replace the substring of |editContext|'s [=text=] in the range of |insertionStart| and |insertionEnd| with |text|
Expand Down Expand Up @@ -1149,10 +1153,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 c043369

Please sign in to comment.