Bug 43830

Summary: Wrong selection offset for a node with :first-letter style
Product: WebKit Reporter: Kent Tamura <tkent>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, joshua.lock, rniwa, wenson_hsieh
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=219087
Bug Depends on:    
Bug Blocks: 6185, 58911, 41514    
Attachments:
Description Flags
A demo HTML none

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!