WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
51618
Having a top margin on a contenteditable element makes "enter" insert too much vertical space
https://bugs.webkit.org/show_bug.cgi?id=51618
Summary
Having a top margin on a contenteditable element makes "enter" insert too muc...
Nico Weber
Reported
2010-12-26 09:47:01 PST
Created
attachment 77457
[details]
repro case Having a top margin on a contenteditable element makes "enter" insert too much vertical space. See attached test case. Expected: On "enter", the caret moves down by one line height. Actual: On "enter", the caret moves down by one line height plus the top margin.
Attachments
repro case
(464 bytes, text/html)
2010-12-26 09:47 PST
,
Nico Weber
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Nico Weber
Comment 1
2010-12-26 09:47:34 PST
Works fine in Ff3.6 and Ff4 beta.
Ahmad Saleem
Comment 2
2022-12-01 15:28:23 PST
All browsers (Safari Technology Preview 159, Chrome Canary 110 and Firefox Nightly 109) are adding similar space (more than line height) after pressing "Enter". Marking this as "RESOLVED CONFIGURATION CHANGED", please reopen if it is issue and something all browsers need to fix. Thanks!
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