Skip to content

[css-pseudo-4] Allow intervening space and no-break space in ::first-letter, preceding the letter #9413

Open
@johannesodland

Description

@johannesodland

Summary

Can we revisit the decision from 5830 to exclude word break on either side of ::first-letter?
Intervening space (U+0020) and no-break space (U+00A0) should be allowed directly before the letter.

Background

Many languages use an intervening space between the quotation mark and the first letter. A notable example is the quotation dash, which is used in several languages including Norwegian, Swedish, Danish, Bulgarian, French, Greek, and others, as well as in some modern English novels.

Example from Ulysses:

― O Miss Douce! Miss Kennedy protested. You horrid thing

In practice, many languages use regular spaces or at-best no-break spaces between the first quotation mark and the first letter, despite arguments suggesting these aren't typographically ideal. This preference could arise from established guidelines or the difficulty in typing other spaces.

(I have checked Norwegian, Swedish and Danish news outlets, and all use a regular U+0020 space)

Previous discussions

Previous discussions on this topic include:

By excluding word breaks we exclude the use of (U+0020) and no-break space (U+00A0). Consequently, ::first-letter becomes impractical for languages that use a space between quotation marks and the first letter.

Proposal

Given the widespread use of intervening spaces in various languages and the practical challenges in employing specific space characters, it is worth reconsidering the decision made in issue 5830.

The ::first-letter pseudo-element should allow for the inclusion of regular space (U+0020) and no-break space (U+00A0) directly preceding the first letter.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Regular agenda items

    Status

    Wednesday morning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions