w3c / csswg-drafts

CSS Working Group Editor Drafts
https://drafts.csswg.org/
Other
4.5k stars 661 forks source link

[css-text] Spacing in Canadian French #8657

Open xfq opened 1 year ago

xfq commented 1 year ago

https://www.w3.org/TR/css-text-4/#valdef-text-autospace-punctuation

In this level, if the element’s content language is French, narrow no-break space (U+202F) and no-break space (U+00A0) is inserted where required by French typographic guidelines.

Canadian French is not mentioned in the link and the rules are different for Canadian French. There’s no extra space before question marks, exclamation marks, and semicolons, for example. We should probably need to add spaces depending on the region.

fantasai commented 1 year ago

@xfq These rules should probably be maintained in some registry that isn't the CSS spec. Does the i18nWG want to main them at W3C or should this be part of Unicode CLDR somehow?

r12a commented 1 year ago

Here is a more up to date version of the French Canadian rules: https://www.noslangues-ourlanguages.gc.ca/en/writing-tips-plus/spacing#spacing-french

r12a commented 1 year ago

see also https://github.com/w3c/csswg-drafts/issues/8661

ras52 commented 11 months ago

The link in the current draft to the French typographic guidelines no longer works.

xfq commented 11 months ago

The link was introduced in https://github.com/w3c/csswg-drafts/commit/b57a4121dbde6dbd7f65f2f337004e3ae5db46cd

Perhaps we should link to https://www.w3.org/TR/dpub-latinreq/#language-specific-spacing-rules ?