Closed
Bug 1928413
Opened 2 years ago
Closed 1 year ago
Add automatic fluent support for the heading property of moz-page-nav
Categories
(Toolkit :: UI Widgets, task)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
135 Branch
| Tracking | Status | |
|---|---|---|
| firefox135 | --- | fixed |
People
(Reporter: hjones, Assigned: akulyk)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp])
Attachments
(1 external file)
moz-page-nav supports a heading property that is almost always set via fluent, which means that consumers need to specify data-l10n-attrs="heading" like this:
<moz-page-nav data-l10n-id="my-id" data-l10n-attrs="heading">
Bug 1901336 made it possible to automatically wire up data-l10n-attrs by specifying fluent: true in the property definition. We should modify moz-page-nav to take advantage of this by changing these property definitions to
heading: { type: String, fluent: true },
There will then be some additional work to clean up data-l10n-attrs on instances of moz-page-nav in the codebase.
Updated•2 years ago
|
Pushed by hjones@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/97d2d03f30b3
Add automatic fluent support for the heading property of moz-page-nav r=reusable-components-reviewers,fxview-reviewers,hjones,jsudiaman
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox135:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•