for example we need to know if the box is associated with the <body> and size it differently in quirks mode.
Created attachment 341620 [details] Patch
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?
Created attachment 341666 [details] Patch
Comment on attachment 341666 [details] Patch Clearing flags on attachment: 341666 Committed r232350: <https://trac.webkit.org/changeset/232350>
All reviewed patches have been landed. Closing bug.
<rdar://problem/40688526>