transform-origin is calculated incorrectly
Reported by
gilberts...@gmail.com,
Nov 27 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce the problem: 1. Open https://codepen.io/davidgilbertson/pen/pdZOBR 2. Note that the square is not rotated around its center What is the expected behavior? That the square rotates about its center (as it does in Chrome 62) What went wrong? The square is not rotated around its center Did this work before? Yes 62 Does this work in other browsers? Yes Chrome version: 64.0.3278.0 Channel: stable OS Version: 10.0 Flash Version:
,
Nov 27 2017
Sorry, for the breakage, but you need to add 'transform-box: fill-box' to the 'rotated' class to make this work. This also applies to Firefox and the latest version of Safari.
,
Nov 27 2017
"Able to reproduce the issue on reported version 64.0.3278.0 using Mac 10.12.6, Ubuntu 14.04 and Windows 10. Bisect Info: ================ Good build: 64.0.3263.0 Bad build: 64.0.3264.0 CHANGELOG URL: You are probably looking for a change made after 515281 (known good), but no later than 515282 (first known bad). https://chromium.googlesource.com/chromium/src/+log/daf11e8f4eeed2d409b857dca2c83f7613334e9a..e6fbde070b59cde157b26db7251e80436b14e5a3 suspect: https://chromium-review.googlesource.com/759040 Suspecting same from changelog. @Fredrik Söderquist: Please confirm the issue and help in re-assigning if it is not related to your change. Note: Adding label RBS as it seems to be a recent regression. Please feel free to remove the same if not appropriate. Thanks!"
,
Nov 27 2017
Working as intended per spec and other browsers.
,
Nov 27 2017
Aha, before logging the bug I tried transform-box: fill-box and it didn't appear to work. But I now see that's a bug where the page isn't updated when I change that property (e.g. in DevTools) until I change some other property. Thanks for the quick action.
,
Jan 31 2018
Issue 807588 has been merged into this issue. |
|||
►
Sign in to add a comment |
|||
Comment 1 by ajha@chromium.org
, Nov 27 2017