Re: [csswg-drafts] [css-display] How does block inside inline affect the box tree, exactly? (#1477)

So if my understanding is correct, the following markup:
```html
<main><span>A<div>B</div>C</span></main>
```

According to CSS 2.1 (and css-inline-3), would produce this box tree:
```
main: block box
  └ anonymous: root inline box
      └ span: inline box
          └ anonymous: block box
              └ anonymous: root inline box
          └ div: block box
              └ anonymous: root inline box
          └ anonymous: block box
              └ anonymous: root inline box
```

With the resolution above, it would produce this box tree:
```
main: block box
  └ anonymous: root inline box
      └ span: inline box
          └ div: block box
              └ anonymous: root inline box
```

Is this correct?

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


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

Received on Friday, 28 April 2023 14:13:24 UTC