Skip to content

[css-text] hanging-punctuation for aligning accounting numerals? #12209

Open
@hfhchan-plb

Description

@hfhchan-plb

It seems to be a common issue mentioned on stack-overflow where people try to get accounting numerals to align.

Illustration:

Image

Unfortunately, text-align: char doesn't work in any browser.

Using hanging-punctuation: last with text-align: end to allow the closing bracket to hang off the line end would do wonders.

However, in the only browser that currently supports hanging-punctuation, this doesn't work. Is this an implementation issue of Safari, or is this what the spec asks?

Testing using Safari:

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions