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

Issue 796713 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Rotated image not displayed correctly

Reported by sc...@photolynx.com, Dec 20 2017

Issue description

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

Steps to reproduce the problem:
1) Look at https://jsfiddle.net/daneren2005/ca0rovs3/112/
2) Add rotation and a bunch of drop-shadow to an image.

This is a bit tricky to reproduce.  If you change the img width/height from a percentage to an absolute pixel number it will stop breaking.  In my website with much more stuff going on it is broken with % sizing though.  On my site it also only breaks on some image/rotation combinations (though I could not find a common cause between them).  If you take off the drop-shadow from the inner div it will render fine.  If you take off the rotation it will render fine.

The work around I found was to apply `backface-visibility: hidden` to the outer element.  Unless I am misunderstanding the property this should not be making more of the element visible like this.

What is the expected behavior?
It should show the full image

What went wrong?
Only a part of the image is displayed.  In other browsers it displays the full image.

Did this work before? N/A 

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

Using Windows 10 with a normal install of Chrome with nothing special installed that I am aware of.  I've had multiple customers contact me about this same issue so I don't think it is isolated to one OS/hardware configuration.
 

Comment 1 by sc...@photolynx.com, Dec 20 2017

Here are screenshots of a live site with and without the `backface-visibility: hidden` work around applied.
with backface-visibility.png
101 KB View Download
without backface-visibility.png
37.1 KB View Download
Cc: sc00335...@techmahindra.com
Labels: Needs-Triage-M63 Triaged-ET Needs-Feedback
Unable to reproduce this issue on reported version 63.0.3239.108 using windows 10 with steps mentioned below. Attaching screencast for reference.

1.Navigated to https://jsfiddle.net/daneren2005/ca0rovs3/112/ and observed image.
2. Now removed /* */ for outer element and clicked RUN
3. Observing image same as before. i.e; Entire image is seen without any chop.

@Reporter: Please check the video and let us know if we miss anything. If possible please guide us with a video. This would help in further triaging of the issue.

Thanks!
796713.mp4
2.9 MB View Download

Comment 3 by sc...@photolynx.com, Dec 21 2017

Here is a screenshot.  I'm not really sure if a video will add any more information since it would just be a video of me opening the jsfiddle.  I'm not really sure what other info I could give to help reproduce.  Is there anything else you can think of which would help?
2017-12-21.png
149 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Dec 21 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "sc00335628@techmahindra.com" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: Blink>Canvas
Labels: -Type-Bug -Pri-2 ReleaseBlock-Stable M-63 OS-Mac Pri-1 Type-Bug-Regression
Owner: reed@google.com
Status: Assigned (was: Unconfirmed)
Able to reproduce this issue on reporte version 63.0.3239.108 but fixed on latest beta 64.0.3282.39 and on latest canary 65.0.3301.0 using Windows 10 and Mac 10.13.1 with steps mentioned in comment#0. Hence providing reverse bisect info.

Observations:
===========
1. Issue is not reproducible on Ubuntu 14.04
2. Issue is not reproducible on Windows10 Surface Pro

Last Bad Build: 64.0.3279.0 
First Good Build: 64.0.3280.0

CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/b4c579cc9e9c123839a0674bda83b4a91276c905..04f4824dd3e9ff81d39072d83daecee65a4b9781

Skia Roll:https://skia.googlesource.com/skia.git/+log/12b69eedeed5..0f8e4dbd28d1

Probably fixed by  https://skia-review.googlesource.com/76802 

@reed: Please confirm whether this is safe to merge to M-63.

Adding RB-Stable for M63. Please remove if not the case.

Thanks!

Comment 6 by reed@google.com, Dec 22 2017

Owner: mtklein@chromium.org
Yep, it should be safe and easy to merge this to M63.

  399def9 remove clip-bounds query overrides from SkColorSpaceXformCanvas
Cc: pbomm...@chromium.org
 mtklein@ want to check since the issue doesn't reproduce on M64 and above can we live with this for M63, Since M64 would hit stable on Jan-23rd(if all go's well) since at this point we don't have any plans can we live with this for next 3 weeks.

Please correct me if I am not accessing the impact of the bug.
There is a work around so I am fine with waiting until 1/23 for the fix release.  Obviously I am not the only one affected by this, but no one else has reported it yet so hopefully the impact is fairly small.  Just my 2 cents.
Components: -UI
Labels: OS-Android OS-Chrome OS-Linux
Labels: -M-63 M-64
This fix has missed the M63 train. M64 goes stable in 3 weeks. Also it's not a stable regression, as the current stable versions that are live already have the bug.
Let's close this bug then. Mike?
Labels: -ReleaseBlock-Stable -Needs-Triage-M63
Status: Fixed (was: Assigned)
Oh, yep, sorry, I think pbommana@ and I decided to do that last week over chat, but I never got back around to close of the bug.
Labels: Merge-TBD
[Auto-generated comment by a script] We noticed that this issue is targeted for M-64; 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-64 label, otherwise remove Merge-TBD label. Thanks.
Labels: -Merge-TBD
Per comments above, doesn't seem like a merge is required. Removing Merge-TBD

Sign in to add a comment