position property
Implementation
@override
CSSPositionType get position => _position;
set
position
(CSSPositionType value)
Implementation
set position(CSSPositionType value) {
if (_position == value) return;
_position = value;
// Position effect the stacking context.
_markNeedsSort();
_markParentNeedsLayout();
// Position change may affect transformed display
// https://www.w3.org/TR/css-display-3/#transformations
// The position changes of the node may affect the whitespace of the nextSibling and previousSibling text node so prev and next node require layout.
renderBoxModel?.markAdjacentRenderParagraphNeedsLayout();
}