Closed Bug 2085392 Opened 1 month ago Closed 25 days ago

[wpt-sync] Sync PR 63993 - layout: Treat `<meter>` and `<progress>` as widgets

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Oriol Brufau <obrufau@igalia.com> wrote:

layout: Treat <meter> and <progress> as widgets

Mostly, the effects are:

  • They will be atomic if they have display: inline. All browsers agree with this.
  • They won't stretch by default if they have display: block. Gecko agrees, Blink and WebKit don't. This is being discussed in https://github.com/w3c/csswg-drafts/issues/14641
  • They will be be considered as "compressible replaced", as required by the spec. Currently this is only checked in grid layout, and in this case I don't think there should be any observable difference. But they will be affected by bug #<!-- nolink -->49142.

Testing: Adding 2 tests
Reviewed in servo/servo#49143

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 14 tests

Status Summary

Firefox

OK : 7
PASS: 2[GitHub] 81[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 88[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

PASS: 2

Safari

PASS: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/9765a8ce3c6f https://hg.mozilla.org/integration/autoland/rev/3b550eb577af [wpt PR 63993] - layout: Treat `<meter>` and `<progress>` as widgets, a=testonly
Status: NEW → RESOLVED
Closed: 25 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.