Closed
Bug 1689830
Opened 5 years ago
Closed 5 years ago
Stop using <deck> for .wizard-page-box
Categories
(Toolkit :: UI Widgets, task)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
87 Branch
| Tracking | Status | |
|---|---|---|
| firefox87 | --- | fixed |
People
(Reporter: ntim, Assigned: ntim)
References
(Regressed 1 open bug)
Details
Attachments
(2 files)
The <deck> custom element is not going to work there, because it considers DOM children (slot) unlike nsDeckFrame which considers frame tree children (wizardpage).
Adding hacks into the <deck> CE is probably not worth it given that they'll need to cover CSS styling, or the mutation observer. A customized-slot element is also not worth maintaining either.
Best path is probably to just manually implement the showing/hiding of pages in the wizard CE.
Comment 1•5 years ago
|
||
Fwiw, you can use any display value on <slot>, so we could remove the <deck> there and use display:grid directly on the slot itself if that helps. Given that <wizard> already has a "page index", maybe can use that instead of the <deck>'s selectedIndex?
Here's a mockup of that idea...
| Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Assignee: nobody → ntim.bugs
Status: NEW → ASSIGNED
Pushed by ntim.bugs@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/3a17d14515b6
Stop using <deck> for .wizard-page-box. r=bgrins
Comment 4•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox87:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•