Link carries type="button" on an <a>
还没有人认领这个 Issue。
评估
调研方向
On the 2.0 line, inspect link.rb and its default_attrs, then review the link/* snapshots. Run the strict golden HTML suite or the relevant link snapshot tests first. Done means the anchor no longer includes type="button" and the affected snapshots are re-recorded with the diff reviewed.
由索引模型根据 Issue 内容生成。
描述
- Where:
link.rbdefault_attrs{type: "button", ...}, copied from Button. Snapshotslink/*. - Effect:
typeon an anchor names the linked resource's MIME type;buttonis meaningless there. Invalid, harmless. - Fix: drop
type:from Link'sdefault_attrs; re-recordlink/*.
Surfaced by the strict lane of the golden HTML suite (PR #548), which pins what 1.6 renders today — this defect included. Per maintainer decision (2026-09-19) main stays as is: this is addressed on the 2.0 line, and the golden snapshots that pin it are re-recorded there with the diff reviewed.
Source: design/v2/follow-up-issues.md.
- 主要语言
- Ruby
- 星标
- 1k
- 派生
- 67
- 平均合并
- 2 天 19 小时
- 30 天内合并 PR
- 18
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ruby-ui/ruby_ui 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
-
bug
难度 1/5 1-3 小时 新手友好度 35/100
-
bug
难度 2/5 1-3 小时 新手友好度 35/100
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 88/100
-
バグ
难度 1/5 1 小时以内 新手友好度 92/100
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 75/100
voxpupuli/puppet-epel#186 · 1 条评论 ·