New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 762735 link

Starred by 5 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

inline-block children aren't visible after collapsing/expanding container with `text-overflow: ellipsis`

Reported by greg.lit...@workiva.com, Sep 6 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36

Steps to reproduce the problem:
1. Render a container with `text-overflow: ellipsis`, `white-space: nowrap`, and `overflow: hidden`, with `display: inline-block` children
2. Shrink the container horizontally by setting a `width` until a child is clipped completely out of view
3. Expand the container back to its original size

What is the expected behavior?
All items should be visible again.

What went wrong?
The children clipped out of view are no longer visible (except the first item, which always stays visible), but they take up the same amount of space.

Did this work before? Yes 60

Does this work in other browsers? Yes

Chrome version: 61.0.3163.79  Channel: stable
OS Version: OS X 10.12.0
Flash Version: Shockwave Flash 26.0 r0

This issue is not present with `display: inline` children.
 
repro.html
2.1 KB View Download
Screen Shot 2017-09-06 at 4.43.51 PM.png
76.2 KB View Download
Cc: pbomm...@chromium.org robho...@gmail.com gov...@chromium.org
Components: Blink>HTML
Labels: ReleaseBlock-Stable M-61 Needs-Triage-M61 hasbisect
Owner: robhogan@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue and is broken in M61, below are the bisect details for the same:

Bisect info:
============
61.0.3138.0 - Good Build
61.0.3139.0 - Bad Build

Change Log: https://chromium.googlesource.com/chromium/src/+log/6080a1b320bf41e781795ebac89d935910a5f133..0ded2d24b4c9a60998244f4de58cb670af82d13c

Suspected CL: https://chromium.googlesource.com/chromium/src/+/0d68039ed1d0ef19d9af8e667c9fdd6656fb0299

@robhogan: Assigning to you, kindly take a look into it. Please help us to find an owner if not with respect to your change.

Note: cannot provide per revision bisect as some perf builds are missing when executed the script.

Adding blocker label, please undo if not the case.

Labels: OS-Linux OS-Windows
Note: Issue is observed on Windows (Win 10) and Linux (Ubuntu 14.04) OS as well
Cc: e...@chromium.org

Comment 4 by e...@chromium.org, Sep 7 2017

Labels: -ReleaseBlock-Stable
Owner: robho...@gmail.com
Given that this only triggers when an element is rezized twice and in combination with ellipsis it isn't worth blocking a release on it.

It is still an important issue to fix however!

Comment 5 by e...@chromium.org, Sep 7 2017

Cc: amineer@chromium.org abdulsyed@chromium.org robhogan@chromium.org
 Issue 762978  has been merged into this issue.

Comment 7 by robho...@gmail.com, Sep 26 2017

Status: Fixed (was: Assigned)

Comment 8 by woxxom@gmail.com, Oct 13 2017

Shouldn't the fix be merged to M62?

Comment 9 by e...@chromium.org, Oct 13 2017

Given that it is broken in 61 and only happens during resize it doesn't seem worth the risk to merge it into 62.

Comment 10 by woxxom@gmail.com, Oct 13 2017

But resizing may occur in :hover CSS rule as shown in  issue 774472  thus breaking important functionality.
 Issue 774472  has been merged into this issue.
This bug is not only found on resize or :hover, and is easily reproduceable with minimal setup. Refer to the repro steps in one of the merged issues https://bugs.chromium.org/p/chromium/issues/detail?id=762978. 

This is affecting a component on our production site at Onshape and we would request it be made a 62 fix if at all possible.
Cc: sc00335...@techmahindra.com
 Issue 780820  has been merged into this issue.

Sign in to add a comment