Re: [csswg-drafts] [css-rhythm-1] Avoiding accidental double spacing (#938)

I'd like to check what our current thinking about this issue.

Blink doesn't implement this in LayoutNG, and that all tests are failing in all browsers. If we're clear about what we want here, I'd like to remove the wpt tests to reduce the number of test failures.

**Proposal A: Avoid accidental double spacing at all costs**

Define that accidental double spacing is a blocker, and should be avoided at all costs.

Technically speaking, accidental double spacing is not avoidable for any kind of vertical rhythms. Taking this policy means that CSS will not support any kind of vertical rhythms. We can then take actions:
1. Remove all relevant wpt tests. They're just noises today.
2. Remove the Rhythmic Sizing spec and the Line Grid spec, or put a big warning saying "don't implement until WG changes the policy".

**Proposal B: Allow UA heuristic to mitigate accidental double spacing**

Define that accidental double spacing is not avoidable and we accept that it may happen in some cases, but allow UAs to add heuristics to mitigate the problem.

IIRC @fantasai raised the concern on Line Grid 7-8 years ago. We discussed and WebKit shipped without heuristics built-in, assuming it can be added if the problem arises.

**Proposal C: Accept and should mitigate accidental double spacing, but don't know how yet**

The similar policy as the Proposal B; we accept accidental double spacing may happen in some cases, and want to mitigate it, but prefer other methods than heuristics.

I don't know if there were any other methods, so this means that we keep this issue pending, until someone can come up with new ideas.

If we take this option, it is likely to take long until we resolve this issue. I prefer removing wpt tests until then but not strong if anyone think otherwise.

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

Received on Friday, 17 January 2020 06:54:24 UTC