[wpt-sync] Sync PR 40290 - Add a canvas_type param that can be used by Jinja templates.
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40290 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40290
Details from upstream follow.
Jean-Philippe Gravel <jpgravel@chromium.org> wrote:
Add a canvas_type param that can be used by Jinja templates.
This allows the template to know that canvas type the test is being
rendered for. For instance, templates can now do:
{% if canvas_type == 'htmlcanvas' %}For this change to work, the rendering of the code has to be moved
to a latter point, after the canvas_type is known and added to the
params.Change-Id: I10345785b14bfe5c62bc848098a23c9f9806ee24
Bug: 1275750
Reviewed-on: https://chromium-review.googlesource.com/4567565
WPT-Export-Revision: 458afc47de85d2eb079a222681b43f962b5924f3
Assignee | ||
Updated•1 years ago
|
Assignee | ||
Comment 1•1 years ago
|
||
Assignee | ||
Updated•1 years ago
|
Assignee | ||
Updated•1 years ago
|
Assignee | ||
Updated•1 years ago
|
Assignee | ||
Updated•1 years ago
|
Assignee | ||
Comment 2•1 years ago
|
||
Assignee | ||
Comment 3•1 years ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
Assignee | ||
Comment 5•1 year ago
|
||
Assignee | ||
Comment 7•1 year ago
|
||
Comment 8•1 year ago
|
||
bugherder |
Description
•