Closed Bug 1853806 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 41997 - Avoid asserting default sizes in {progress,meter}-native-computed-style.optional.html writing mode tests

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Aditya Keerthi <akeerthi@apple.com> wrote:

Avoid asserting default sizes in {progress,meter}-native-computed-style.optional.html writing mode tests

These tests currently assume that the default inline and block sizes of <progress> and <meter> are the same across all browsers. That is not the case, and is irrelevant to the purpose of the test, which is to assert that the block size should match height/width and inline size should match width/height depending on the writing mode.

Replace the exact value assertions with assertions that test for an appropriate aspect ratio (inline size greater than block size).

Component: web-platform-tests → Layout
Product: Testing → Core
Test result changes from PR not available.
Pushed by csabou@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/beba64698f75 [wpt PR 41997] - Avoid asserting default sizes in {progress,meter}-native-computed-style.optional.html writing mode tests, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.