It's a WIP.
-
Highlight: A visual representation of a selection of text.
-
Boundary: The edge of a highlight. There are two in each highlight.
-
Active boundary: The boundary that is currently selected.
-
Knob: The visual representation of a boundary.
-
Caret: An insertion point within text.
-
Selection (Web API)
-
Range (Web API)
- Use Node.compareDocumentPosition to avoid unintentional collapsed state
- Use partialContainment
- TextMetrics polyfill?
- Is https://opentype.js.org/font-inspector.html useful?