Support `animation @fill`
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
调研方向
首先跟踪 TTML2 的 animate 元素及其 fill 属性的处理方式,然后将当前默认行为与 TTML2 规范进行比较。完成的标准是:默认行为使用 remove 语义,而 fill="freeze" 保留动画的结束值,包括 issue 中所述的 gain 示例。
由索引模型根据 Issue 内容生成。
描述
The TTML2 animate element supports a fill attribute.
The default of "remove" means that at the end of the animation, the end value is reverted. In general we want the semantic associated with the alternative value, "freeze" to apply, where whatever the end value is gets retained.
For example:
<div begin="0s" end="2.3s">
<animate begin="0.0s" end="0.2s" tta:gain="1;0.4"/>
<animate begin="2.1s" end="2.3s" tta:gain="0.4;1"/>
This varies the gain from 1 -> 0.4 between 0.0 and 0.2s, and then varies it from 0.4 -> 1 between 2.1s and 2.3s. But what happens between 0.2s and 2.1s? By default the gain value reverts to its default of 1, but we want to "freeze" it at 0.4 in this example:
<div begin="0s" end="2.3s">
<animate begin="0.0s" end="0.2s" fill="freeze" tta:gain="1;0.4"/>
<animate begin="2.1s" end="2.3s" tta:gain="0.4;1"/>
Our current default behaviour is actually "freeze" but that's wrong - it should be "remove" according to the spec.
- 主要语言
- JavaScript
- 星标
- 8
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bbc/adhere-lib 的其他 Issue
-
Support DAPT未关闭
难度 5/5 一周以上 新手友好度 25/100
bbc/adhere-lib#91 ·
-
bug
难度 3/5 1-2 天 新手友好度 25/100
bbc/adhere-lib#81 ·
-
难度 4/5 3-5 天 新手友好度 15/100
bbc/adhere-lib#77 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
bbc/adhere-lib#52 ·
-
难度 4/5 3-5 天 新手友好度 35/100
bbc/adhere-lib#36 ·
相似的 Issue
-
from-agent
难度 2/5 1-3 小时 新手友好度 70/100
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
andromarces/agent-loops#1928 ·
维护者通常 1 天内回复
-
enhancement help wanted
难度 2/5 1-3 小时 新手友好度 88/100
laaielichter/AgentHaven#79 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
microsoft/playwright#44109 ·
维护者通常 1 天内回复
-
Content:JS goal: up-to-date needs BCD update
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复