Closed Bug 1915185 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 47816 - Remove `width` and `height` presentational hints for `<canvas>`

Categories

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

task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Oriol Brufau <obrufau@igalia.com> wrote:

Remove width and height presentational hints for <canvas>

According to HTML, the width and height attributes should only set the natural sizes and the aspect ratio.
The width and height properties should stay as initial by default.

<!-- Please describe your changes on the following line: -->

Reviewed in servo/servo#33211

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

CI Results

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

Total 1 tests

Status Summary

Chrome

PASS: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8b9cc71e6ba3 [wpt PR 47816] - Remove `width` and `height` presentational hints for `<canvas>`, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.