Bug 43830 - Wrong selection offset for a node with :first-letter style
Summary: Wrong selection offset for a node with :first-letter style
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 6185 58911 41514
  Show dependency treegraph
 
Reported: 2010-08-10 22:53 PDT by Kent Tamura
Modified: 2022-08-17 14:00 PDT (History)
6 users (show)

See Also:


Attachments
A demo HTML (511 bytes, text/html)
2010-08-10 22:53 PDT, Kent Tamura
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Tamura 2010-08-10 22:53:29 PDT
Created attachment 64074 [details]
A demo HTML

See the attached HTML.
Comment 1 Ahmad Saleem 2022-08-17 13:59:40 PDT
I am able to reproduce this bug in Safari 15.6 on macOS 12.5 using attached test case and it shows following across browsers:

*** Safari 15.6 on macOS 12.5 ***

Actual extentOffset is [4]

*** Firefox Nightly 105 ***

Actual extentOffset is [undefined]

*** Chrome Canary 106 ***

Actual extentOffset is [5]

_____

As per test case, only Chrome Canary shows correct / expected result. Just wanted to update latest testing results. Thanks!