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

Issue 673657 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug



Sign in to add a comment

Incorrect height of block in cells in table

Reported by piotraz...@gmail.com, Dec 13 2016

Issue description

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

Steps to reproduce the problem:
for example:
1. create table
2. insert in td div (div has weigh and height -100%)
3. insert in div cintenteditable span (span has weigh and height -100%)
4. type text in one cell.

What is the expected behavior?
Div has the same height with parent node.

What went wrong?
Div has the same height with child node.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 53.0.2785.143  Channel: n/a
OS Version: 
Flash Version: 

This bug reproduced in various versions of chrome.
Example:
http://codepen.io/piotrazsko/pen/QGZLwQ
 

Comment 1 by ajha@chromium.org, Dec 15 2016

Components: Blink>Layout>Table
Labels: Needs-Milestone

Comment 2 by hdodda@chromium.org, Dec 15 2016

Cc: hdodda@chromium.org
Labels: Needs-Feedback
Tested on ubuntu 14.04 using latest chrome canary M57 #57.0.2951.0 and observed difference when compared with other browsers.

The behavior is same in older versions of chrome M30 also.

Attached screenshot of the given codepen url result in chrome and firefox browsers.

@piotrazsko-- Could you please confirm us , if this is the issue that you are talking about and if we had missed out anything.

Thanks !
673657.png
155 KB View Download

Comment 3 Deleted

In Firfox this bug reproduced, but fixed through css. In Chrome , if not set height to <td> , child block can't grow after typing in contenteditable element.
If i am setring height to <td> , all is corect.
If i am setting  height to <td> , all is corect , and if i am  setting to <td> css-style:{
height:inheried;} and setting height to <tr> - all is corect. 
This bug reproduced in windows and linux os in all new versions of Chrome.
I reported this bug also to FF developers.
Thanks!
Project Member

Comment 5 by sheriffbot@chromium.org, Dec 22 2016

Labels: -Needs-Feedback Needs-Review
Owner: hdodda@chromium.org
Thank you for providing more feedback. Adding requester "hdodda@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 6 by woxxom@gmail.com, Dec 23 2016

A DIV with height=100% in a table cell will reliably work only when its parent TD has height explicitly set via an attribute or CSS - any non-zero value will do e.g. 1px: http://codepen.io/anon/pen/qqwgox

Comment 7 by hdodda@chromium.org, Dec 27 2016

Components: Blink>HTML
Labels: -Needs-Review -Needs-Milestone M-57 OS-Windows
Owner: ----
Status: Untriaged (was: Unconfirmed)
Tested on windows 10 using latest chrome canary M57 #57.0.2963 and issue is reproduced.

Issue is seen from M30 and it is a non-regression issue.

Thanks!
Components: -Blink>HTML
It looks like this is just layout. If this is a HTML issue, feel free to re-add the label with a brief explanation why so we know what to do to help. Thanks!

Comment 9 by e...@chromium.org, Jan 2 2017

Status: WontFix (was: Untriaged)
Closing as per comment 6.

Sign in to add a comment