New issue
Advanced search Search tips

Issue 745905 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Text-overflow:ellipsis has inconsistent scroll behavior

Project Member Reported by ericrk@chromium.org, Jul 18 2017

Issue description

When applying text-overflow:ellipsis to an element, the element is truncated with a "...". This truncation causes the element to fit completely within the input field. Despite this, the input field will still be scrollable, as though the un-truncated text was present. Scrolling reveals empty space where the un-trancated text would have been. See attached screenshots.

View the attached html file in simulated device mode via devtools.
 
input_test.html
109 bytes View Download
truncated_start.png
13.7 KB View Download
truncated_scrolled.png
12.1 KB View Download

Comment 1 by tkent@chromium.org, Jul 18 2017

Components: -Blink>Forms>Text Blink>Layout
Labels: Hotlist-Interop
This is reproducible with non-INPUT elements.

data:text/html;charset=utf-8,<div style="border:1px solid blue; width:400pt; font-size:40pt; overflow: hidden; text-overflow:ellipsis; white-space:pre">This is a long truncated text entry</div><script>document.querySelector('div').scrollLeft=100</script>

Components: -Blink>Layout Blink>Compositing Blink>Scroll
Labels: BugSource-Chromium PaintTeamTriaged-20170718

Comment 4 by bokan@chromium.org, Feb 15 2018

Triage check-in, still an issue in 66.0.3343.3. FWIW, Firefox also has overflow in that case (but they constantly change where the ellipsis is added which is extra bizarre).

Sign in to add a comment