getPositionParentData static method
RenderLayoutParentData
getPositionParentData(
- RenderBoxModel renderBoxModel,
- RenderLayoutParentData parentData
Implementation
static RenderLayoutParentData getPositionParentData(RenderBoxModel renderBoxModel, RenderLayoutParentData parentData) {
CSSPositionType positionType = renderBoxModel.renderStyle.position;
parentData.isPositioned = positionType == CSSPositionType.absolute || positionType == CSSPositionType.fixed;
return parentData;
}