Closed rksm closed 7 years ago
This changes
btree that makes read and modifications efficient.
is represented as
document.createRange().getClientRects()
if possible, fallback to the slower element.getBoundingClientRect()
if necessary.
Generally, concrete measuring is done as little as possible.
text.textAndAttributes = [
"this\n", {fontSize: 14},
"is a\n", {fontSize: 30},
"lively\n", {textDecoration: "underline"},
"text", null
]
Towards performance improvements for text layouting by using a btree representation.