Closed Bug 1834347 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 40129 - [image-set] Add tests for negative and zero resolutions.

Categories

(Core :: Layout: Images, Video, and HTML Frames, task, P4)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ryan Reno <rreno@apple.com> wrote:

[image-set] Add tests for negative and zero resolutions.

calc() with negative resolution is supposed to clamp to zero. Zero resolutions are supposed to be <invalid-image>'s from the css images level 4 spec. This adds parsing and rendering test cases for those situations.

Component: web-platform-tests → Layout: Images, Video, and HTML Frames
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a6168975d8d1 [wpt PR 40129] - [image-set] Add tests for negative and zero resolutions., a=testonly https://hg.mozilla.org/integration/autoland/rev/0998286a6432 [wpt PR 40129] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Regressions: 1837603
Regressions: 1837634
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.