+
9 Flex Layout Algorithm |
autoheight-flexbox-001 |
= |
|
CSS Regions: fixed height flexbox inside auto height region
- Test that flowing a flex container inside a region with auto-height will enlarge the region to fit the content.
|
autoheight-flexbox-002 |
= |
Ahem |
CSS Regions: flowing auto-height flexbox elements in region
- Test that a flex container with auto height is flowed correctly inside a region with auto height. The region should fit the flexbox.
|
autoheight-flexbox-003 |
= |
Ahem |
CSS Regions: auto height region inside a fixed sized flexbox
- Test that an auto-height region inside a flexbox is stretched to match the flexbox container's cross size.
|
autoheight-flexbox-004 |
= |
Ahem |
CSS Regions: auto height region inside an auto height flexbox
- Test that an auto height region inside a flex container with auto height is displayed properly. The flexbox should have the same height as the region.
|
autoheight-regions-in-autoheight-flexbox-001 |
= |
Ahem |
CSS Regions: Auto-height regions in auto-height flex container
- Test that auto-height regions placed in a flex container with auto-height and row wrap reverse flow are sized correctly. The content from the second flow should flow through the region on the second row and into the region from the first row, making the left blue rectangle taller than the green rectangle on the right.
|
autoheight-regions-in-autoheight-flexbox-002 |
= |
Ahem |
CSS Regions: Auto-height regions with vertical writing mode in auto-height flexbox
- Test checks that auto-height regions having content with vertical writing mode are sized correctly when placed inside a flex container. The flowed content should be displayed as a horizontal green stripe.
|
autoheight-regions-in-autoheight-flexbox-003 |
= |
Ahem |
CSS Regions: auto-height regions in auto-height flexbox with flex basis
- Test checks that the computed height of auto-height regions placed in a flex container takes into the account the flex basis property. The space available inside the flex container should be distributed according to the flex basis property. In this particular case, each of the three regions must have a height equal to one third of the flex container's height.
|
autoheight-regions-in-autoheight-flexbox-004 |
= |
Ahem |
CSS Regions: nested regions in flexbox
- Test checks that nested regions placed in flex containers are laid out properly. The first flow (blue content) is nested inside the second flow (green content). The user should see three horizontal stripes with the following colors: green, blue, green.
|
autoheight-regions-in-fixed-sized-flexbox-001 |
= |
Ahem |
CSS Regions: Auto-height regions inside fixed sized flexbox
- Test checks that auto-height regions respect the flex grow property when placed inside a fixed sized flexbox with a single row.
|
autoheight-regions-in-fixed-sized-flexbox-002 |
= |
Ahem |
CSS Regions: Auto-height regions inside fixed sized flexbox with column flow
- Test checks that auto-height regions placed inside a fixed sized flexbox with column flow have the correct computed height. There are two regions placed inside the same flex container having the same 'grow' value. The space should be distributed evenly between the two.
|
autoheight-regions-in-fixed-sized-flexbox-003 |
= |
Ahem |
CSS Regions: Auto-height regions inside a fixed sized flexbox with column wrap flow
- Test checks the layout of auto-height regions placed inside a flexbox with a fixed size and column wrap flow. The flex container should have two columns with three regions each.
|
autoheight-regions-in-fixed-sized-flexbox-004 |
= |
Ahem |
CSS Regions: Auto-height region in fixed sized flexbox using flex basis
- Test checks the layout of regions placed inside a fixed sized flexbox using flex basis and column flow. The flex container should force the first region to break by constraining its height.
|
autoheight-regions-in-fixed-sized-flexbox-005 |
= |
|
CSS Regions: Auto-height regions in fixed sized flexboxes with align-items and justify-content
- Test checks auto-height regions' layout when placed inside a flexbox with using align-items and justify-content properties. The flowed content should be fragmented between the three regions and the flex container should distribute the remaining horizontal space evenly around the regions.
|
autoheight-regions-in-fixed-sized-flexbox-006 |
= |
|
CSS Regions: auto-height regions inside a flex container with fixed size
- Test that the flex container stretches a region flex item with a height smaller than the flex container's inner cross size.
|
autoheight-regions-in-fixed-sized-flexbox-007 |
= |
Ahem |
CSS Regions: auto-height regions inside fixed sized flexbox
- Test that using the flex-basis property sizes the flex items to a percentage of the flex container's height when said items are auto-height regions. The last region, the outside the flex container should not be visible.
|
autoheight-regions-in-fixed-sized-flexbox-008 |
= |
Ahem |
CSS Regions: auto-height regions with max height in fixed sized flexbox
- Test that the max-height property is applied to regions placed inside a fixed sized flexbox with a column flow. The flex container should not flex the region flex items beyond their max height value.
|
flexbox-align-self-stretch-vert-001 |
= |
|
Testing the sizing of a stretched horizontal flex container in a vertical flex container
- If a stretched flex item's main size is influenced by its cross size, and the flex container has a definite cross size, then the item's cross size should be resolved early so that it can be used when determining the item's main size
- https://drafts.csswg.org/css-flexbox/issues-cr-2012#issue-23
|
flexbox-align-self-stretch-vert-002 |
= |
|
Testing the sizing of stretched flex items in a vertical multi-line flex container
- In a multi-line flex container, flex items should not be stretched (in the cross axis) until after wrapping has been performed.
|
flexbox-basic-block-horiz-001 |
= |
|
Testing flexbox layout algorithm property on block flex items in a horizontal flex container
|
flexbox-basic-block-vert-001 |
= |
|
Testing flexbox layout algorithm property on block flex items in a vertical flex container
|
flexbox-basic-canvas-horiz-001 |
= |
|
Testing flexbox layout algorithm property on canvas flex items in a horizontal flex container
|
flexbox-basic-canvas-vert-001 |
= |
|
Testing flexbox layout algorithm property on canvas flex items in a vertical flex container
|
flexbox-basic-fieldset-horiz-001 |
= |
|
Testing flexbox layout algorithm property on fieldset flex items in a horizontal flex container
|
flexbox-basic-fieldset-vert-001 |
= |
|
Testing flexbox layout algorithm property on fieldset flex items in a vertical flex container
|
flexbox-basic-iframe-horiz-001 |
= |
|
Testing flexbox layout algorithm property on iframe flex items in a horizontal flex container
|
flexbox-basic-iframe-vert-001 |
= |
|
Testing flexbox layout algorithm property on iframe flex items in a vertical flex container
|
flexbox-basic-img-horiz-001 |
= |
|
Testing flexbox layout algorithm property on img flex items in a horizontal flex container
|
flexbox-basic-img-vert-001 |
= |
|
Testing flexbox layout algorithm property on img flex items in a vertical flex container
|
flexbox-basic-textarea-horiz-001 |
= |
|
Testing flexbox layout algorithm property on textarea flex items in a horizontal flex container
|
flexbox-basic-textarea-vert-001 |
= |
|
Testing flexbox layout algorithm property on textarea flex items in a vertical flex container
|
flexbox-basic-video-horiz-001 |
= |
|
Testing flexbox layout algorithm property on video flex items in a horizontal flex container
|
flexbox-basic-video-vert-001 |
= |
|
Testing flexbox layout algorithm property on video flex items in a vertical flex container
|
flexbox-mbp-horiz-001 |
= |
|
Testing borders on flex items in a horizontal flex container
|
flexbox-mbp-horiz-001-reverse |
= |
|
Testing borders on flex items in a row-reverse horizontal flex container
|
flexbox-mbp-horiz-001-rtl |
= |
|
Testing borders on flex items in a horizontal flex container with 'direction: rtl'
|
flexbox-mbp-horiz-001-rtl-reverse |
= |
|
Testing borders on flex items in a row-reverse horizontal flex container, with 'direction: rtl'
|
flexbox-mbp-horiz-002a |
= |
|
Testing margins and borders on flex items in a horizontal flex container
|
flexbox-mbp-horiz-002b |
= |
|
Testing margins, borders, and padding on flex items in a horizontal flex container
|
flexbox-mbp-horiz-003 |
= |
|
Testing borders and padding on a horizontal flex container and its flex items
|
flexbox-mbp-horiz-003-reverse |
= |
|
Testing borders and padding on a row-reverse horizontal flex container and its flex items
|
flexbox-mbp-horiz-004 |
= |
|
Testing percent-valued padding and margin on flex items
|
flexbox-sizing-horiz-001 |
= |
|
Testing sizing of an auto-sized horizontal flex container with min-width and max-width constraints
|
flexbox-sizing-horiz-002 |
= |
|
Testing sizing of an auto-sized horizontal flex container with min-height and max-height constraints
|
flexbox-sizing-vert-001 |
= |
|
Testing sizing of an auto-sized vertical flex container with min-height and max-height constraints
|
flexbox-sizing-vert-002 |
= |
|
Testing sizing of an auto-sized vertical flex container with min-width and max-width constraints
|
flexbox-writing-mode-007 |
= |
|
Verify that explicit sizes are honored on flex items whose writing-mode may differ from the flex container's writing-mode
|
flexbox-writing-mode-008 |
= |
|
Verify that explicit sizes are honored on flex items whose writing-mode may differ from the flex container's writing-mode
|
flexbox-writing-mode-009 |
= |
|
Verify that explicit sizes are honored on flex items whose writing-mode may differ from the flex container's writing-mode
|
row-flexbox-break |
= |
Ahem |
CSS Regions: row flex container fragmentation
- Test checks that a flex container with row flow is split between regions.
|