- From: Johannes Odland via GitHub <sysbot+gh@w3.org>
- Date: Thu, 03 Aug 2023 06:07:42 +0000
- To: public-css-archive@w3.org
I was just looking into how to solve text-box-trim on the first/last blocks in a section or article, and having the possibility to set `text-box-trim: auto` would solve that use case, if I understand you correctly.
```html
<section>
<h2>A title</h2>
<p>A paragraph</p>
<p>Another paragraph</p>
</section>
```
```css
section {
text-box-trim: both;
text-box-edge: auto;
}
h2, p {
text-box-trim: auto;
}
```
Would `auto` result in a used value of `start` for the h2, and `end` for the last paragraph?
--
GitHub Notification of comment by johannesodland
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5426#issuecomment-1663343607 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 3 August 2023 06:07:44 UTC