Summary: Expose the CSS namespace in workers and worklets, making
convenience methods such as CSS.px() and CSS.number() available outside
the main thread.
Bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=2079188
- https://bugzilla.mozilla.org/show_bug.cgi?id=2079583
Specification: None so far for worker and worklet exposure.
Standards Body: CSSWG
Platform Coverage: All
Preference: layout.css.namespace.exposed-in-workers-and-worklets,
enabled on Nightly only.
DevTools Bug: N/A
Extensions Bug: N/A
Use Counter: Not planned.
Standards-Positions Discussion:
https://github.com/w3c/csswg-drafts/issues/14229
Other Browsers:
- Blink: CSS namespace not exposed in workers yet.
- WebKit: CSS namespace not exposed in workers yet.
web-platform-tests: Existing CSS Typed OM tests cover dedicated, shared,
and service workers. Many use convenience methods such as CSS.px() and
CSS.number(), which require the CSS namespace to be exposed.
Thanks,
Jan
--
You received this message because you are subscribed to the Google Groups
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/e5704f75-e017-4a2b-83b1-9c27949f8166%40gmail.com.