W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

Re: [csswg-drafts] [css-text-3] Discarding Line Breaks Adjacent to Ambiguous Characters (#5017)

From: Koji Ishii via GitHub <sysbot+gh@w3.org>
Date: Wed, 30 Sep 2020 16:25:58 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-701499704-1601483156-sysbot+gh@w3.org>
+1 to @litherum but let me add another reason.

Adding more heuristic rules have both pros and cons for authors. I think this case is net-negative for authors.

As @r12a pointed out in [his comment in #4992](https://github.com/w3c/csswg-drafts/issues/4992#issuecomment-621265490):
> I'm inclined to think that we need to expect authors to make adjustments sometimes to resolve ambiguities.

In order for authors to perform the adjustments, the predictability is critical. Authors must run the rules in their brain and predict whether a space is inserted or not, whenever they see new lines in their HTML files or when reviewing someone else's HTML files. Adding more heuristic rules has a negative impact to this process.

If the heuristic rules are accurate enough so that authors don't have to worry about the adjustments, adding rules is good for them, but by now I think we agree that it is not technically possible. If we expect authors to make the adjustments, keeping the rules simple is critical for them.

GitHub Notification of comment by kojiishi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5017#issuecomment-701499704 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 30 September 2020 16:25:59 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:17 UTC