New issue
Advanced search Search tips

Issue 867721 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

1px linear-gradient with 1px stops disappears when width exceeds 256 pixels

Reported by bazalev....@gmail.com, Jul 26

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce the problem:
div {
  width: 50px;
  height: 100px;
  border: 10px solid #fff;
  background-color: #fff;
  background-size: 256px auto;
  background-repeat: repeat-x;
  background-image: linear-gradient(to right, red 1px, transparent 1px, transparent 2px);
}

Change background-size to 257px and the line will disappear.

What is the expected behavior?

What went wrong?
Change background-size to 257px and the line will disappear.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 67.0.3396.99  Channel: n/a
OS Version: OS X 10.13.1
Flash Version: 

checked in versions 67, 68, 69
 
Screen Shot 2018-07-25 at 5.png
499 KB View Download
Screen Shot 2018-07-25 at 5.png
499 KB View Download
Labels: Needs-Triage-M67
Cc: phanindra.mandapaka@chromium.org
Components: Blink>CSS
Labels: Triaged-ET Target-70 M-70 FoundIn-70 OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on reported chrome version 67.0.3396.99 also on latest chrome 70.0.3503.0 using Mac 10.13.5 and Windows 10.

NOTE: issue not seen on Ubuntu. 

Same behavior is seen on M60(60.0.3112.113) hence considering it as non-regression and marking it as Untriaged.

Thanks! 
Components: -Blink>CSS Blink>Paint
Owner: schenney@chromium.org
Status: Assigned (was: Untriaged)
Summary: 1px linear-gradient with 1px stops disappears when width exceeds 256 pixels (was: 1px linear-gradient disappears under certain circumstances)
I strongly suspect this is a Skia raster issue. But I'll look at what we request from the background image code.
cr867721.html
319 bytes View Download
Status: Started (was: Assigned)

Sign in to add a comment