mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 10:18:38 +09:00
Revert "Issue #1986 - Part 2: Add IsItemInlineAxisMainAxis() and rework some nsFrame code."
This reverts commit c3e18955ad.
This commit is contained in:
parent
e46011bcc3
commit
c522a01d6c
3 changed files with 7 additions and 58 deletions
|
|
@ -133,21 +133,6 @@ public:
|
|||
uint32_t* aNumPackingSpacesRemaining,
|
||||
nscoord* aPackingSpaceRemaining);
|
||||
|
||||
/**
|
||||
* Given a frame for a flex item, this method returns true IFF that flex
|
||||
* item's inline axis is the same as (i.e. not orthogonal to) its flex
|
||||
* container's main axis.
|
||||
*
|
||||
* (This method is only intended to be used from external
|
||||
* callers. Inside of flex reflow code, FlexItem::IsInlineAxisMainAxis() is
|
||||
* equivalent & more optimal.)
|
||||
*
|
||||
* @param aFrame a flex item (must return true from IsFlexItem)
|
||||
* @return true iff aFrame's inline axis is the same as (i.e. not orthogonal
|
||||
* to) its flex container's main axis. Otherwise, false.
|
||||
*/
|
||||
static bool IsItemInlineAxisMainAxis(nsIFrame* aFrame);
|
||||
|
||||
protected:
|
||||
// Protected constructor & destructor
|
||||
explicit nsFlexContainerFrame(nsStyleContext* aContext)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue