WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
194395
Fix animation rendering on the webkit.org homepage
https://bugs.webkit.org/show_bug.cgi?id=194395
Summary
Fix animation rendering on the webkit.org homepage
Jon Davis
Reported
2019-02-07 08:58:28 PST
When the slow animation on the webkit.org homepage completes, the position of the compass element often jumps and becomes incorrectly positioned.
Attachments
Patch
(2.86 KB, patch)
2019-02-07 08:59 PST
,
Jon Davis
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Jon Davis
Comment 1
2019-02-07 08:59:49 PST
Created
attachment 361402
[details]
Patch
Nikita Vasilyev
Comment 2
2019-02-07 11:52:26 PST
Comment on
attachment 361402
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=361402&action=review
Could you attach a screenshot of the bug?
> Websites/webkit.org/wp-content/themes/webkit/front-header.php:-103 > - @-webkit-keyframes bgspin { > - from { > - transform: translateY(-400px) rotate(0); > - -webkit-transform: translateY(-400px) rotate(0deg); > - } > - > - to { > - transform: translateY(-400px) rotate(360); > - -webkit-transform: translateY(-400px) rotate(360deg); > - } > - } > -
Nice that we don't need to use -webkit- prefix here anymore.
Nikita Vasilyev
Comment 3
2019-02-07 12:33:36 PST
Do you know why it was jumping? Was it related to font-size changes (I see you previously used rem units)?
Nikita Vasilyev
Comment 4
2019-02-07 13:35:34 PST
Comment on
attachment 361402
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=361402&action=review
> Websites/webkit.org/wp-content/themes/webkit/front-header.php:51 > + transform: translateY(-450px);
What's the reasoning behind this change? Is it just gardening? E.g. using pixels for consistency.
> Websites/webkit.org/wp-content/themes/webkit/front-header.php:81 > + transform: translateY(-400px);
Discussed offline. This line fixes the issue, the rest is a cleanup. I'd r+.
Nikita Vasilyev
Comment 5
2019-02-07 13:37:02 PST
(In reply to Nikita Vasilyev from
comment #4
)
> Comment on
attachment 361402
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=361402&action=review
> > > Websites/webkit.org/wp-content/themes/webkit/front-header.php:51 > > + transform: translateY(-450px); > > What's the reasoning behind this change? Is it just gardening? E.g. using > pixels for consistency.
Ignore my question. We've discussed this — pixels are used for consistency.
Devin Rousso
Comment 6
2019-02-07 16:39:58 PST
Comment on
attachment 361402
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=361402&action=review
rs=me
> Websites/webkit.org/wp-content/themes/webkit/front-header.php:76 > + animation-name: bgspin;
If you can reproduce the bug we discussed offline about this (e.g. a reduction), please file a bug for it :)
WebKit Commit Bot
Comment 7
2019-02-07 17:21:39 PST
Comment on
attachment 361402
[details]
Patch Clearing flags on attachment: 361402 Committed
r241178
: <
https://trac.webkit.org/changeset/241178
>
WebKit Commit Bot
Comment 8
2019-02-07 17:21:41 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9
2019-02-07 17:22:27 PST
<
rdar://problem/47903889
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug