def calculate_inline_non_replaced_height(node, context):
    """Implements S10.6.1"""
    node.layout.content_height = node.intrinsic.height
    node.layout.content_top += (node.layout.margin_top + node.layout.
        border_top_width + node.layout.padding_top)
