• jfernandez's avatar
    [css-align] New CSS Value 'normal' for Content Alignment · 8e62cf61
    jfernandez authored
    The Box Alignment specification defines a new value 'normal' to be used
    as default for the different layout models, which will define the
    specific behavior for each case. This patch adds a new CSS value in the
    parsing logic and adapts the Content Alignment properties to the new
    value.
    
    The 'auto' value is no longer valid and the Computed Value will be
    always the specified value. Hence, I removed the StyleResolver logic
    because is not required now; the specific behavior of the 'normal'
    value will be resolved at layout time.
    
    Computed value of both align-content and justify-content is the
    specified value, we don't have to resolve any 'auto' value now.
    
    Additionally, this patch updates the layout logic as well, for both
    Flexbox and Grid layout models.
    
    BUG=565883
    
    Review URL: https://codereview.chromium.org/1583433002
    
    Cr-Commit-Position: refs/heads/master@{#375556}
    8e62cf61
parse-justify-content-expected.txt 9.7 KB