Closed Bug 1758946 Opened 3 years ago Closed 2 years ago

Allow FontFaceSet to be used in a Worker context

Categories

(Core :: DOM: CSS Object Model, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1072107

People

(Reporter: jfkthame, Unassigned)

References

Details

Currently, FontFaceSet expects to be attached to a Document:
https://searchfox.org/mozilla-central/rev/61c6b2ca66b8fc7d82a71d6f045871e5a8649cbb/layout/style/FontFaceSet.h#335-336

But to use the CSS Font Loading API for offscreen canvas, we'll need to detach FontFaceSet from Document so that it can be used in a worker context.

Blocks: 1765545
No longer blocks: 1756464
Flags: needinfo?(aosmond)
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(aosmond)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.