Closed Bug 1679828 Opened 3 years ago Closed 3 years ago

remove <deck> from calendar-today-pane.inc.xhtml

Categories

(Calendar :: General, task)

Tracking

(thunderbird_esr78 wontfix, thunderbird84 wontfix)

RESOLVED FIXED
85 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird84 --- wontfix

People

(Reporter: khushil324, Assigned: khushil324)

References

Details

Attachments

(1 file, 1 obsolete file)

Remove <deck> from https://searchfox.org/comm-central/rev/1fa5ebe1384434e904b33bb7de8f0a3d6e8bfdc5/calendar/lightning/content/calendar-today-pane.inc.xhtml#82

Children that can be set hidden/not as appropriate instead of setting selectedIndex on the deck.

Summary: remove <deck> from lightning-item-iframe.xhtml → remove <deck> from calendar-today-pane.inc.xhtml

Here, there is no use of the <deck> element. We can directly use a single <label> element instead. Submitting a patch in a while.

Attachment #9190346 - Flags: review?(alessandro)
Status: NEW → ASSIGNED
Comment on attachment 9190346 [details] [diff] [review]
Bug-1679828_de-deck-calendar-today-pane-inc-xhtml-0.patch

Review of attachment 9190346 [details] [diff] [review]:
-----------------------------------------------------------------

Good stuff and elegant solution.
Attachment #9190346 - Flags: review?(alessandro) → review+
Target Milestone: --- → 85 Branch

Should we check in the patch now?

Attachment #9190346 - Flags: review+ → review?(geoff)
Comment on attachment 9190346 [details] [diff] [review]
Bug-1679828_de-deck-calendar-today-pane-inc-xhtml-0.patch

Review of attachment 9190346 [details] [diff] [review]:
-----------------------------------------------------------------

::: calendar/lightning/content/calendar-today-pane.inc.xhtml
@@ +84,1 @@
>                  <spacer id="weekspacer" flex="1"/>

IMO you can get rid of this spacer and give the flex="1" to the label.
Attachment #9190346 - Flags: review?(geoff) → review+
Attachment #9190346 - Attachment is obsolete: true
Attachment #9191545 - Flags: review+

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/df77d633742e
remove <deck> XUL element from calendar-today-pane.inc.xhtml. r=aleca,darktrojan

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: