• Adam Barth's avatar
    Always reset parentData when dropping children · c44dd17d
    Adam Barth authored
    Previously, we'd leave the old values in the parent data if the types matches,
    but not all render objects would reset these values during layout. For example,
    RenderProxyBox doesn't set the position field because it doesn't read the
    position field. However, leaving the old data there violates the invariants of
    the box protocol and can cause trouble (e.g., localToGlobal giving the wrong
    result).
    
    Fixes #1939
    c44dd17d
Name
Last commit
Last update
..
box_test.dart Loading commit data...
flex_test.dart Loading commit data...
grid_test.dart Loading commit data...
image_test.dart Loading commit data...
intrinsic_width_test.dart Loading commit data...
offstage_test.dart Loading commit data...
overflow_test.dart Loading commit data...
positioned_box_test.dart Loading commit data...
rendering_tester.dart Loading commit data...
size_test.dart Loading commit data...
stack_test.dart Loading commit data...
viewport_test.dart Loading commit data...