Re: [csswg-drafts] [css-text][text-spacing] Visual regressions of line-start at portals and news sites (#9511)

> is there a way to achieve the “one full-width” indentation style?

The "proper" way (clean separation of content and style) would be:

```css
text-spacing: trim-auto;
text-intent: 1em; /* or 1ic */
hanging-punctuation: first;
```

browser support for `hanging-punctuation` is however incomplete, which is why authors that want to use this style commonly use the trick you mentioned:
> inserts a full-width space except when the first character of the paragraph is an opening bracket. The first row is representing text data prepared in this specific way.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 24 October 2023 06:22:22 UTC