diff --git a/docs/reference/html-schema.mdx b/docs/reference/html-schema.mdx index 883888ad3d..e11aa8d93f 100644 --- a/docs/reference/html-schema.mdx +++ b/docs/reference/html-schema.mdx @@ -96,7 +96,7 @@ unbounded animation, and timeline-free compositions need an explicit duration. | --- | --- | --- | | `id` | Yes | Stable identifier for timing, editing, and animation | | `data-start` | Yes | Start in seconds or a relative timing expression | -| `data-duration` | Yes for DOM, image, and nested-composition clips | Visible slot length in seconds | +| `data-duration` | Yes for DOM and nested-composition clips; optional for image (3 s default), video and audio (source length) | Visible slot length in seconds | | `data-track-index` | No | Studio timeline lane, display only. The render never reads it and it does not prevent overlap | | `class="clip"` | Recommended for authored timed DOM and image elements | Layout and tooling convention. Visibility is keyed off `data-start`, but the shared `.clip` rule supplies the full-frame box | diff --git a/packages/core/docs/core.md b/packages/core/docs/core.md index 262094d20d..2ec22dfdc1 100644 --- a/packages/core/docs/core.md +++ b/packages/core/docs/core.md @@ -183,7 +183,7 @@ A clip is any discrete block on the timeline. We represent clips as HTML element - `id` — Unique identifier (e.g., "el-1") - `data-start` — Start time in seconds, or a clip `id` reference. See [Relative Timing](#relative-timing). -- `data-duration` — Duration in seconds. Required for `` clips. Optional for `