Skip to content
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

[css-animationworklet] Move interface idls close to definitions for easier readability. #926

Closed
flackr opened this issue Aug 15, 2019 · 0 comments
Assignees
Labels
css-animationworklet-1 CSS AnimationWorklet API

Comments

@flackr
Copy link
Contributor

flackr commented Aug 15, 2019

The Animation Worklet section introduces the CSS.animationWorklet interface and the AnimationWorkletGlobalScope, however the idl for paintWorklet follows the introduction of the global scope, and the idl for AnimationWorkletGlobalScope is in a later section.

I think for readability, similar to Paint Worklet the idl for each should follow their introduction in the Animation Worklet section.

i.e.

Animation Worklet {#animation-worklet-desc}
===========================================
<dfn>Animation Worklet</dfn> is a {{Worklet}} responsible for all classes related to custom
animations. The worklet can be accessed via {{animationWorklet}} attribute.

The {{animationWorklet}}'s <a>worklet global scope type</a> is {{AnimationWorkletGlobalScope}}.

<idl for animationWorklet>

{{AnimationWorkletGlobalScope}} represents the global execution context of {{animationWorklet}}.

<idl for AnimationWorkletGlobalScope>
@majido majido added the css-animationworklet-1 CSS AnimationWorklet API label Sep 16, 2019
@majido majido self-assigned this Oct 22, 2019
@majido majido closed this as completed Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-animationworklet-1 CSS AnimationWorklet API
Projects
None yet
Development

No branches or pull requests

2 participants