• Ian Hickson's avatar
    Catch un-normalized BoxConstraints · 1a049c14
    Ian Hickson authored
    Add BoxConstraints.isNormalized feature.
    
    Use this feature in asserts in all the intrinsic dimension methods, in
    various relevant BoxConstraints methods, and in layout().
    
    Wrap the _DebugSize logic in BoxConstraints.constrain() in an assert
    block to avoid a branch in release mode.
    
    Remove the logic in BoxConstraints.isSatisfiedBy() that dealt with
    non-normalized values.
    
    Add BoxConstraints.normalize().
    
    Make RenderCustomOneChildLayoutBox.performLayout() only set
    parentUsesSize on the child if the constraints aren't tight.
    1a049c14
Name
Last commit
Last update
..
address_book Loading commit data...
fitness Loading commit data...
hello_world Loading commit data...
material_gallery Loading commit data...
mine_digger Loading commit data...
raw Loading commit data...
rendering Loading commit data...
stocks Loading commit data...
widgets Loading commit data...
.gitignore Loading commit data...
BUILD.gn Loading commit data...
README.md Loading commit data...