WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
235571
Element with contenteditable attribute misbehaves in flex container
https://bugs.webkit.org/show_bug.cgi?id=235571
Summary
Element with contenteditable attribute misbehaves in flex container
Kevin Sjöberg
Reported
2022-01-25 04:21:22 PST
Steps to reproduce: 1. Visit
https://jsfiddle.net/opwgyrun/5/
1. Click the word "TEST". It will have focus and become editable. 2. Now click outside the word "TEST", the element does not lose focus. Clicking far away from the word "TEST" makes it lose focus correctly, but not in close proximity. I've experimented with giving the container different display values such as grid and inline-flex, but they all cause the same issue, although in varying degrees.
Attachments
Add attachment
proposed patch, testcase, etc.
Kevin Sjöberg
Comment 1
2022-01-25 04:24:04 PST
I've verified this issue on the latest build of WebKit at the time of writing, build
r288544
.
Radar WebKit Bug Importer
Comment 2
2022-02-01 04:22:15 PST
<
rdar://problem/88322079
>
Beth Dakin
Comment 3
2023-08-29 11:52:54 PDT
Does this still reproduce? I cannot reproduce using Safari on the latest macOS Sonoma seed.
zalan
Comment 4
2023-08-29 14:59:46 PDT
I am still able to reproduce it on trunk WebKit.
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