Closed Bug 1893070 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 45856 - Add expected labels to errant tests in display-contents-role-and-label.html

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 45856 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/45856
Details from upstream follow.

Nathan LaPre <nmlapre@gmail.com> wrote:

Add expected labels to errant tests in display-contents-role-and-label.html

For issue: https://github.com/web-platform-tests/interop-accessibility/issues/121

There are some tests in display-contents-role-and-label.html that have class .ex-role-and-label (indicating they should have their labels tested) but have no data-expectedlabel attribute specifying the expected label. This discrepancy causes spurious test failures. This commit fixes the problem by adding data-expectedlabel attributes to the affected tests.

All tested browsers are currently failing these tests, but after merging these fixes they should all pass.

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 138 subtests

Status Summary

Firefox

OK : 1
PASS: 132
FAIL: 6

Chrome

OK : 1
PASS: 120
FAIL: 18

Safari

OK : 1
PASS: 110
FAIL: 28

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-display/accessibility/display-contents-role-and-label.html [wpt.fyi]
    • Label: td as child of tr with display: contents, within table with display: flex, has cell role: FAIL (Chrome: PASS, Safari: FAIL)
    • Label: td as child of tr with display: contents, within table with role=table with display: flex, has cell role: FAIL (Chrome: PASS, Safari: FAIL)
    • Label: listitem within ul with display: contents, as child of div with display: grid, has listitem role: FAIL (Chrome: FAIL, Safari: FAIL)
    • Label: li, as child of ul with role list and display: contents, has listitem role: FAIL (Chrome: FAIL, Safari: FAIL)
    • Label: li, as child of ol with role list and display: contents, has listitem role: FAIL (Chrome: FAIL, Safari: FAIL)
    • Label: td within tr in table with role table, all with display: contents, has cell role: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0e9b2070a314 [wpt PR 45856] - Add expected labels to errant tests in display-contents-role-and-label.html, a=testonly https://hg.mozilla.org/integration/autoland/rev/b77d06e37efb [wpt PR 45856] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.