New issue
Advanced search Search tips

Issue 670995 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Feature



Sign in to add a comment

Caret is misaligned when using :before as a placeholder in contenteditable region

Reported by sshon...@gmail.com, Dec 4 2016

Issue description

Chrome Version       : 54.0.2840.98 (Official Build) (64-bit)
Other browsers tested:
  Chrome 54: FAIL
  Chrome 48: OK
  Safari: OK
  Firefox: OK

What steps will reproduce the problem?
(1) Click into the red region on attached HTML file
(2) Notice where the caret is positioned

Actual Result:

The caret goes to the middle of the region

Expected Result:

The caret should go to the left side of the region as it did in previous versions of Chrome and does in FF and Safari.


 
BrowserComparison.png
1.3 MB View Download

Comment 1 by sshon...@gmail.com, Dec 4 2016

repro.html
1.3 KB View Download

Comment 2 by ajha@chromium.org, Dec 5 2016

Labels: -Type-Bug -Pri-3 M-54 Needs-Bisect OS-Mac Pri-1 Type-Bug-Regression
Components: Blink
Labels: -M-54 -Needs-Bisect hasbisect-per-revision M-57 OS-Linux OS-Windows
Owner: ramy...@samsung.com
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on Windows 10, Ubuntu 14.04, Mac OS 10.11.6 using chrome reported version #54.0.2840.98, latest stable #55.0.2883.75 and latest canary #57.0.2939.0.

Bisect Information:
=====================
Good build: 54.0.2805.0	Revision(407311)
Bad Build : 54.0.2810.0 Revision(408294)

Note: Good and bad builds are not consecutive as builds download was failing (Issue:  611812)

Change Log URL: 
https://chromium.googlesource.com/chromium/src/+log/4db6b17964859533d4c36a8c6acf3f39ef80c806..e4c0c0a729891099c502c8e330b71acca7041ce3

From the above change log suspecting below change

Review URL: https://codereview.chromium.org/2159373003

ramya.v@ - Could you please check whether this is caused with respect to your change, if not please help us in assigning it to the right owner.

Thanks...!!
Components: -Blink Blink>Layout
Owner: ----
Status: Untriaged (was: Assigned)

Comment 5 by e...@chromium.org, Dec 6 2016

Components: -Blink>Layout Blink>Editing
Confirmed that it was caused by r407421. Over to editing team to decide whether to revert or fix.

Comment 6 by ajha@chromium.org, Dec 14 2016

Cc: yosin@chromium.org
Owner: ramy...@samsung.com
Status: Assigned (was: Untriaged)
Friendly ping to get an update on this issue.

Comment 7 by hdodda@chromium.org, Jan 13 2017

Gentle Ping !!

Could someone provide us an update on this issue .

Thanks!
Friendly ping to get an update on this issue.

Thanks..

Comment 9 by yosin@chromium.org, Apr 26 2017

Cc: -yosin@chromium.org
Components: -Blink>Editing Blink>Editing>Selection
Labels: -Pri-1 -Type-Bug-Regression Pri-2 Type-Feature
Owner: ----
Status: Available (was: Assigned)
Lower to Pri-2, since users can enter characters into editable.

I think Edge behavior is the most intuitive, since typed character is inserted
before caret.
- Chrome: center
- Edge: right
- Firefox: left
- Safari: left

Labels: Pri-3
Project Member

Comment 11 by sheriffbot@chromium.org, Oct 4

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment