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

So, using `justify-items` with option 2 will change the output of:

```html
<!DOCTYPE html>
<div>
  <span>A</span>
  <span>B</span>
</div>
```

and

```html
<!DOCTYPE html>
<div>
  <div style="display: inline-block;">A</div>
  <div style="display: inline-block;">B</div>
</div>
```

from:

**AB**

to:

**A**  
**B**

when rewritten as:

```html
<!DOCTYPE html>
<div style="justify-items: center;">
  <span>A</span>
  <span>B</span>
</div>
```

```html
<!DOCTYPE html>
<div style="justify-items: center;">
  <div style="display: inline-block;">A</div>
  <div style="display: inline-block;">B</div>
</div>
```

Correct?

-- 
GitHub Notification of comment by gitspeaks
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11461#issuecomment-2843204129 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 20:27:40 UTC