/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Utility code for performing CSS Box Alignment */
/** *FlagstocustomizethebehaviorofAlignJustifySelf:
*/ enumclass AlignJustifyFlag { // Indicates that we have <overflow-position> = safe.
OverflowSafe,
// Indicates that the container's start side in aAxis is the same // as the child's start side in the child's parallel axis.
SameSide,
// Indicates that AlignJustifySelf() shouldn't expand "auto" margins. // (By default, AlignJustifySelf() *will* expand such margins, to fill the // available space before any alignment is done.)
IgnoreAutoMargins,
// We're aligning a margin box - the margin is already included in the // size. Implies `IgnoreAutoMargins`.
AligningMarginBox,
// If the item is baseline-aligned, this flag indicates that the item is in // the last baseline sharing group of the container, otherwise the item is // in the container's first baseline sharing group.
LastBaselineSharingGroup,
}; using AlignJustifyFlags = EnumSet<AlignJustifyFlag>;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.