WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
304142
Conditional Show/ Hide of br element in contenteditable element make caret disappear
https://bugs.webkit.org/show_bug.cgi?id=304142
Summary
Conditional Show/ Hide of br element in contenteditable element make caret di...
michael
Reported
2025-12-14 08:07:12 PST
Background: Because of certain caret rendering issues (see
https://github.com/w3c/editing/issues/498
) I found a solution in hiding the br element when the element is empty and focused. This works fine in Chrome, but not in Safari. Repro:
https://w3c.github.io/editing/repros/499.html
Context:
https://github.com/w3c/editing/issues/499
W3C Editing TF Meeting 2025-12-11:
> 08:15 seems like an editing/painting bug
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug