WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
37696
endsOfNodeAreVisuallyDistinctPositions does not take border, padding, margin into account
https://bugs.webkit.org/show_bug.cgi?id=37696
Summary
endsOfNodeAreVisuallyDistinctPositions does not take border, padding, margin ...
Roland Steiner
Reported
2010-04-15 22:00:52 PDT
Created
attachment 53513
[details]
test case (Similar to
https://bugs.webkit.org/show_bug.cgi?id=37693
and
https://bugs.webkit.org/show_bug.cgi?id=37695
) The function endsOfNodeAreVisuallyDistinctPositions() does not take border, padding or margin of an inline element into account. This makes it impossible to place the caret before and just outside such an element, or at the end, just inside the element. I.e., there is only 1 cursor position at the boundaries when visually there should be 2 (both just inside and just outside the element). The attached HTML file shows the problem.
Attachments
test case
(341 bytes, text/html)
2010-04-15 22:00 PDT
,
Roland Steiner
no flags
Details
View All
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