[wpt-sync] Sync PR 47263 - Writing-mode should not be inherited from CSS
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47263 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47263
Details from upstream follow.
Yi Xu <yiyix@chromium.org> wrote:
Writing-mode should not be inherited from CSS
The 2D context is not supposed to inherit the writing mode of the
parent \<canvas> element.According to the spec, the algorithm that specifies the canvas text
rendering properties is defined here in the spec:
https://html.spec.whatwg.org/multipage/canvas.html#text-preparation-algorithm
In particular, step 5 of the algorithm.This test verifies that the vertical writing mode has no effect on
\<canvas> element.Bug: 40064950
Change-Id: I65f0b11d8331a594dd437510fee008685f679245
Reviewed-on: https://chromium-review.googlesource.com/5732132
WPT-Export-Revision: e2516f92475585b57509dcd197ec0b0489d65ac5
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Comment 1•3 months ago
|
||
Assignee | ||
Comment 2•3 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS
: 1
Chrome
PASS
: 1
Safari
PASS
: 1
Links
Comment 4•3 months ago
|
||
bugherder |
Description
•