[CTW] Text Cursor Indicator misplaced on multiline textareas with padding
Categories
(Core :: Disability Access APIs, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: asa, Assigned: morgan, NeedInfo)
References
Details
Attachments
(2 files)
In bug 1797222, we fixed a problem with the Text Cursor Indicator refusing to track text across wraps or line breaks -- or something like that :-)
Now it does track rows of text better, but in textareas with padding set, the indicator ends up below the current line (and perhaps a few pixels too far to the right.) I'll attach a screenshot that makes it clear what I'm describing.
Another note, and maybe it deserves a separate bug, but if I scroll the document, the Text Cursor Indicator stays in the same place rather than staying "attached" to the actual cursor.
Comment 1•2 years ago
|
||
Test case:
data:text/html,<textarea style="padding: 10px;">ab%0acd
I guess our y coord for continuations is off somehow in the presence of padding, but I don't have any clue why.
Comment 2•2 years ago
|
||
(In reply to Asa Dotzler [:asa] from comment #0)
Another note, and maybe it deserves a separate bug, but if I scroll the document, the Text Cursor Indicator stays in the same place rather than staying "attached" to the actual cursor.
I think it'd be good to have a different bug for this. Also, does this one occur with CTW disabled too or only CTW enabled?
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
•
|
||
(In reply to James Teh [:Jamie] from comment #2)
(In reply to Asa Dotzler [:asa] from comment #0)
Another note, and maybe it deserves a separate bug, but if I scroll the document, the Text Cursor Indicator stays in the same place rather than staying "attached" to the actual cursor.
I think it'd be good to have a different bug for this. Also, does this one occur with CTW disabled too or only CTW enabled?
I've got a mochitest for the padding issue, which passes with the cache off. So technically a regression. Not sure about the scrolling
Assignee | ||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 6•2 years ago
|
||
bugherder |
Description
•