RESOLVED INVALID 112852
Flex items can shake during animations
https://bugs.webkit.org/show_bug.cgi?id=112852
Summary Flex items can shake during animations
Alan Stearns
Reported 2013-03-20 15:39:03 PDT
If you have flex items distributed using center, space-around or space-between, the position of flex items can shake during animations. It would be much better to avoid single-pixel changes in position if possible.
Attachments
test file (883 bytes, text/html)
2013-03-20 15:39 PDT, Alan Stearns
no flags
Alan Stearns
Comment 1 2013-03-20 15:39:24 PDT
Created attachment 194136 [details] test file
Tony Chang
Comment 2 2013-03-20 15:53:35 PDT
The green box doesn't move on my machine (Chromium Linux). It seems like this could depend on any of the following: 1) Sub pixel layout 2) High DPI display (like a Retina MBP) 3) The width of your browser window (even or odd) Can you post some details about your setup? In theory, I think sub pixel layout should prevent any shaking.
Alan Stearns
Comment 3 2013-03-20 15:57:47 PDT
Aha! It reproduces for me in Mac Chrome 25, but does not reproduce in Chrome Canary. I'm closing this as invalid.
Tony Chang
Comment 4 2013-03-20 16:04:58 PDT
Yeah, it looks like SUBPIXEL_LAYOUT isn't enabled in Chrome 25 or Chrome 26, but should be on for Chrome 27.
Levi Weintraub
Comment 5 2013-03-21 12:24:13 PDT
(In reply to comment #4) > Yeah, it looks like SUBPIXEL_LAYOUT isn't enabled in Chrome 25 or Chrome 26, but should be on for Chrome 27. Huh? We enabled sub-pixel in Chrome 21.
Tony Chang
Comment 6 2013-03-21 13:17:10 PDT
(In reply to comment #5) > (In reply to comment #4) > > Yeah, it looks like SUBPIXEL_LAYOUT isn't enabled in Chrome 25 or Chrome 26, but should be on for Chrome 27. > > Huh? We enabled sub-pixel in Chrome 21. Oh, then I'm not sure. I didn't see SUBPIXEL_LAYOUT defined in features.gypi on the Chrome 25 release branch: http://trac.webkit.org/browser/branches/chromium/1364/Source/WebKit/chromium/features.gypi
Levi Weintraub
Comment 7 2013-03-21 13:20:27 PDT
(In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #4) > > > Yeah, it looks like SUBPIXEL_LAYOUT isn't enabled in Chrome 25 or Chrome 26, but should be on for Chrome 27. > > > > Huh? We enabled sub-pixel in Chrome 21. > > Oh, then I'm not sure. I didn't see SUBPIXEL_LAYOUT defined in features.gypi on the Chrome 25 release branch: > http://trac.webkit.org/browser/branches/chromium/1364/Source/WebKit/chromium/features.gypi I believe it was originally (and probably incorrectly) simply specified in platform.h
Levi Weintraub
Comment 8 2013-03-21 13:22:18 PDT
(In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #5) > > > (In reply to comment #4) > > > > Yeah, it looks like SUBPIXEL_LAYOUT isn't enabled in Chrome 25 or Chrome 26, but should be on for Chrome 27. > > > > > > Huh? We enabled sub-pixel in Chrome 21. > > > > Oh, then I'm not sure. I didn't see SUBPIXEL_LAYOUT defined in features.gypi on the Chrome 25 release branch: > > http://trac.webkit.org/browser/branches/chromium/1364/Source/WebKit/chromium/features.gypi > > I believe it was originally (and probably incorrectly) simply specified in platform.h http://trac.webkit.org/changeset/117815
Note You need to log in before you can comment on or make changes to this bug.