Files
ElyOffice/tasks/reviews/C08.4-r2.md
T

6 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
FAIL
patches/libreoffice/0008-lok-toc-caption-formula-without-dialogs.patch:253 — [P2] 第一轮公式布局缺陷仅修复了浮动公式:遇到 FLY_AS_CHAR 时主动丢弃已读取的框架属性,随后删除对象并创建默认公式,行内公式的间距与垂直对齐仍会丢失,违反 DOC-10。实际内核探针:加载含 `a over b` 的 FODT,公式为 `text:anchor-type="as-char"`,其局部框架属性为 `fo:margin-left="0.25in"`、`fo:margin-right="0.5in"`、`style:vertical-pos="top"`、`style:vertical-rel="line"`;点击选中后 `.uno:Formula` 完整读回原式,执行 `formula.insert(["c over d"])` 成功,保存后的上述间距与对齐消失,局部属性只剩默认 `style:vertical-pos="from-top"`。当前回归只检查页锚点,遗漏行内公式。修复方向:在原嵌入公式对象上更新原式并保留框架与布局属性,覆盖行内公式的间距、垂直对齐及一步撤销回归。
crates/ely-lok/src/review.rs:150 — [P2] 批注转换仍用 `trim_end()` 删除真实正文末尾的空段落,审阅面板展示偏离内核正文,违反 DOC-11;第一轮新增的中间空段落回归覆盖不到此路径。实际内核探针:执行 `comment.insert(["a\n\n"])`,`.uno:ViewAnnotations` 返回 `<div>a</div><div><br/></div><div><br/></div>`,`review::notes` 却返回 `"a"`,两个末尾空段落被静默删除;打开带同样批注的文档也走此转换。修复方向:仅消除 HTML 段落转换产生的末尾分隔符,完整保留正文自身的空段落与空白,并增加内核返回值的末尾连续空段落回归。