New issue
Advanced search Search tips

Issue 854281 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Selection painting is broken on ::first-line pseudo element with 'text-transform' property

Project Member Reported by xiaoche...@chromium.org, Jun 19 2018

Issue description

Chrome Version: 67.0.3396.79 (Official Build) (64-bit)
OS: Linux

What steps will reproduce the problem?
(1) Navigate to https://jsfiddle.net/etk5rLwa/
(2) Select some text

What is the expected result?

Selection highlight should cover selected text exactly, and text outside hightlight should remain unchanged.

What happens instead?

Selection highlight covers a shorter range, and some text outside selection highlight disappears. See attached screenshot.
 
Screenshot from 2018-06-19 11-47-07.png
99 KB View Download
Description: Show this description
Components: -Blink>Editing>Selection
Labels: -Pri-3 OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows Pri-2
Very broken indeed.
I guess root cause is we're painting selection on text rectangle before
first-line style is applied.

Sign in to add a comment