New issue
Advanced search Search tips

Issue 788532 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Pie charts in Wikipedia created by CSS are rendered incorrectly

Reported by potassiu...@gmail.com, Nov 26 2017

Issue description

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

Example URL:
https://ja.m.wikipedia.org/wiki/%E5%8C%97%E6%B5%B7%E9%81%93#.E5.9C.B0.E5.9F.9F.E7.94.9F.E6.B4.BB.E7.B5.8C.E6.B8.88.E5.9C.8F.E3.81.A8.E3.81.97.E3.81.A6.E3.81.AE.E5.8C.BA.E5.88.86

Steps to reproduce the problem:
1. Access the URL. This is the page for mobile phones, but you can also access here through PC.
2. Narrow the width of the page until the layout is automatically adjusted (perhaps by Responsive Web Design).
3. See the pie chart entitled "地域生活経済圏としての区分".

What is the expected behavior?
The pie chart should be always drawn correctly in a round shape.

What went wrong?
Only when the width of the page is narrow, the pie chart is drawn in a square shape.

The contents of the pie chart protrude "border" which should have become rounded by "border-radius: 100px", and it is becoming square. The CSS "overflow: hidden" for hiding the part that protrudes "border" does not seem to work well either.

Please see also attached file.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

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

Strangely, on the page for PC (not for mobile), this trouble does not happen:
https://ja.wikipedia.org/wiki/%E5%8C%97%E6%B5%B7%E9%81%93#.E5.9C.B0.E5.9F.9F.E7.94.9F.E6.B4.BB.E7.B5.8C.E6.B8.88.E5.9C.8F.E3.81.A8.E3.81.97.E3.81.A6.E3.81.AE.E5.8C.BA.E5.88.86
 
chrome_bug_wiki.png
213 KB View Download
Additional notes:
Even if the width of the page is wide, it may occur, so I do not know the precise occurrence condition.
The correct title of the pie chart is "地域生活経済圏の人口比率".
"地域生活経済圏としての区分" is the name of a paragraph.
Sorry for the mistake.

Comment 3 by ajha@chromium.org, Nov 27 2017

Labels: Needs-Bisect
Components: Blink>Paint
Cc: ccameron@chromium.org
Labels: -Type-Compat -Needs-Bisect Triaged-ET M-64 Needs-Triage-M62 OS-Linux OS-Mac Type-Bug
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Mac 10.12.6, Win-10 and Ubuntu 14.04 using chrome reported version #62.0.3202.94 and latest canary #64.0.3277.0.
This is a non-regression issue as it is observed from M50 old builds. 

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!
Owner: schenney@chromium.org
Status: Assigned (was: Untriaged)
Another missing border radius clip, this time with a bunch of absolute positioned children that are using border-width to hack up a pie chart. I'm kinda amazed it works at all.
Cc: -ccameron@chromium.org
Evidence suggests this is fixed by https://chromium-review.googlesource.com/c/chromium/src/+/797337
Status: Fixed (was: Assigned)
Fixed for M-65.

Sign in to add a comment