blob: d96885faed4e4995a9744ccd86b1923df768ca4c [file] [log] [blame]
The test shows 3 grids each of them with 3 items sorted differently in the DOM.
Each grid container must use its first (grid order) item to compute its baseline, and using document-oder in case of element with same grid-order. Hence they might be baseline aligned each other accordingly.
This case shows 3 items located along the first row and in different columns, so grid baseline is computed using the one located at first column (blue item).
PASS
PASS
PASS
This case shows 3 items located along the first row and in different columns, so such item is used to determine the grid's baseline instead of using the grid order.
PASS
PASS
PASS
This case shows 3 items' areas intersecting the first row and first column, so the dom order must be used to determine each grid's baseline.
PASS
PASS
PASS
This case shows 3 items' areas intersecting the first row and first column, but one of the items participates in baseline alignment, so such item is used to determine the grid's baseline instead of using the dom order.
PASS
PASS
PASS
This case shows one of the grids with no items, hence its baseline must be synthesized.
PASS
PASS
PASS
This case shows one of the grids with no items in the first row, hence its baseline must be synthesized.
PASS
PASS
PASS