WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
20129
Cursor position in empty editable element does not respect padding
https://bugs.webkit.org/show_bug.cgi?id=20129
Summary
Cursor position in empty editable element does not respect padding
Torsten Radtke
Reported
2008-07-22 03:00:17 PDT
The position of the cursor when clicking on an empty element filled with the :empty:before CSS rule ignores the CSS padding property. It is always drawn in the top left corner of the box. See the attached files for an example.
Attachments
Test case XML file
(135 bytes, application/xml)
2008-07-22 03:00 PDT
,
Torsten Radtke
no flags
Details
Test case CSS file
(250 bytes, text/plain)
2008-07-22 03:01 PDT
,
Torsten Radtke
no flags
Details
reduction
(248 bytes, text/html)
2012-05-01 21:54 PDT
,
Ryosuke Niwa
no flags
Details
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Torsten Radtke
Comment 1
2008-07-22 03:00:53 PDT
Created
attachment 22423
[details]
Test case XML file
Torsten Radtke
Comment 2
2008-07-22 03:01:31 PDT
Created
attachment 22425
[details]
Test case CSS file
Ryosuke Niwa
Comment 3
2012-05-01 21:54:33 PDT
Created
attachment 139743
[details]
reduction
Alexey Proskuryakov
Comment 4
2012-05-02 12:54:44 PDT
See also:
bug 20242
,
bug 21785
.
gur.trio
Comment 5
2013-12-18 03:16:50 PST
(In reply to
comment #0
)
> The position of the cursor when clicking on an empty element filled with the :empty:before CSS rule ignores the CSS padding property. It is always drawn in the top left corner of the box. See the attached files for an example.
Latest webkit and chrome its working. Please confirm so that we can close this.
Ryosuke Niwa
Comment 6
2013-12-24 00:11:12 PST
Works as expected now.
gur.trio
Comment 7
2013-12-24 00:56:46 PST
***
Bug 21785
has been marked as a duplicate of this bug. ***
gur.trio
Comment 8
2013-12-24 00:58:01 PST
***
Bug 20242
has been marked as a duplicate of this bug. ***
Torsten Radtke
Comment 9
2014-01-03 07:36:02 PST
Works as expected in Safari Version 7.0.1 (9537.73.11)
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