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

Blink tree as of today is as below, though, we probably want to revisit this at some point. And yes to @SelenIT's question, the 2 spans are like fragments.

```
  LayoutBlockFlow {HTML} at (0,0) size 800x96
    LayoutBlockFlow {BODY} at (8,8) size 784x80
      LayoutBlockFlow (anonymous) at (0,0) size 784x40
        LayoutInline {SPAN} at (0,0) size 11x39
          LayoutText {#text} at (0,0) size 11x19
            text run at (0,0) width 11: "A"
          LayoutBR {BR} at (11,0) size 0x19
          LayoutText {#text} at (0,20) size 10x19
            text run at (0,20) width 10: "B"
      LayoutBlockFlow (anonymous) at (0,40) size 784x20
        LayoutBlockFlow {DIV} at (0,0) size 784x20
          LayoutText {#text} at (0,0) size 11x19
            text run at (0,0) width 11: "C"
      LayoutBlockFlow (anonymous) at (0,60) size 784x20
        LayoutInline {SPAN} at (0,0) size 11x19
          LayoutText {#text} at (0,0) size 11x19
            text run at (0,0) width 11: "D"
        LayoutText {#text} at (0,0) size 0x0
```

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

Received on Thursday, 5 April 2018 12:49:41 UTC