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

Issue 773490 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

table-cell styles not applied to custom component? on stylesheet load

Reported by jamie.p...@gmail.com, Oct 10 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Steps to reproduce the problem:
1. Be crazy, and manually add display:table-cell styles to non-table cell, (undefined or defined) custom elements to in css. (e.g. `f-field > label:first-child { display: table-cell }`)
2. Load HTML first, then load a stylesheet with the table-cell styles
3. notice your table-cell elements do not align with each other as they should.

What is the expected behavior?
`display:table-cell` elements with the same child index inside `display:table-row` elements which share the same parent container should resize to the width of the largest of the set, even if they are custom elements and the styles are applied after the initial dom content is loaded.

What went wrong?
the `display:table-cell` elements (f-field > label) within the `display:table-row` elements (f-field) did not resize to match the width of the widest element when the stylesheet was applied.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 61.0.3163.100  Channel: stable
OS Version: 4.11.9-1-ARCH
Flash Version: 27.0.0.130

A known work-around for this problem is to remove the problem elements or some ancestor from the DOM, and re-add them immediately.
 
tablecells.html
2.9 KB View Download
Note: also tested on Version 63.0.3236.3 (Official Build) canary SyzyASan (32-bit)
tablecellfail.png
13.3 KB View Download
table-cell-what.mp4
359 KB View Download
Labels: Needs-Triage-M61
Cc: sc00335...@techmahindra.com
Components: -Blink>Layout Blink>Layout>Table
Labels: Triaged-ET M-63 OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on reported version 61.0.3163.100 and latest dev 63.0.3236.0 using Ubuntu 14.04 with attached html file in Comment#0.

Same behaviour is seen from M50[50.0.2166.0]. Hence considering this as Non-regression and marking as Untriaged. 

Comment 5 by e...@chromium.org, Oct 11 2017

Cc: dgro...@chromium.org
Status: Available (was: Untriaged)
Project Member

Comment 6 by sheriffbot@chromium.org, Oct 12

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
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)
Still reproduces on chrome 69

Sign in to add a comment