Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2b6aec0

Browse files
committed
refs
1 parent c301f7c commit 2b6aec0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎2-ui/99-ui-misc/02-selection-range/article.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,13 @@ To make something unselectable, there are three ways:
541541

542542
3. We can also clear the selection post-factum after it happens with `document.getSelection().empty()`. That's rarely used, as this causes unwanted blinking as the selection appears-disappears.
543543

544+
## References
545+
546+
- [DOM spec: Range](https://dom.spec.whatwg.org/#ranges)
547+
- [Selection API](https://www.w3.org/TR/selection-api/#dom-globaleventhandlers-onselectstart)
548+
- [HTML spec: APIs for the text control selections](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#textFieldSelection)
549+
550+
544551
## Summary
545552

546553
We covered two different APIs for selections:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /