Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexSizeError: Failed to execute 'collapse' on 'Selection' #1807

Open
raineorshine opened this issue Mar 2, 2024 · 0 comments
Open

IndexSizeError: Failed to execute 'collapse' on 'Selection' #1807

raineorshine opened this issue Mar 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@raineorshine
Copy link
Contributor

Steps to Reproduce

Paste the following and then activate bold/italic.

<meta charset='utf-8'><span style="color: rgb(72, 72, 72); font-family: sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">Gurney Halleck––the novel’s most rousing, personality-infused character––is distilled into just a scowling military commander as played by Josh Brolin. In the novel he sings whimsical songs whilst strumming a nine-string “baliset”—such a beacon of levity. This<span> </span></span><em style="box-sizing: border-box; text-transform: none; font-style: italic; color: rgb(72, 72, 72); font-family: sans-serif; font-size: 16px; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Dune</em><span style="color: rgb(72, 72, 72); font-family: sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"><span> </span>has the atmosphere that all pleasurable music-listening was abolished alongside “thinking machines” when its story picks up in the 10th millennium A.D. </span>

Current Behavior

IndexSizeError: Failed to execute 'collapse' on 'Selection': There is no child at offset 3.

Expected Behavior

No error

@raineorshine raineorshine added the bug Something isn't working label Mar 2, 2024
@raineorshine raineorshine added this to the 💬 Browser Selection milestone Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant