[wpt-sync] Sync PR 63328 - [masonry] Add tests for reading flow reading down the stacking axis
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox160 fixed)
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63328 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63328
Details from upstream follow.
Celeste Pan <celestepan@microsoft.com> wrote:
[masonry] Add tests for reading flow reading down the stacking axis
Tests for reading-flow in grid-lanes for reading down individual
stacking axes. The default behavior of "normal" is working, where items
are read based on their source order (so order they appear in the DOM)
as opposed to their visual order. Naming for this is still up for
discussion [1] but we're using the grid keywords for now to unblock
implementation.Tests were also added for reverse placement, as well as dense-packing
and multi-spanning items, but more complex tests will be added with the
implementation of those features to keep this change from being too
large.Follow-ups will be needed to implement actually reading down the
stacking axis based on visual order.Reading across tracks (across the grid-axis) will require separate
changes, and the discussion can be found in a CSSWG issue [2].[1] https://github.com/w3c/csswg-drafts/issues/14290 [2]
https://github.com/w3c/csswg-drafts/issues/5675#issuecomment-2565155995Bug: 564353369
Change-Id: Idea4862c2f6dca28d999f61cc5fce8f5164e8167
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8495806
Commit-Queue: Celeste Pan \<celestepan@microsoft.com>
Reviewed-by: Alison Maher \<almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1712520}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=101163
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 36 tests and 5 subtests
Status Summary
Firefox
OK : 11[GitHub] 36[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 12[GitHub] 26[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 13[GitHub] 78[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 11
PASS: 13
FAIL: 12
Safari
OK : 11
PASS: 9
FAIL: 16
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-display/reading-flow/tentative/reading-flow-computed.html [wpt.fyi]
- Property reading-flow value 'normal':
FAIL - Property reading-flow value 'flex-visual':
FAIL - Property reading-flow value 'flex-flow':
FAIL - Property reading-flow value 'grid-rows':
FAIL - Property reading-flow value 'grid-columns':
FAIL - Property reading-flow value 'grid-order':
FAIL - Property reading-flow value 'source-order':
FAIL
- Property reading-flow value 'normal':
- /css/css-display/reading-flow/tentative/reading-flow-valid.html [wpt.fyi]
- e.style['reading-flow'] = "normal" should set the property value:
FAIL - e.style['reading-flow'] = "flex-visual" should set the property value:
FAIL - e.style['reading-flow'] = "flex-flow" should set the property value:
FAIL - e.style['reading-flow'] = "grid-rows" should set the property value:
FAIL - e.style['reading-flow'] = "grid-columns" should set the property value:
FAIL - e.style['reading-flow'] = "grid-order" should set the property value:
FAIL - e.style['reading-flow'] = "source-order" should set the property value:
FAIL
- e.style['reading-flow'] = "normal" should set the property value:
- /css/css-display/reading-flow/tentative/reading-order-computed.html [wpt.fyi]
- Property reading-order value '-1':
FAIL - Property reading-order value '0':
FAIL - Property reading-order value '34':
FAIL - Property reading-order value 'calc(34.1)':
FAIL
- Property reading-order value '-1':
- /css/css-display/reading-flow/tentative/reading-order-valid.html [wpt.fyi]
- e.style['reading-order'] = "0" should set the property value:
FAIL - e.style['reading-order'] = "123" should set the property value:
FAIL - e.style['reading-order'] = "-45" should set the property value:
FAIL - e.style['reading-order'] = "calc(34.1)" should set the property value:
FAIL
- e.style['reading-order'] = "0" should set the property value:
- /shadow-dom/focus-navigation/reading-flow/tentative/carousel-grid-order.html [wpt.fyi]
- Grid items in carousel should follow grid-order reading flow:
FAIL
- Grid items in carousel should follow grid-order reading flow:
- /shadow-dom/focus-navigation/reading-flow/tentative/flex-flow.html [wpt.fyi]
- Flex items in flexbox should follow flex-flow reading flow:
FAIL - Flex items in rtl flexbox should follow flex-flow reading flow:
FAIL - Flex items in vertical-lr flexbox should follow flex-flow reading flow:
FAIL
- Flex items in flexbox should follow flex-flow reading flow:
- /shadow-dom/focus-navigation/reading-flow/tentative/flex-visual-order.html [wpt.fyi]
- Flex items in row-reverse flexbox should follow flex-visual reading flow:
FAIL - Flex items in row-reverse rtl flexbox should follow flex-visual reading flow:
FAIL - Flex items in row-reverse and vertical-lr flexbox should follow flex-visual reading flow:
FAIL
- Flex items in row-reverse flexbox should follow flex-visual reading flow:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-auto-flow-reading-order.html [wpt.fyi]
- Grid items should follow grid-rows reading flow, but let reading-order can move item's focus order to the top.:
FAIL - Grid items should follow reading flow, mix of reading-order and order values.:
FAIL
- Grid items should follow grid-rows reading flow, but let reading-order can move item's focus order to the top.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-columns.html [wpt.fyi]
- Grid items in grid template columns should follow grid-columns reading flow:
FAIL
- Grid items in grid template columns should follow grid-columns reading flow:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-lanes-column-reading-flow-001.html [wpt.fyi]
source-ordergroups byreading-orderand breaks ties bysource-order:FAIL(Chrome:PASS, Safari:FAIL)
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-lanes-column-reading-flow-003.html [wpt.fyi]
grid-columnsfollows CSS order right-to-left within columns invertical-rl:FAIL(Chrome:FAIL, Safari:FAIL)
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-lanes-column-reading-flow-004.html [wpt.fyi]
- CSS Grid Lanes: reading-flow reads down each stacking axis with auto-placement:
FAIL(Chrome:FAIL, Safari:FAIL)
- CSS Grid Lanes: reading-flow reads down each stacking axis with auto-placement:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-lanes-column-reading-flow-006.html [wpt.fyi]
- Grid-order uses CSS order and source order for ties:
FAIL(Chrome:FAIL, Safari:FAIL)
- Grid-order uses CSS order and source order for ties:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-lanes-column-reading-flow-007.html [wpt.fyi]
- Grid-columns reads left-to-right columns with track-reverse placement:
FAIL(Chrome:FAIL, Safari:FAIL) - Grid-columns reads top-to-bottom within columns with fill-reverse placement:
FAIL(Chrome:FAIL, Safari:FAIL)
- Grid-columns reads left-to-right columns with track-reverse placement:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-lanes-column-reading-flow-008.html [wpt.fyi]
- Grid-columns reads spanning items once in visual column order:
FAIL(Chrome:FAIL, Safari:FAIL) - Grid-columns follows visual column order after dense backfill:
FAIL(Chrome:FAIL, Safari:FAIL)
- Grid-columns reads spanning items once in visual column order:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-lanes-row-reading-flow-001.html [wpt.fyi]
- Grid-rows reads top-to-bottom rows with track-reverse placement:
FAIL(Chrome:FAIL, Safari:FAIL) - Grid-rows reads left-to-right within rows with fill-reverse placement:
FAIL(Chrome:FAIL, Safari:FAIL)
- Grid-rows reads top-to-bottom rows with track-reverse placement:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-lanes-row-reading-flow-002.html [wpt.fyi]
- Grid-rows reads spanning items once in visual row order:
FAIL(Chrome:FAIL, Safari:FAIL) - Grid-rows follows visual row order after dense backfill:
FAIL(Chrome:FAIL, Safari:FAIL)
- Grid-rows reads spanning items once in visual row order:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-lanes-row-reading-flow-003.html [wpt.fyi]
- Grid-rows reads each row completely before the next:
FAIL(Chrome:FAIL, Safari:FAIL)
- Grid-rows reads each row completely before the next:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-across-scopes.html [wpt.fyi]
- Grid items in shadow host that is a display contents grid item:
FAIL
- Grid items in shadow host that is a display contents grid item:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-on-shadow-host.html [wpt.fyi]
- Grid items in shadow host with delegatesFocus:
FAIL - Grid items in shadow host without delegatesFocus:
FAIL
- Grid items in shadow host with delegatesFocus:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-pseudo-elements.html [wpt.fyi]
- Grid pseudo items are not focusable:
FAIL
- Grid pseudo items are not focusable:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-display-contents.html [wpt.fyi]
- Items in display contents are sorted in same grid container and are placed in the position where their first child resides.:
FAIL - Items in display contents are sorted in same grid container and are placed in the position where their first child resides. The display contents have tabindex and should be focusable.:
FAIL - Grid items are in nested display contents containers.:
FAIL
- Items in display contents are sorted in same grid container and are placed in the position where their first child resides.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-iframe.html [wpt.fyi]
- Grid items are iframes.:
FAIL
- Grid items are iframes.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-nested-grids.html [wpt.fyi]
- Grid items are not grid containers.:
FAIL - Grid items are grid containers.:
FAIL - Only has grid containers.:
FAIL
- Grid items are not grid containers.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-popover.html [wpt.fyi]
- Popover is reading-flow item.:
FAIL - Popover is reading-flow item and reading-flow container.:
FAIL
- Popover is reading-flow item.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-position-absolute.html [wpt.fyi]
- Items in position:absolute container are visited at the end of the focus sequence. reading-order can override DOM order.:
FAIL - Items that have position:absolute are visited at the end of the focus sequence, in DOM order.:
FAIL
- Items in position:absolute container are visited at the end of the focus sequence. reading-order can override DOM order.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-position-fixed.html [wpt.fyi]
- Items in position:fixed container are visited at the end of the focus sequence. reading-order can override DOM order.:
FAIL - Items that have position:fixed are visited at the end of the focus sequence, in DOM order.:
FAIL
- Items in position:fixed container are visited at the end of the focus sequence. reading-order can override DOM order.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order-with-slots.html [wpt.fyi]
- Slot assigned element is a grid with reading-flow.:
FAIL - Slot is a grid with reading-flow.:
FAIL - Slot is inside a grid container with reading-flow.:
FAIL - Slot is a grid with reading-flow inside a grid container with reading-flow.:
FAIL - Slot is not inside a shadow host.:
FAIL - Slot is a display contents inside a grid container.:
FAIL - Slot is a display block inside a grid container.:
FAIL
- Slot assigned element is a grid with reading-flow.:
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-order.html [wpt.fyi]
- Grid items with
orderproperty:FAIL - Grid items with
orderproperty and tabindex. Positive tabindex doesn't reorder reading flow item, but can affect its descendants.:FAIL - Items in display block are not in parent grid container.:
FAIL
- Grid items with
- /shadow-dom/focus-navigation/reading-flow/tentative/grid-rows.html [wpt.fyi]
- Grid items in grid template columns should follow grid-rows reading flow:
FAIL
- Grid items in grid template columns should follow grid-rows reading flow:
- /shadow-dom/focus-navigation/reading-flow/tentative/source-order-valid.html [wpt.fyi]
- Block elements. Focus should be in DOM tabindexed-order, but reading-order takes effect.:
FAIL - Block inline elements. Focus should be in DOM tabindexed-order, but reading-order takes effect.:
FAIL - Flex elements. Focus should be in DOM tabindexed-order, but reading-order takes effect.:
FAIL - Grid elements. Focus should be in DOM tabindexed-order, but reading-order takes effect.:
FAIL - Flow root elements. Focus should be in DOM tabindexed-order, but reading-order takes effect.:
FAIL
- Block elements. Focus should be in DOM tabindexed-order, but reading-order takes effect.:
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f433ad81e544
https://hg.mozilla.org/mozilla-central/rev/c4035c987f62
Description
•