TextArea in a container does not scroll to the selection
Categories
(Core :: DOM: Selection, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | wontfix |
firefox77 | --- | wontfix |
firefox78 | --- | wontfix |
firefox79 | --- | fixed |
People
(Reporter: elena.guenther, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
Steps to reproduce:
The issue occurs with the Update to FireFox 77.0.1 (64-Bit)
Steps to reproduce the problem:
Use the url to codepen to verify it: https://codepen.io/eguenther/pen/oVGrzW
First Case:
TextArea is in a container.
- Click on the button scroll to selection (Scrolling to selection does not work!) in the linked codepen.
Second Case:
TextArea is stand alone.
- Click on the button scroll to selection (Scrolling to selection work!)
Actual results:
Actual Results:
The first Case:
The Text is selected but there is no scrolling to the selection.
The second Case:
The Text is selected und the textarea scrolls to the selection.
Expected results:
Expected Results:
Scrolling to the selection should work in both cases.
It works as expected in Chrome, Safari, Edge Chromium
Notes: I found a bug fix for: https://bugzilla.mozilla.org/show_bug.cgi?id=1634153
This Bug was fixed a month ago. May be it is a reason for this issue?
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Notes: I found a bug fix for: https://bugzilla.mozilla.org/show_bug.cgi?id=1634153
Yeah, confirmed that via mozregression. Thanks for filing.
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Set release status flags based on info from the regressing bug 1634153
Assignee | ||
Comment 4•4 years ago
|
||
... yet keep respecting the preventScroll flag.
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 8•4 years ago
|
||
Backed out for scrolling failures.
backout: https://hg.mozilla.org/integration/autoland/rev/0df8de966ed2e4b88e81d560322891399873576b
failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=305671462&repo=autoland&lineNumber=14424
[task 2020-06-09T18:01:17.256Z] 18:01:17 INFO - TEST-START | layout/forms/test/test_bug564115.html
[task 2020-06-09T18:01:17.318Z] 18:01:17 INFO - GECKO(1663) | [Parent 1663, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp, line 4275
[task 2020-06-09T18:01:17.963Z] 18:01:17 INFO - TEST-INFO | started process screencapture
[task 2020-06-09T18:01:18.131Z] 18:01:18 INFO - TEST-INFO | screencapture: exit 0
[task 2020-06-09T18:01:18.131Z] 18:01:18 INFO - Buffered messages logged at 18:01:17
[task 2020-06-09T18:01:18.131Z] 18:01:18 INFO - must wait for load
[task 2020-06-09T18:01:18.132Z] 18:01:18 INFO - must wait for focus
[task 2020-06-09T18:01:18.132Z] 18:01:18 INFO - Buffered messages finished
[task 2020-06-09T18:01:18.132Z] 18:01:18 INFO - TEST-UNEXPECTED-FAIL | layout/forms/test/test_bug564115.html | Page should be scrolled correctly - got 12, expected 5000
[task 2020-06-09T18:01:18.132Z] 18:01:18 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:383:14
[task 2020-06-09T18:01:18.132Z] 18:01:18 INFO - @layout/forms/test/test_bug564115.html:33:11
[task 2020-06-09T18:01:18.132Z] 18:01:18 INFO - setTimeout handlerSimpleTest_setTimeoutShim@SimpleTest/SimpleTest.js:788:41
[task 2020-06-09T18:01:18.132Z] 18:01:18 INFO - @layout/forms/test/test_bug564115.html:32:17
[task 2020-06-09T18:01:18.132Z] 18:01:18 INFO - setTimeout handlerSimpleTest_setTimeoutShim@SimpleTest/SimpleTest.js:788:41
[task 2020-06-09T18:01:18.132Z] 18:01:18 INFO - @layout/forms/test/test_bug564115.html:28:15
[task 2020-06-09T18:01:18.132Z] 18:01:18 INFO - focusedOrLoaded/<@SimpleTest/SimpleTest.js:918:23
[task 2020-06-09T18:01:18.132Z] 18:01:18 INFO - must wait for focus
[task 2020-06-09T18:01:18.133Z] 18:01:18 INFO - must wait for focus
[task 2020-06-09T18:01:18.133Z] 18:01:18 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-06-09T18:01:18.133Z] 18:01:18 INFO - TEST-UNEXPECTED-FAIL | layout/forms/test/test_bug564115.html | The page's scroll offset should not have been changed - got 12, expected 5000
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 10•4 years ago
|
||
Comment 12•4 years ago
|
||
bugherder |
Description
•