caret clamping in scrolled elements is broken
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: heycam, Assigned: emilio)
References
Details
(Keywords: regression)
Attachments
(2 files)
Bug 335560 added clamping to the caret position so that if you are scrolled to the edge of an element, and the caret is inside that element but outside of the visual overflow rect of the scrolled element, the caret is clamped to be just inside the rect so that it will still be visible if the scroll frame is clipped.
This regressed some time here in March 2015:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=c5b90c003be8&tochange=993eb76a8bd6
(Aside: why isn't that using the scrollable overflow rect instead of visual overflow?)
Reporter | ||
Comment 1•5 years ago
|
||
This is the test I was using. Click on an "x" and press End to move to the end of the line. The caret isn't visible.
Updated•2 years ago
|
Assignee | ||
Comment 3•8 months ago
|
||
Updated•8 months ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/970525aa04f1 Fix caret overflow adjustment computations. r=masayuki
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a6a541637edd Fix test_reftests_with_caret.html failures. r=emilio CLOSED TREE
Comment 6•8 months ago
•
|
||
Backed out for causing caret related failures.
Failure logs from first land:
- https://treeherder.mozilla.org/logviewer?job_id=426320948&repo=autoland
- https://treeherder.mozilla.org/logviewer?job_id=426320732&repo=autoland
Failures after the attempted fix:
- https://treeherder.mozilla.org/logviewer?job_id=426325526&repo=autoland
- https://treeherder.mozilla.org/logviewer?job_id=426325376&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/a6c91cd0d909c83e7f1f4d8c3b79b31d5de33825
Updated•8 months ago
|
Assignee | ||
Updated•8 months ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5841f85bd162 Fix caret overflow adjustment computations. r=masayuki
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/4a20acf7c387 Annotate new reftests as failing with drawSnapshot.
Comment 9•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5841f85bd162
https://hg.mozilla.org/mozilla-central/rev/4a20acf7c387
Updated•8 months ago
|
Description
•