WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
101771
Selection goes crazy with floats that have margins
https://bugs.webkit.org/show_bug.cgi?id=101771
Summary
Selection goes crazy with floats that have margins
Ojan Vafai
Reported
2012-11-09 09:15:24 PST
Created
attachment 173321
[details]
reduced testcase See test case. In general we don't handle margins very well with selections (e.g. any page that puts all it's contents in a margin: auto container). Here's another case encountered in the real world.
Attachments
reduced testcase
(953 bytes, text/html)
2012-11-09 09:15 PST
,
Ojan Vafai
no flags
Details
another test case
(273 bytes, text/html)
2017-08-24 03:45 PDT
,
Javier Fernandez
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Javier Fernandez
Comment 1
2017-08-24 03:45:18 PDT
I don't think margins have a direct effect on the issue. I think that the root cause is extending the selection until reaching the float's container. I'll attach another case which I think reveals the same issue without margins.
Javier Fernandez
Comment 2
2017-08-24 03:45:56 PDT
Created
attachment 318979
[details]
another test case
Javier Fernandez
Comment 3
2017-08-24 03:56:56 PDT
FTR, the issue is clearly reproducible in current trunk.
Javier Fernandez
Comment 4
2017-08-24 04:00:50 PDT
I can reproduce the issue described in both test cases in FF as well.
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