Bug 68665

Summary: refactor RenderFlexibleBox to use flex-flow aware methods
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: New BugsAssignee: Ojan Vafai <ojan>
Status: RESOLVED FIXED    
Severity: Normal CC: hyatt, tony
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch tony: review+

Ojan Vafai
Reported 2011-09-22 17:04:41 PDT
refactor RenderFlexibleBox to use flex-flow aware methods
Attachments
Patch (23.92 KB, patch)
2011-09-22 17:06 PDT, Ojan Vafai
no flags
Patch (23.85 KB, patch)
2011-09-23 13:18 PDT, Ojan Vafai
tony: review+
Ojan Vafai
Comment 1 2011-09-22 17:06:44 PDT
Tony Chang
Comment 2 2011-09-23 10:27:56 PDT
Comment on attachment 108423 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=108423&action=review > Source/WebCore/rendering/RenderBlock.h:-213 > - // FIXME: Supporting layout deltas. > - void setLogicalLocationForChild(RenderBox* child, const LayoutPoint&); Can you add a line in the ChangeLog explaining why this is being removed (e.g., unused). > Source/WebCore/rendering/RenderFlexibleBox.cpp:116 > +LayoutUnit RenderFlexibleBox::hasOrthogonalFlow(RenderBox* child) const Shouldn't this return a bool? > Source/WebCore/rendering/RenderFlexibleBox.cpp:124 > +LayoutUnit RenderFlexibleBox::isHorizontalFlow() const Shouldn't this return a bool? > Source/WebCore/rendering/RenderFlexibleBox.cpp:130 > +LayoutUnit RenderFlexibleBox::isLeftToRightFlow() const Shouldn't this return a bool? > Source/WebCore/rendering/RenderFlexibleBox.cpp:415 > + // FIXME: I think we only want to do this for horizontal flows. For vertical flows, we'll need something like this to compute the physical width.
Ojan Vafai
Comment 3 2011-09-23 13:18:14 PDT
Ojan Vafai
Comment 4 2011-09-23 13:31:21 PDT
Note You need to log in before you can comment on or make changes to this bug.