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

Issue 768322 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 777156
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Table layout inconsistent under zoom when borders are present

Reported by potassiu...@gmail.com, Sep 25 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Example URL:
http://sinst.html.xdomain.jp/zengaku/jkkn/chrome_bug2.html

Steps to reproduce the problem:
1. Use a desktop PC
2. Place HTML tags of the table such as <td> and <th> (Wide letters such as Japanese and Korean is desirable)
3. Specify border property in CSS for <th> or <td> (like 'border: 2px solid black')
4. Change the display zoom of the page

What is the expected behavior?
In the specification of CSS, the width of the element itself and the width of border should be independent, so even if the width of border is changed, the width of the element itself should not be affected.

What went wrong?
Normally, the width of the table is automatically determined from the width of the contents of <th> or <td>, but if you specify border property in CSS for <th> or <td>, the rendering of table width becomes unstable.

Specifically, when changing the display zoom of the page, the rendering width seems to be slightly smaller than the actual character string width depending on the zoom, and the last letter is unnecessarily breaked and wrapped onto the next line.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? Yes Chrome 54

Does this work in other browsers? Yes

Chrome version: 61.0.3163.100  Channel: stable
OS Version: 10.0
Flash Version: 

This bug is hard to happen in English.
(However, in an extremely small zoom such as 33%, I've confirmed the same bug in English text.)
 
Components: -Blink Blink>Layout Blink>Paint
Cc: robhogan@chromium.org
Components: -Blink>Paint
Status: Untriaged (was: Unconfirmed)
Attaching the page for posterity.

This would appear to be a layout issue for now.
cr768322.html
2.3 KB View Download
Cc: wangxianzhu@chromium.org
Summary: Table layout inconsistent under zoom when borders are present (was: Table border rendering bug in Chrome 61)
And I did confirm it on Linux. Layout changes for both English and Japanese at various zoom scales.
Cc: dgro...@chromium.org
Components: -Blink>Layout Blink>Layout>Table

Comment 5 by robho...@gmail.com, Sep 25 2017

Mergedinto: 377847
Status: Duplicate (was: Untriaged)
This bug has been handled as duplication of issue 377847, but unfortunately I'm not convinced much...

Has this bug really existed for such a long time?

At least, it may be true that the cause of this bug is strongly related to issue 377847,
but the phenomenon of this " Issue 768322 " itself began to occur only after chrome 55 and later.

That's why I've wrote "Did this work before? Yes Chrome 54" above.

In other words, it is certain that something new changes have been made since chrome 55.
That change must be the root cause of this bug.
I hope that the investigation of the cause will progress.
Labels: Needs-Bisect
Status: Untriaged (was: Duplicate)
TE team, can you run a bisect using the reporter's URL if it's still available or the attachment in c3 otherwise?

The reporter notes the problem started in chrome 55.

Potassium, note that even if we do find the change that caused this, we might not be able to practically fix it until issue 377847 is fixed.
Thank you for noticing my postscript.

"even if we do find the change that caused this, we might not be able to practically fix it until issue 377847 is fixed"

OK, I acknowledge that point.
Labels: -Type-Bug -Pri-2 -Needs-Bisect hasbisect-per-revision ReleaseBlock-Stable Triaged-ET M-63 Needs-Milestone OS-Linux OS-Mac Pri-1 Type-Bug-Regression
Owner: wangxianzhu@chromium.org
Status: Assigned (was: Untriaged)
Able to reproduce the issue on Mac 10.12.6, Win-10 and Ubuntu 14.04 using chrome stable version #63.0.3239.108 but the same is not reproducible in the latest canary #65.0.3303.0 and latest beta #64.0.3282.39.

Reverse Bisect Information:
=====================
Good build: 64.0.3252.0  Revision(512362)
Bad Build : 64.0.3251.0  Revision(512036)

Change Log URL: 
https://chromium.googlesource.com/chromium/src/+log/571e1dc6eb49feda8fcf4b875377af4cf9d28b4a..1e16b03e287a4a593f5899f4de3d605be81f364b

From the above change log suspecting below change
Change-Id: I0f9ebafe8b8e1ebbdea01716a7dca14961dbb678
Reviewed-on: https://chromium-review.googlesource.com/742141

wangxianzhu@ - Could you please check and merge the fix to M-63 if it is a valid candidate.
Note: Adding label RBS as it seems to be a recent regression. Please feel free to remove the same if not appropriate.

Thanks...!!
Labels: -M-63 M-64
Mergedinto: -377847 777156
Status: Duplicate (was: Assigned)
We won't fix such bugs in M63. M64 stable will be released soon.

Sign in to add a comment