Opened 54 minutes ago
#37085 assigned New feature
Move object-based stylesheet media assets to the public API
| Reported by: | Natalia Bidart | Owned by: | Natalia Bidart |
|---|---|---|---|
| Component: | Forms | Version: | dev |
| Severity: | Normal | Keywords: | Media MediaAsset |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
This ticket is a successor to #35886 and aims to move object-based stylesheet assets to the public API and documentation.
A CSS sample implementation has been part of the test suite for a while, see source code.
The goal is to provide parity with the Script class added in 989329344aabe8ef7a5e55bebfde53f0e00f42e2 and facilitate the work for adding support for nonces in forms.Media (#36784).
See also: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
Note:
See TracTickets
for help on using tickets.