RESOLVED FIXED 216694
[LFC][FFC] Add flex box/item to showLayoutTree
https://bugs.webkit.org/show_bug.cgi?id=216694
Summary [LFC][FFC] Add flex box/item to showLayoutTree
zalan
Reported 2020-09-18 03:47:20 PDT
ssia
Attachments
Patch (1.88 KB, patch)
2020-09-18 03:49 PDT, zalan
no flags
Patch (1.89 KB, patch)
2020-09-18 16:47 PDT, zalan
no flags
zalan
Comment 1 2020-09-18 03:49:55 PDT
Sam Weinig
Comment 2 2020-09-18 10:32:23 PDT
Comment on attachment 409125 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=409125&action=review > Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp:453 > + stream << "Fkex box"; typo. Fkex -> Flex
zalan
Comment 3 2020-09-18 10:33:36 PDT
(In reply to Sam Weinig from comment #2) > Comment on attachment 409125 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=409125&action=review > > > Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp:453 > > + stream << "Fkex box"; > > typo. Fkex -> Flex never post patches at 4am.
zalan
Comment 4 2020-09-18 16:47:48 PDT
EWS
Comment 5 2020-09-18 17:40:44 PDT
Committed r267303: <https://trac.webkit.org/changeset/267303> All reviewed patches have been landed. Closing bug and clearing flags on attachment 409179 [details].
Radar WebKit Bug Importer
Comment 6 2020-09-18 17:41:15 PDT
Simon Fraser (smfr)
Comment 7 2020-09-18 20:10:35 PDT
Layout::Boxes need a virtual String debugDescription() const so they can print themselves.
zalan
Comment 8 2020-09-19 05:45:54 PDT
(In reply to Simon Fraser (smfr) from comment #7) > Layout::Boxes need a virtual String debugDescription() const so they can > print themselves. Since the LayoutBox has a rather flat class hierarchy (LFC tree is not typed as heavily as the render tree) we would probably end up with a big switch in Layout::Box. I'd rather keep it separate for now.
Note You need to log in before you can comment on or make changes to this bug.