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

[csswg-drafts] [css-pseudo-4] ::first-letter should include space separators (#5154)

From: Johannes Odland via GitHub <sysbot+gh@w3.org>
Date: Wed, 03 Jun 2020 06:22:11 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-629726050-1591165330-sysbot+gh@w3.org>
johannesodland has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-pseudo-4] ::first-letter should include space separators ==
Some languages requires a space separator between the first-punctuation and the first letter. Both the punctuation and the space separator should be included in the ::first-letter pseudo element.

Browsers treat this differently at the moment. Safari includes spaces, while Chrome does not. 
https://bugs.chromium.org/p/chromium/issues/detail?id=638267.

At the moment the spec does not specify that space should be included: https://www.w3.org/TR/css-pseudo-4/#first-letter-pseudo

Examples: 

**French**
The opening quotation mark in French cannot go without a space: 
« Voulez-vous un sandwich, Henri ? » 

Source: https://en.wikipedia.org/wiki/Quotation_mark#French

**Norwegian**
Some quotation marks in Norwegian (replikkstrek) cannot go without a space: 
– Pettersen, ropte hun, – kom inn og få kaffe. 

Source: https://www.sprakradet.no/sprakhjelp/Skriveregler/tegn/Tankestrek/

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5154 using your GitHub account
Received on Wednesday, 3 June 2020 06:22:15 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:27 UTC