Skip to content

[css-animationworklet] Migrate wicg/animationworklet repo to css-houdini-drafts #789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 147 commits into from
Aug 10, 2018

Conversation

majido
Copy link
Contributor

@majido majido commented Aug 9, 2018

Fixes #788.

Brings the full history of wicg/animationworklet repository using git merge --allow-unrelated-histories.
⚠️ Don't squash or rebase.

majido and others added 30 commits September 14, 2016 11:46
Add some demos
remove "custom effects libraries with reliable performance" because I don't think it adds anything to the above specific effects (motivation already says this is all about reliable performance).
I think It didn't make sense for the backgrounds to be position:absolute - they'd scroll with the scroller and then be transformed more.  Even if wanted to show counter-transforms, in the slippage model this could look terrible (jitter).

Instead rely on the root document scrolling and make the backgrounds position:fixed.  Overflow scroller divs are also possible when the background isn't a descendent of the scroller, but that's more complex and less common.

@majido @flackr @ianvollick, agree?
Too hard to keep up to date with all the contributions we get
"input" and "output" seem close enough
majido and others added 27 commits July 27, 2017 14:31
WorkletAnimation no longer has a specific animation class
Convert the "Threaded Model" recommendations into notes
Remove left over code from hidey bars example
Fix demo links (googlechrome -> googlechromelabs)
Expose only to AnimationWorklet
…w3c#102)

Remove usage of AnimationEffectReadonly and update WorkletGroupEffect

- Replace AnimationEffectReadonly with AnimationEffect since it no longer exist in upstream.
- Update WorkletGroupEffect interface to match proposal here. Note that this removes dependency on web-animation level-2 spec since it conflicts with web-animation level-2.

Minor clean ups:
 - use xml for idls instead of pre so we don't need to escape. See https://tabatkins.github.io/bikeshed/#xmp
- Remove unused interface definitions 


Fixed w3c#101
We resolved to continue using the "cache" props approach [here](w3c#743 (comment)) but  we still need to be consistent in using webidl algorithms for invoking and construction operation.

The following changes fix this:
 - Use VoidFunction type for constructor, and Function type for animate and destroy callbacks
 - Use  convert algorithm to convert incoming values to proper types upon registration
 - Use invoke/construct algorithms to call or construct. This ensure the proper  setup in place which addresses the original reported issue.

Fixes w3c#94
Add notes to intro and threading section making it clear they are not normative.

Other small changes:

- Remove empty security and privacy sections
- Use should instead of must in one case.
Merge wicg/animationworklet repository without losing history.
This is done using `git merge --allow-unrelated-histories`.
@bfgeek bfgeek self-requested a review August 10, 2018 16:49
@bfgeek bfgeek merged commit 3d9216e into w3c:master Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.