Bug 219322

Summary: [LFC] Containing blocks not correct for table boxes
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=219310

Description Simon Fraser (smfr) 2020-11-27 18:27:10 PST
LFC display changes broke these tests:

fast/layoutformattingcontext/table-simple-border-collapse.html
fast/layoutformattingcontext/table-simple-border-collapse2.html

Initial containing block at (0,0) size 938x1076 (0x217945fa0)
  HTML at (0,0) size 938x66 (0x21a08c600)
    BODY at (8,8) size 922x50 (0x2167680c0)
      TABLE wrapper box at (0,0) size 922x50 (0x216768180)
        TABLE at (0,0) size 50x50 (0x216768240)
          TBODY at (10,10) size 30x30 (0x216768300)
            TR at (0,0) size 30x30 (0x2167683c0)
              TD at (0,0) size 30x30 (0x216768480)

Containing block of layout box 0x21a08c600 is 0x217945fa0 (parent 0x217945fa0)
Containing block of layout box 0x2167680c0 is 0x21a08c600 (parent 0x21a08c600)
Containing block of layout box 0x216768180 is 0x2167680c0 (parent 0x2167680c0)
Containing block of layout box 0x216768240 is 0x216768180 (parent 0x216768180)
Containing block of layout box 0x216768300 is 0x216768240 (parent 0x216768240)
Containing block of layout box 0x2167683c0 is 0x216768240 (parent 0x216768300)
Containing block of layout box 0x216768480 is 0x216768240 (parent 0x2167683c0)

Seems like the TBODY should be a containing block?
Comment 1 Radar WebKit Bug Importer 2020-12-04 18:28:14 PST
<rdar://problem/72001637>