Closed Bug 2079084 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63322 - Fixed broken detection of overlay scrollbars in CQ test

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Fixed broken detection of overlay scrollbars in CQ test

Subtests of query-content-box.html relies on correct detection of
overlay scrollbars for the expected query widths. The detection
incorrectly checked the element reference against 0. Test flakily failed
on MacOS.

Check offsetWidth instead.

Bug: 566836342
Change-Id: I926f6d48587e8e0aab42c94898ff1626e90a41d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8517322
Reviewed-by: Ian Kilpatrick \<ikilpatrick@chromium.org>
Auto-Submit: Rune Lillesveen \<futhark@chromium.org>
Commit-Queue: Ian Kilpatrick \<ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1712380}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

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

Total 319 tests and 2 subtests

Status Summary

Firefox

OK : 1[GitHub] 16[Gecko-windows11-32-25h2-opt] 207[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-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 2[GitHub] 62[Gecko-linux2204-64-wayland-debug] 128[Gecko-windows11-32-25h2-opt] 1252[Gecko-windows11-32-25h2-debug] 1290[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 1292[Gecko-linux2404-64-debug] 1303[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]
FAIL: 4[GitHub] 9[Gecko-windows11-32-25h2-opt] 239[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] 241[Gecko-windows11-32-25h2-debug] 250[Gecko-linux2404-64-debug] 252[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 6

Safari

OK : 1
PASS: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /css/css-conditional/container-queries/query-content-box.html [wpt.fyi]
    • Size queries with content-box sizing and overflow:scroll: FAIL [Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt, GitHub], PASS [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] linked bug:Bug 1802763
    • Size queries with border-box sizing and overflow:scroll: FAIL [Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt, GitHub], PASS [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] linked bug:Bug 1802763
    • Size queries with content-box sizing and scrollbar-gutter:stable: FAIL [Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt, GitHub], PASS [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] linked bug:Bug 1920200
    • Size queries with border-box sizing and scrollbar-gutter:stable: FAIL [Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt, GitHub], PASS [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] linked bug:Bug 1920200

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: