Open
Bug 1543361
Opened 5 years ago
Updated 2 years ago
[Gmail] Cursor is overlapped by the drag and dropped picture inside the New Message panel
Categories
(Core :: Layout: Scrolling and Overflow, defect, P3)
Core
Layout: Scrolling and Overflow
Tracking
()
NEW
People
(Reporter: asoncutean, Unassigned)
Details
Attachments
(1 file)
65.73 KB,
image/gif
|
Details |
[Affected versions]:
- 66.0.3
- 67.0b9
- 68.0a1 (2019-04-09)
[Affected platforms]:
- Windows 10 x64
- macOS 10.14
- Ubuntu 16.04 x64
[Steps to reproduce]:
- Go to https://mail.google.com/
- Click on the Compose button
- Drag and drop any picture inside the New message panel
- Start typing
[Expected result]:
- Cursor is displayed in accordance with the inputted characters size
[Actual result]:
- Cursor is partially overlapped by the image
[Regression range]:
- Issue reproducible on RC 64.0. I will provide more information asap.
[Additional Notes]:
- Issue is reproducible also on yahoo.mail
- Issue is not reproducible on Chrome
- For background transparent images the cursor is properly displayed
Reporter | ||
Updated•5 years ago
|
Has Regression Range: --- → no
Has STR: --- → yes
Updated•5 years ago
|
Comment 1•5 years ago
|
||
This seems to be caret frame issue by layout/base/nsCaret.cpp. Core:Layout?
Component: Editor → Layout
Reporter | ||
Comment 2•5 years ago
|
||
This doesn't seem to be a regression, issue reproducible way back to Fx 32.0a1 (2014-05-01).
Has Regression Range: no → ---
Keywords: regressionwindow-wanted
Comment 3•5 years ago
|
||
I think this is due to the position we choose for the caret when it is after the last character in the text frame, i.e. it is positioned just under the image. You can see the same effect with e.g.
<!DOCTYPE html>
<style>
span { background-color: cyan; vertical-align: 4px; }
</style>
<div contenteditable>ab<span>cd</span>ef</div>
and placing the caret after the "b".
Updated•5 years ago
|
Component: Layout → Layout: Scrolling and Overflow
Updated•5 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•