2 # vim:ts=4:sw=4:expandtab
3 # Verifies that you can resize across different levels of containers even when
4 # they are all of the same orientation.
8 my $tmp = fresh_workspace;
13 my $middle = open_window;
19 cmd '[id="' . $middle->id . '"] focus';
20 is($x->input_focus, $middle->id, 'middle window focused');
22 cmd 'resize grow left 10px or 25ppt';
24 my ($nodes, $focus) = get_ws_content($tmp);
26 ok(cmp_float($nodes->[0]->{percent}, 0.25), 'left container got only 25%');
27 ok(cmp_float($nodes->[1]->{percent}, 0.75), 'right container got 75%');