Closed
Bug 1766318
Opened 2 years ago
Closed 2 years ago
Convert instances of <label is="text-link"> to HTML anchor elements in preferences.xhtml
Categories
(Toolkit :: UI Widgets, task)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
102 Branch
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: hjones, Assigned: hjones)
References
(Regressed 1 open bug)
Details
Attachments
(1 file)
There are currently about 80 total instances of <label is="text-link">
. Migrating to use HTML anchor elements instead will enable us to eventually remove MozTextLink
. To help minimize possible regressions it makes sense to start making these changes one file at a time. preferences.xhtml
will be a simple test to see how involved the migration will be, as is="text-link"
is only used in three places.
Assignee | ||
Comment 1•2 years ago
|
||
These changes replicate the exact appearance and behaviour of <label is="text-link">
. There are a few possible enhancements not tackled here, as this is the simplest possible migration implementation:
- We could switch to using
button
elements in this case, based on the styling and the fact that theaddonsButton
has some additional behaviour on top of navigation. This would necessitate re-working the current style rules a bit. - Somewhat relatedly, we could change the
helpButton
andabout:policies
anchor elements to always switch tabs if the link has already been clicked/opened, rather than always opening in a new tab
Updated•2 years ago
|
Assignee: nobody → hjones
Status: NEW → ASSIGNED
Pushed by hjones@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e1b188400b53 replace is='text-link' with <html:a> in preferences.xhtml r=preferences-reviewers,Gijs
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox102:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•