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

Issue 815211 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 1
Type: Bug-Regression

Blocked on:
issue skia:7583



Sign in to add a comment

Patterns containing zero-area shapes are rendered incorrectly

Reported by n...@noahveltman.com, Feb 23 2018

Issue description

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

Steps to reproduce the problem:
1. Load the attached file, or visit https://codepen.io/anon/pen/Zrjmqm

What is the expected behavior?
At least three relevant cases:
1. A <pattern> with a circle with a very small, non-zero radius (e.g. 0.0001)
2. A <pattern> with nothing in it
3. A <pattern> with a zero-radius circle or zero-area rectangle in it.

The expected behavior of filling a <rect> with any of these patterns is an effectively transparent, unfilled rectangle.

What went wrong?
Filling a shape with #1 and #2 produces the expected result: no fill/transparent.

Filling a shape with #3 causes Chromium to seemingly ignore the pattern fill and fall back to the default fill (black).

Other browsers besides Chrome, and vector graphics software, show the expected behavior.

Did this work before? Yes Unsure, but it worked as of the latest version in Fall 2016

Does this work in other browsers? Yes

Chrome version: 64.0.3282.167  Channel: n/a
OS Version: OS X 10.12.6
Flash Version:
 
pattern-bug.svg
1.1 KB Download
Labels: Needs-Triage-M64 Needs-Bisect
Cc: manoranj...@chromium.org
Labels: -Pri-2 -Needs-Bisect hasbisect-per-revision ReleaseBlock-Stable Triaged-ET RegressedIn-64 M-64 Target-65 FoundIn-66 Target-66 FoundIn-64 FoundIn-65 Target-64 OS-Windows Pri-1
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on reported chrome version 64.0.3282.167 and latest canary 66.0.3355.0 using Mac 10.12.6, Windows-10  hence providing Bisect Info
Note: Issue is not seen in Ubuntu 14.04
Bisect Info:
================
Good build: 64.0.3271.0
Bad build: 64.0.3272.0

You are probably looking for a change made after 517611 (known good), but no later than 517612 (first known bad).
https://chromium.googlesource.com/chromium/src/+log/c22227095c899aed65e70000d4c23370b06f69c1..6abc3144bdeabb9d6d965896f530d12e8c0481c4

Skia CL: https://skia.googlesource.com/skia.git/+log/3e4d1fde7fab..39631f3df172

Could anyone from the DEV team help in assigning it to the right owner.

Adding ReleaseBlock-Stable as it is seems a recent break, feel free to remove it if not applicable.

Thanks!

Comment 3 by f...@opera.com, Feb 26 2018

Components: Internals>Skia
Owner: liyuqian@google.com
Status: Assigned (was: Untriaged)
Guessing 0d96175c97856d272d299c86577a34f825e810fc
Blockedon: skia:7583
Cc: pbomm...@chromium.org abdulsyed@chromium.org gov...@chromium.org
Labels: M-65

Comment 6 by gov...@chromium.org, Feb 27 2018

M65 Stable promotion is coming VERY soon next week. Your bug is labelled as Stable ReleaseBlock, pls make sure to land the fix and request a merge into the release branch ASAP. Thank you.

Comment 7 by liyuqian@google.com, Feb 27 2018

We've committed the revert of the problematic CL yesterday: https://skia-review.googlesource.com/c/skia/+/110200

Can you please check if the issue has been resolved?
Status: Fixed (was: Assigned)
Tested on ToT, the revert fixed this issue.
Labels: Merge-TBD
[Auto-generated comment by a script] We noticed that this issue is targeted for M-65; it appears the fix may have landed after branch point, meaning a merge might be required. Please confirm if a merge is required here - if so add Merge-Request-65 label, otherwise remove Merge-TBD label. Thanks.
 fmalita@, could you pls verify this on latest canary version 66.0.3356.0?
Also revert listed at #7 will be safe to merge to M65? OR can we wait until M66 as this was regressed in M64 stable?
@govind verified - 66.0.3356.0 has the fix.
Labels: Merge-Request-65
I believe that it's safe to merge as the change is very minimal

Project Member

Comment 14 by sheriffbot@chromium.org, Feb 27 2018

Labels: -Merge-Request-65 Merge-Review-65 Hotlist-Merge-Review
This bug requires manual review: We are only 6 days from stable.
Please contact the milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), bhthompson@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Merge-TBD -Merge-Review-65 Merge-Approved-65
Approving merge to M65 branch for revert listed at #7 based on comments #12 and #13. Please merge ASAP. Thank you.
Labels: -Merge-Approved-65 merge-merged-65
This is already merged to M65 at #16.

Sign in to add a comment