Re: [csswg-drafts] [css-align] `justify-items` and anonymous block boxes (#11461)

```html
<!DOCTYPE html>
<style>body { width: 250px } div { margin: 1em 0 }</style>
<div style="border: solid; justify-items: center">
  lone text
</div>
<div style="border: solid; justify-items: center">
  1st line<br>
  And another line
  <p style="border: solid cyan">Nested block</p>
  Foooo<br>
  Bar
</div>
```

| Current | Option 1 | Option 2 |
| - | - | - |
| ![](https://github.com/user-attachments/assets/31b98890-b15e-4f57-b110-d1c33e5bdcd3) | ![](https://github.com/user-attachments/assets/9b7258d5-6b36-4b16-b676-d2906ba76671) | ![](https://github.com/user-attachments/assets/82dcaa9e-5c3e-4661-a955-0eb89f5c5dc6) |

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


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

Received on Wednesday, 30 April 2025 15:43:39 UTC