Opened 3 weeks ago

Closed 3 weeks ago

#37085 closed New feature (fixed)

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: Ready for checkin
Has patch: yes 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

Change History (8)

comment:1 by Jacob Walls, 3 weeks ago

Triage Stage: UnreviewedAccepted

comment:2 by Natalia Bidart, 3 weeks ago

Has patch: set

comment:3 by Johannes Maron, 3 weeks ago

Needs tests: set
Patch needs improvement: set

comment:4 by Johannes Maron, 3 weeks ago

Has patch: unset
Needs tests: unset

comment:5 by Johannes Maron, 3 weeks ago

Has patch: set

comment:6 by Natalia Bidart, 3 weeks ago

Patch needs improvement: unset

comment:7 by Jacob Walls, 3 weeks ago

Triage Stage: AcceptedReady for checkin

comment:8 by nessita <124304+nessita@…>, 3 weeks ago

Resolution: fixed
Status: assignedclosed

In 8096b52:

Fixed #37085 -- Added support for object-based form media stylesheet assets.

Thank you James Walls and James Bligh for reviews.

Co-authored-by: Johannes Maron <johannes@…>

Note: See TracTickets for help on using tickets.
Back to Top