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.
,
Oct 10 2017
,
Oct 10 2017
,
Oct 11 2017
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.
,
Oct 11 2017
,
Oct 12
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
,
Oct 12
Still reproduces on chrome 69 |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by jamie.p...@gmail.com
, Oct 10 2017