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

> 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>
>```
Aren’t HTML tags meant to convey semantics rather than control layout?

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