[Webkit-unassigned] [Bug 259254] Correctly identify overflow direction inside flexbox
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 31 09:49:46 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=259254
--- Comment #7 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
UPDATE:
> Passes: .container 16 & .container 17 and .container 69 and .container 21 as well.
New to add in RenderStyleInlines.h (and also modify one old to account for 'DeprecatedFlexBox):
inline bool RenderStyle::isColumnFlexDirection() const { if (isDisplayDeprecatedFlexibleBox(display())) { return boxOrient() == BoxOrient::Vertical; } return flexDirection() == FlexDirection::Column || flexDirection() == FlexDirection::ColumnReverse; }
inline bool RenderStyle::isColumnReverseFlexDirection() const { if (isDisplayDeprecatedFlexibleBox(display())) { return boxOrient() == BoxOrient::Vertical && boxDirection() == BoxDirection::Reverse; } return flexDirection() == FlexDirection::ColumnReverse; }
inline bool RenderStyle::isRowFlexDirection() const { if (isDisplayDeprecatedFlexibleBox(display())) { return boxOrient() == BoxOrient::Horizontal; } return flexDirection() == FlexDirection::Row || flexDirection() == FlexDirection::RowReverse; }
inline bool RenderStyle::isRowReverseFlexDirection() const { if (isDisplayDeprecatedFlexibleBox(display())) { return boxOrient() == BoxOrient::Horizontal && boxDirection() == BoxDirection::Reverse; } return flexDirection() == FlexDirection::RowReverse; }
and following in RenderStyle.h:
inline bool isRowFlexDirection() const;
inline bool isColumnReverseFlexDirection() const;
inline bool isRowReverseFlexDirection() const;
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230731/e8a28398/attachment-0001.htm>
More information about the webkit-unassigned
mailing list