LibWeb: Iterate over text chunks using a grapheme-aware segmenter

Our current text iterator is not aware of multi-code point graphemes.
Instead of simply incrementing an iterator one code point at a time, use
our Unicode grapheme segmenter to break text into fragments.
This commit is contained in:
Timothy Flynn
2024-09-20 17:14:14 -04:00
committed by Andreas Kling
parent aef85a83bd
commit f0105b473b
Notes: github-actions[bot] 2024-09-21 06:58:43 +00:00
5 changed files with 84 additions and 32 deletions

View File

@@ -0,0 +1,3 @@
<p>🧑‍🚒</p>
<p>🏴‍☠️</p>
<p>🧑‍🧑‍🧒‍🧒</p>