Bug 160421

Summary: Minor RenderBox cleanup.
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: NEW ---    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, kondapallykalyan, rbuis, simon.fraser
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch simon.fraser: review+

Description zalan 2016-08-01 12:55:16 PDT
m_inlineBoxWrapper related.
Comment 1 zalan 2016-08-01 13:01:16 PDT
Created attachment 285034 [details]
Patch
Comment 2 Simon Fraser (smfr) 2016-08-01 13:21:18 PDT
Comment on attachment 285034 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=285034&action=review

> Source/WebCore/rendering/RenderBox.cpp:113
> +bool hadOverflowClip = false;

static?

> Source/WebCore/rendering/RenderBox.h:-726
> -private:
> -    // The width/height of the contents + borders + padding.  The x/y location is relative to our container (which is not always our parent).
> -    LayoutRect m_frameRect;
> -

This could have been here to optimize padding. Use dump-class-layout to look at the before and after layout.
Comment 3 Rob Buis 2021-04-30 09:44:12 PDT
Some of this code already landed but some is still unchanged. May be good to revisit this and either land the rest or close this, to get rid of the r+ in the queue.