gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 208Rust 7TOML 3CSS 1294 Definitions

⎇ 65bedf128ec8cef40c1a21b6f141f2c771842cca tests/generated/flex/mod.rs Rust · 457 lines · 17.8 KB History Who touched what raw

Add test for gap when the first child is position:absolute (#542) 65bedf128 · Nico Burns ·

1mod absolute_aspect_ratio_aspect_ratio_overrides_height_of_full_inset;
2mod absolute_aspect_ratio_fill_height;
3mod absolute_aspect_ratio_fill_height_from_inset;
4mod absolute_aspect_ratio_fill_max_height;
5mod absolute_aspect_ratio_fill_max_width;
6mod absolute_aspect_ratio_fill_min_height;
7mod absolute_aspect_ratio_fill_min_width;
8mod absolute_aspect_ratio_fill_width;
9mod absolute_aspect_ratio_fill_width_from_inset;
10mod absolute_aspect_ratio_height_overrides_inset;
11mod absolute_aspect_ratio_width_overrides_inset;
12mod absolute_child_with_cross_margin;
13mod absolute_child_with_main_margin;
14mod absolute_child_with_max_height;
15mod absolute_child_with_max_height_larger_shrinkable_grandchild;
16mod absolute_layout_align_items_and_justify_content_center;
17mod absolute_layout_align_items_and_justify_content_center_and_bottom_position;
18mod absolute_layout_align_items_and_justify_content_center_and_left_position;
19mod absolute_layout_align_items_and_justify_content_center_and_right_position;
20mod absolute_layout_align_items_and_justify_content_center_and_top_position;
21mod absolute_layout_align_items_and_justify_content_flex_end;
22mod absolute_layout_align_items_center;
23mod absolute_layout_align_items_center_on_child_only;
24mod absolute_layout_child_order;
25mod absolute_layout_in_wrap_reverse_column_container;
26mod absolute_layout_in_wrap_reverse_column_container_flex_end;
27mod absolute_layout_in_wrap_reverse_row_container;
28mod absolute_layout_in_wrap_reverse_row_container_flex_end;
29mod absolute_layout_justify_content_center;
30mod absolute_layout_no_size;
31mod absolute_layout_percentage_bottom_based_on_parent_height;
32mod absolute_layout_percentage_height;
33mod absolute_layout_row_width_height_end_bottom;
34mod absolute_layout_start_top_end_bottom;
35mod absolute_layout_width_height_end_bottom;
36mod absolute_layout_width_height_start_top;
37mod absolute_layout_width_height_start_top_end_bottom;
38mod absolute_layout_within_border;
39mod absolute_margin_bottom_left;
40mod absolute_minmax_bottom_right_max;
41mod absolute_minmax_bottom_right_min_max;
42mod absolute_minmax_bottom_right_min_max_preferred;
43mod absolute_minmax_top_left_bottom_right_max;
44mod absolute_minmax_top_left_bottom_right_min_max;
45mod absolute_padding_border_overrides_max_size;
46mod absolute_padding_border_overrides_size;
47mod align_baseline;
48mod align_baseline_child;
49mod align_baseline_child_margin;
50mod align_baseline_child_margin_percent;
51mod align_baseline_child_multiline;
52mod align_baseline_child_multiline_no_override_on_secondline;
53mod align_baseline_child_multiline_override;
54mod align_baseline_child_padding;
55mod align_baseline_child_top;
56mod align_baseline_child_top2;
57mod align_baseline_column;
58mod align_baseline_double_nested_child;
59mod align_baseline_multiline;
60mod align_baseline_multiline_column;
61mod align_baseline_multiline_column2;
62mod align_baseline_multiline_row_and_column;
63mod align_baseline_nested_child;
64mod align_baseline_nested_column;
65mod align_center_should_size_based_on_content;
66mod align_content_flex_end;
67mod align_content_flex_start;
68mod align_content_flex_start_with_flex;
69mod align_content_flex_start_without_height_on_children;
70mod align_content_not_stretch_with_align_items_stretch;
71mod align_content_space_around_single_line;
72mod align_content_space_around_wrapped;
73mod align_content_space_between_single_line;
74mod align_content_space_between_wrapped;
75mod align_content_space_evenly_single_line;
76mod align_content_space_evenly_wrapped;
77mod align_content_spacearound;
78mod align_content_spacebetween;
79mod align_content_stretch;
80mod align_content_stretch_column;
81mod align_content_stretch_is_not_overriding_align_items;
82mod align_content_stretch_row;
83mod align_content_stretch_row_with_children;
84mod align_content_stretch_row_with_fixed_height;
85mod align_content_stretch_row_with_flex;
86mod align_content_stretch_row_with_flex_no_shrink;
87mod align_content_stretch_row_with_margin;
88mod align_content_stretch_row_with_max_height;
89mod align_content_stretch_row_with_min_height;
90mod align_content_stretch_row_with_padding;
91mod align_content_stretch_row_with_single_row;
92mod align_flex_start_with_shrinking_children;
93mod align_flex_start_with_shrinking_children_with_stretch;
94mod align_flex_start_with_stretching_children;
95mod align_items_center;
96mod align_items_center_child_with_margin_bigger_than_parent;
97mod align_items_center_child_without_margin_bigger_than_parent;
98mod align_items_center_justify_content_center;
99mod align_items_center_min_max_with_padding;
100mod align_items_center_with_child_margin;
101mod align_items_center_with_child_top;
102mod align_items_flex_end;
103mod align_items_flex_end_child_with_margin_bigger_than_parent;
104mod align_items_flex_end_child_without_margin_bigger_than_parent;
105mod align_items_flex_start;
106mod align_items_min_max;
107mod align_items_stretch;
108mod align_items_stretch_min_cross;
109mod align_self_baseline;
110mod align_self_center;
111mod align_self_center_undefined_max_height;
112mod align_self_flex_end;
113mod align_self_flex_end_override_flex_start;
114mod align_self_flex_start;
115mod align_stretch_should_size_based_on_parent;
116mod android_news_feed;
117mod aspect_ratio_flex_column_fill_height;
118mod aspect_ratio_flex_column_fill_max_height;
119mod aspect_ratio_flex_column_fill_max_width;
120mod aspect_ratio_flex_column_fill_min_height;
121mod aspect_ratio_flex_column_fill_min_width;
122mod aspect_ratio_flex_column_fill_width;
123mod aspect_ratio_flex_column_fill_width_flex;
124mod aspect_ratio_flex_column_stretch_fill_height;
125mod aspect_ratio_flex_column_stretch_fill_max_height;
126mod aspect_ratio_flex_column_stretch_fill_max_width;
127mod aspect_ratio_flex_column_stretch_fill_width;
128mod aspect_ratio_flex_row_fill_height;
129mod aspect_ratio_flex_row_fill_max_height;
130mod aspect_ratio_flex_row_fill_max_width;
131mod aspect_ratio_flex_row_fill_min_height;
132mod aspect_ratio_flex_row_fill_min_width;
133mod aspect_ratio_flex_row_fill_width;
134mod aspect_ratio_flex_row_fill_width_flex;
135mod aspect_ratio_flex_row_stretch_fill_height;
136mod aspect_ratio_flex_row_stretch_fill_max_height;
137mod aspect_ratio_flex_row_stretch_fill_max_width;
138mod aspect_ratio_flex_row_stretch_fill_width;
139mod bevy_issue_7976_3_level;
140mod bevy_issue_7976_4_level;
141mod bevy_issue_7976_reduced;
142mod bevy_issue_8017;
143mod bevy_issue_8017_reduced;
144mod bevy_issue_8082;
145mod bevy_issue_8082_percent;
146mod bevy_issue_9530;
147mod bevy_issue_9530_reduced;
148mod bevy_issue_9530_reduced2;
149mod bevy_issue_9530_reduced3;
150mod bevy_issue_9530_reduced4;
151mod border_center_child;
152mod border_container_match_child;
153mod border_flex_child;
154mod border_no_child;
155mod border_no_size;
156mod border_stretch_child;
157mod child_min_max_width_flexing;
158mod child_with_padding_align_end;
159mod container_with_unsized_child;
160mod display_none;
161mod display_none_absolute_child;
162mod display_none_fixed_size;
163mod display_none_only_node;
164mod display_none_with_child;
165mod display_none_with_margin;
166mod display_none_with_position;
167mod display_none_with_position_absolute;
168mod do_not_clamp_height_of_absolute_node_to_height_of_its_overflow_hidden_parent;
169mod flex_basis_and_main_dimen_set_when_flexing;
170mod flex_basis_flex_grow_column;
171mod flex_basis_flex_grow_row;
172mod flex_basis_flex_shrink_column;
173mod flex_basis_flex_shrink_row;
174mod flex_basis_larger_than_content_column;
175mod flex_basis_larger_than_content_row;
176mod flex_basis_overrides_main_size;
177mod flex_basis_slightly_smaller_then_content_with_flex_grow_large_size;
178mod flex_basis_smaller_than_content_column;
179mod flex_basis_smaller_than_content_row;
180mod flex_basis_smaller_than_main_dimen_column;
181mod flex_basis_smaller_than_main_dimen_row;
182mod flex_basis_smaller_then_content_with_flex_grow_large_size;
183mod flex_basis_smaller_then_content_with_flex_grow_small_size;
184mod flex_basis_smaller_then_content_with_flex_grow_unconstraint_size;
185mod flex_basis_smaller_then_content_with_flex_grow_very_large_size;
186mod flex_basis_unconstraint_column;
187mod flex_basis_unconstraint_row;
188mod flex_basis_zero_undefined_main_size;
189mod flex_column_relative_all_sides;
190mod flex_direction_column;
191mod flex_direction_column_no_height;
192mod flex_direction_column_reverse;
193mod flex_direction_column_reverse_no_height;
194mod flex_direction_row;
195mod flex_direction_row_no_width;
196mod flex_direction_row_reverse;
197mod flex_grow_child;
198mod flex_grow_flex_basis_percent_min_max;
199mod flex_grow_height_maximized;
200mod flex_grow_in_at_most_container;
201mod flex_grow_less_than_factor_one;
202mod flex_grow_root_minimized;
203mod flex_grow_shrink_at_most;
204mod flex_grow_to_min;
205mod flex_grow_within_constrained_max_column;
206mod flex_grow_within_constrained_max_row;
207mod flex_grow_within_constrained_max_width;
208mod flex_grow_within_constrained_min_column;
209mod flex_grow_within_constrained_min_max_column;
210mod flex_grow_within_constrained_min_row;
211mod flex_grow_within_max_width;
212mod flex_root_ignored;
213mod flex_row_relative_all_sides;
214mod flex_shrink_by_outer_margin_with_max_size;
215mod flex_shrink_flex_grow_child_flex_shrink_other_child;
216mod flex_shrink_flex_grow_row;
217mod flex_shrink_to_zero;
218mod flex_wrap_align_stretch_fits_one_row;
219mod flex_wrap_children_with_min_main_overriding_flex_basis;
220mod flex_wrap_wrap_to_child_height;
221mod gap_column_gap_child_margins;
222mod gap_column_gap_determines_parent_width;
223mod gap_column_gap_flexible;
224mod gap_column_gap_flexible_undefined_parent;
225mod gap_column_gap_inflexible;
226mod gap_column_gap_inflexible_undefined_parent;
227mod gap_column_gap_justify_center;
228mod gap_column_gap_justify_flex_end;
229mod gap_column_gap_justify_flex_start;
230mod gap_column_gap_justify_space_around;
231mod gap_column_gap_justify_space_between;
232mod gap_column_gap_justify_space_evenly;
233mod gap_column_gap_mixed_flexible;
234mod gap_column_gap_percentage_cyclic_partially_shrinkable;
235mod gap_column_gap_percentage_cyclic_shrinkable;
236mod gap_column_gap_percentage_cyclic_unshrinkable;
237mod gap_column_gap_percentage_flexible;
238mod gap_column_gap_percentage_flexible_with_padding;
239mod gap_column_gap_percentage_inflexible;
240mod gap_column_gap_row_gap_wrapping;
241mod gap_column_gap_start_index;
242mod gap_column_gap_wrap_align_center;
243mod gap_column_gap_wrap_align_flex_end;
244mod gap_column_gap_wrap_align_flex_start;
245mod gap_column_gap_wrap_align_space_around;
246mod gap_column_gap_wrap_align_space_between;
247mod gap_column_gap_wrap_align_stretch;
248mod gap_column_row_gap_wrapping;
249mod gap_row_gap_align_items_end;
250mod gap_row_gap_align_items_stretch;
251mod gap_row_gap_column_child_margins;
252mod gap_row_gap_determines_parent_height;
253mod gap_row_gap_percentage_wrapping;
254mod gap_row_gap_row_wrap_child_margins;
255mod intrinsic_sizing_cross_size_column;
256mod intrinsic_sizing_main_size_column;
257mod intrinsic_sizing_main_size_column_nested;
258mod intrinsic_sizing_main_size_column_wrap;
259mod intrinsic_sizing_main_size_row;
260mod intrinsic_sizing_main_size_row_nested;
261mod intrinsic_sizing_main_size_row_wrap;
262mod justify_content_column_center;
263mod justify_content_column_flex_end;
264mod justify_content_column_flex_start;
265mod justify_content_column_max_height_and_margin;
266mod justify_content_column_min_height_and_margin;
267mod justify_content_column_min_height_and_margin_bottom;
268mod justify_content_column_min_height_and_margin_top;
269mod justify_content_column_space_around;
270mod justify_content_column_space_between;
271mod justify_content_column_space_evenly;
272mod justify_content_min_max;
273mod justify_content_min_width_with_padding_child_width_greater_than_parent;
274mod justify_content_min_width_with_padding_child_width_lower_than_parent;
275mod justify_content_overflow_min_max;
276mod justify_content_row_center;
277mod justify_content_row_flex_end;
278mod justify_content_row_flex_start;
279mod justify_content_row_max_width_and_margin;
280mod justify_content_row_min_width_and_margin;
281mod justify_content_row_space_around;
282mod justify_content_row_space_between;
283mod justify_content_row_space_evenly;
284mod margin_and_flex_column;
285mod margin_and_flex_row;
286mod margin_and_stretch_column;
287mod margin_and_stretch_row;
288mod margin_auto_bottom;
289mod margin_auto_bottom_and_top;
290mod margin_auto_bottom_and_top_justify_center;
291mod margin_auto_left;
292mod margin_auto_left_and_right;
293mod margin_auto_left_and_right_column;
294mod margin_auto_left_and_right_column_and_center;
295mod margin_auto_left_and_right_stretch;
296mod margin_auto_left_child_bigger_than_parent;
297mod margin_auto_left_fix_right_child_bigger_than_parent;
298mod margin_auto_left_right_child_bigger_than_parent;
299mod margin_auto_left_stretching_child;
300mod margin_auto_mutiple_children_column;
301mod margin_auto_mutiple_children_row;
302mod margin_auto_right;
303mod margin_auto_top;
304mod margin_auto_top_and_bottom_stretch;
305mod margin_auto_top_stretching_child;
306mod margin_bottom;
307mod margin_fix_left_auto_right_child_bigger_than_parent;
308mod margin_left;
309mod margin_right;
310mod margin_should_not_be_part_of_max_height;
311mod margin_should_not_be_part_of_max_width;
312mod margin_top;
313mod margin_with_sibling_column;
314mod margin_with_sibling_row;
315mod max_height;
316mod max_height_overrides_height;
317mod max_height_overrides_height_on_root;
318mod max_width;
319mod max_width_overrides_width;
320mod max_width_overrides_width_on_root;
321mod measure_child;
322mod measure_child_absolute;
323mod measure_child_constraint;
324mod measure_child_constraint_padding_parent;
325mod measure_child_with_flex_grow;
326mod measure_child_with_flex_shrink;
327mod measure_child_with_flex_shrink_hidden;
328mod measure_child_with_min_size_greater_than_available_space;
329mod measure_flex_basis_overrides_measure;
330mod measure_height_overrides_measure;
331mod measure_remeasure_child_after_growing;
332mod measure_remeasure_child_after_shrinking;
333mod measure_remeasure_child_after_stretching;
334mod measure_root;
335mod measure_stretch_overrides_measure;
336mod measure_width_overrides_measure;
337mod min_height;
338mod min_height_larger_than_height;
339mod min_height_overrides_height;
340mod min_height_overrides_height_on_root;
341mod min_height_overrides_max_height;
342mod min_height_with_nested_fixed_height;
343mod min_max_percent_different_width_height;
344mod min_max_percent_no_width_height;
345mod min_width;
346mod min_width_larger_than_width;
347mod min_width_overrides_max_width;
348mod min_width_overrides_width;
349mod min_width_overrides_width_on_root;
350mod nested_overflowing_child;
351mod nested_overflowing_child_in_constraint_parent;
352mod only_shrinkable_item_with_flex_basis_zero;
353mod overflow_cross_axis;
354mod overflow_main_axis;
355mod overflow_main_axis_shrink_hidden;
356mod overflow_main_axis_shrink_scroll;
357mod overflow_main_axis_shrink_visible;
358mod overflow_scroll_main_axis_justify_content_end;
359mod overflow_scrollbars_overriden_by_available_space;
360mod overflow_scrollbars_overriden_by_max_size;
361mod overflow_scrollbars_overriden_by_size;
362mod overflow_scrollbars_take_up_space_both_axis;
363mod overflow_scrollbars_take_up_space_cross_axis;
364mod overflow_scrollbars_take_up_space_main_axis;
365mod padding_align_end_child;
366mod padding_border_overrides_max_size;
367mod padding_border_overrides_min_size;
368mod padding_border_overrides_size;
369mod padding_border_overrides_size_flex_basis_0;
370mod padding_border_overrides_size_flex_basis_0_growable;
371mod padding_center_child;
372mod padding_container_match_child;
373mod padding_flex_child;
374mod padding_no_child;
375mod padding_no_size;
376mod padding_stretch_child;
377mod parent_wrap_child_size_overflowing_parent;
378mod percent_absolute_position;
379mod percent_within_flex_grow;
380mod percentage_absolute_position;
381mod percentage_container_in_wrapping_container;
382mod percentage_different_width_height;
383mod percentage_different_width_height_column;
384mod percentage_flex_basis;
385mod percentage_flex_basis_cross;
386mod percentage_flex_basis_cross_max_height;
387mod percentage_flex_basis_cross_max_width;
388mod percentage_flex_basis_cross_min_height;
389mod percentage_flex_basis_cross_min_width;
390mod percentage_flex_basis_main_max_height;
391mod percentage_flex_basis_main_max_width;
392mod percentage_flex_basis_main_min_width;
393mod percentage_main_max_height;
394mod percentage_margin_should_calculate_based_only_on_width;
395mod percentage_moderate_complexity;
396mod percentage_moderate_complexity2;
397mod percentage_multiple_nested_with_padding_margin_and_percentage_values;
398mod percentage_padding_should_calculate_based_only_on_width;
399mod percentage_position_bottom_right;
400mod percentage_position_left_top;
401mod percentage_size_based_on_parent_inner_size;
402mod percentage_size_of_flex_basis;
403mod percentage_sizes_should_not_prevent_flex_shrinking;
404mod percentage_width_height;
405mod percentage_width_height_undefined_parent_size;
406mod position_root_with_rtl_should_position_withoutdirection;
407mod relative_position_should_not_nudge_siblings;
408mod rounding_flex_basis_flex_grow_row_prime_number_width;
409mod rounding_flex_basis_flex_grow_row_width_of_100;
410mod rounding_flex_basis_flex_shrink_row;
411mod rounding_flex_basis_overrides_main_size;
412mod rounding_fractial_input_1;
413mod rounding_fractial_input_2;
414mod rounding_fractial_input_3;
415mod rounding_fractial_input_4;
416mod rounding_fractial_input_5;
417mod rounding_fractial_input_6;
418mod rounding_fractial_input_7;
419mod rounding_inner_node_controversy_combined;
420mod rounding_inner_node_controversy_horizontal;
421mod rounding_inner_node_controversy_vertical;
422mod rounding_total_fractial;
423mod rounding_total_fractial_nested;
424mod simple_child;
425mod single_flex_child_after_absolute_child;
426mod size_defined_by_child;
427mod size_defined_by_child_with_border;
428mod size_defined_by_child_with_padding;
429mod size_defined_by_grand_child;
430mod undefined_height_with_min_max;
431mod undefined_width_with_min_max;
432mod undefined_width_with_min_max_row;
433mod width_smaller_then_content_with_flex_grow_large_size;
434mod width_smaller_then_content_with_flex_grow_small_size;
435mod width_smaller_then_content_with_flex_grow_unconstraint_size;
436mod width_smaller_then_content_with_flex_grow_very_large_size;
437mod wrap_child;
438mod wrap_column;
439mod wrap_grandchild;
440mod wrap_nodes_with_content_sizing_margin_cross;
441mod wrap_nodes_with_content_sizing_overflowing_margin;
442mod wrap_reverse_column;
443mod wrap_reverse_column_fixed_size;
444mod wrap_reverse_row;
445mod wrap_reverse_row_align_content_center;
446mod wrap_reverse_row_align_content_flex_start;
447mod wrap_reverse_row_align_content_space_around;
448mod wrap_reverse_row_align_content_stretch;
449mod wrap_reverse_row_single_line_different_size;
450mod wrap_row;
451mod wrap_row_align_items_center;
452mod wrap_row_align_items_flex_end;
453mod wrapped_column_max_height;
454mod wrapped_column_max_height_flex;
455mod wrapped_row_within_align_items_center;
456mod wrapped_row_within_align_items_flex_end;
457mod wrapped_row_within_align_items_flex_start;