RESOLVED FIXED 186117
[LFC] Layout code needs to know the type of the Element associated with a Layout::Box
https://bugs.webkit.org/show_bug.cgi?id=186117
Summary [LFC] Layout code needs to know the type of the Element associated with a Lay...
alan
Reported 2018-05-30 16:31:52 PDT
for example we need to know if the box is associated with the <body> and size it differently in quirks mode.
Attachments
Patch (15.20 KB, patch)
2018-05-30 16:39 PDT, alan
no flags
Patch (15.10 KB, patch)
2018-05-31 09:14 PDT, alan
no flags
alan
Comment 1 2018-05-30 16:39:03 PDT
Antti Koivisto
Comment 2 2018-05-31 07:35:03 PDT
Comment on attachment 341620 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=341620&action=review > Source/WebCore/layout/layouttree/LayoutBox.h:120 > + struct ElementAttributes { > + ElementAttributes(ElementType elementType) > + : elementType(elementType) > + { > + } > + > + ElementType elementType; > + }; Indentation for { } is wrong. Is the constructor needed? Maybe this could just use bracket initialization?
alan
Comment 3 2018-05-31 09:14:54 PDT
WebKit Commit Bot
Comment 4 2018-05-31 09:43:58 PDT
Comment on attachment 341666 [details] Patch Clearing flags on attachment: 341666 Committed r232350: <https://trac.webkit.org/changeset/232350>
WebKit Commit Bot
Comment 5 2018-05-31 09:43:59 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2018-05-31 09:52:03 PDT
Note You need to log in before you can comment on or make changes to this bug.