[Webkit-unassigned] [Bug 181169] The left quotation should be able to appear in the front of a line in Chinese text.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 26 21:42:54 PST 2017


--- Comment #1 from Myles C. Maxfield <mmaxfield at apple.com> ---
This behavior is compliant with the spec and interoperable (to some degree) with all the major browsers on the Mac (I haven't tested Edge to know if it behaves the same way, but I would guess that it would). In addition, this is consistent with the system editing behavior for native apps (like TextEdit).

You probably want to style your content with "line-break: anywhere" which isn't implemented in WebKit yet. As soon as we implement that (or if it gets implemented), adding that style to your content will cause it to have the behavior you desire.

Until then, you can work around this bug by adding "word-break: break-all" which currently, erroneously, has the behavior you desire. However, we want to fix "line-break: break-all" to have your undesirable behavior (so that it is spec-compliant).

Because "line-break: anywhere" is at risk[1] in the CSS Text spec, it is possible that the spec may change in the future, so it probably wouldn't be a good idea to blindly add it to your content right now.

[1] https://drafts.csswg.org/css-text-3/

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171227/d7482eae/attachment-0001.html>

More information about the webkit-unassigned mailing list