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

`text-align` can have other effects in general as [I already mentioned](https://github.com/w3c/csswg-drafts/issues/11461#issuecomment-2840374189). To keep the old Blink behavior (Canary already changed), better wrap text inside explicit blocks instead:

```html
<!DOCTYPE html>
<div style="justify-items: end;">
  <div>A</div>
  <div style="background-color: red; width: 50px;">A</div>
  <div>B</div>
  <div style="background-color: red; width: 50px;">B</div>
  <div>C</div>
  <div style="background-color: red; width: 50px;">C</div>
</div>
```

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


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

Received on Wednesday, 14 May 2025 21:26:36 UTC