New issue
Advanced search Search tips

Issue 630958 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

box-shadow bleeds on retina screen

Reported by morri...@gmail.com, Jul 25 2016

Issue description

Example URL:

Steps to reproduce the problem:
1. Visit a page that has code like

<html>
<head>
<title>box-shadow test</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=2.0" />
<style type="text/css">

.container {
  box-shadow: inset 10px 0 0 #000;
  padding: 60px;
}
ul {
  margin: 1px;
}
ul li {
  display: inline;
}
</style>
</head>

<body>

<ul>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
<li>item 4</li>
<li>item 5</li>
<li>item 6</li>
</ul>

<div class="container">

  <button>Button</button>

</div>

</body>
</html>

2. View the page on a android on a device with a retina screen. (Tested on Nexus 5X and 6P)

What is the expected behavior?
No line should be shown under the button.

What went wrong?
There is a thin line under the button.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 51.0.2704.81  Channel: n/a
OS Version: 6.0.1
Flash Version: 

It seems to bleeds from the box-shadow if there is an object above the box-shadow that re-adjusts the render somehow?

Works as expected on Firefox for Android.

Unable to reproduce on a Mac with a retina screen.
 
Components: -Blink Blink>Paint
Confirmed on Nexus 5X. Looks to be some type of subpixel clipping issue. As you change the zoom level the horizontal lines go away.
630958.html
509 bytes View Download
Cc: chrishtr@chromium.org schenney@chromium.org
Status: Available (was: Unconfirmed)
Present in M52 also.

Who do we assign these Android only paint bugs to? This is the second one and I have no idea who is best paced to look into them. In particular, who even has all the insight into what is different about the Android graphics pipeline.
Screenshot_20160725-111157.png
34.3 KB View Download
schenney, does this reproduce if you remove the meta viewport? If not, then it may
be a Ganesh bug.
630958-no-meta.html
398 bytes View Download
Components: -Blink>Paint Internals>Skia
No reproduction without the meta viewport tag. So assigning to Skia to see what they can do.

Can we dump SkPictures out of Android in any way?
Cc: fmalita@chromium.org
Yes. You can use about:inspect?tracing to connect remotely to trace android, and record frame viewer frames.
Components: Blink>Paint
Project Member

Comment 9 by sheriffbot@chromium.org, Jul 27 2017

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. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold PaintTeamTriaged-170731 BugSource-User
Status: Available (was: Untriaged)
Still happens. There's one above and below the button now.
Project Member

Comment 11 by sheriffbot@chromium.org, Aug 1

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
Status: Available (was: Untriaged)
Still happens.

Sign in to add a comment