Re: [clreq] Rewrite of Prohibition Rules for Line Start and Line End 行首行尾禁则 (#220)

在 CSS Text 中,[line-break](https://drafts.csswg.org/css-text-3/#line-break-property) 属性 `auto` 之外的值定义如下:

> **loose**: Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers.
> **normal**: Breaks text using the most common set of line-breaking rules.
> **strict**: Breaks text using the most stringent set of line-breaking rules.
> **anywhere**: There is a soft wrap opportunity around every typographic character unit... [snipped]

按照我的理解,「不处理」对应 `anywhere`,「基本处理」对应 `loose` 或 `normal`,「严格处理」对应 `strict`,而「GB法」目前没有对应的属性值。

如果「基本处理」是最推荐的方法,我建议可以将其对应到 `line-break` 的 `normal` 而不是`loose`。这样的话,虽然对浪纹线的处理还和 CSS 不一致(因为目前浪纹线在 `normal` 中可以出现在一行的开头),但 En Dash 已经一致了。如果这样的话,我们还需要讨论中文排版需求是否需要引入一个与 CSS 对应的 `loose` 值。 @ryukeikun 觉得如何?

-- 
GitHub Notification of comment by xfq
Please view or discuss this issue at https://github.com/w3c/clreq/issues/220#issuecomment-587405830 using your GitHub account

Received on Tuesday, 18 February 2020 11:04:37 UTC