Closed Bug 1594335 Opened 5 years ago Closed 3 years ago

calMonthGridPrinter.html and calWeekPrinter.html should use <html:template> and css for align/valign

Categories

(Calendar :: Printing, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mkmelin, Unassigned)

Details

Came across this in bug 1594331... calMonthGridPrinter.html and calWeekPrinter.html should use <html:template> and css for align/valign - which would be the right way to do it and also avoid needles hits on replacing deprecated attributes (they are actually deprecated in html too).

https://searchfox.org/comm-central/search?q=calMonthGridPrinter.html&path=

See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template

Type: defect → task

Hi Sir,
I'm new to open source and starting my first contribution but I'm little confused so could you please tell me from where should I start to learn and contribute to this project

Hi Mahak - https://searchfox.org/comm-central/source/calendar/import-export/calMonthGridPrinter.html currently has elements that are used as templates, and then cloned (https://searchfox.org/comm-central/rev/bc17d0ef9860233e9ef72dc9324221ba86d662ae/calendar/import-export/calMonthGridPrinter.js#158). But they are not templates... We should use <html:template> instead, per the link in comment 0.

The other thing to update, is to convert the align/valign attributes of the table to use the corresponding css instead. That is, text-align and vertical-align.

Hi,

Has this issue been resolved? I would like to work on it...

Still open, no progress afaik. Feel free to work on it.

Hi,

I would like to work on this issue as well. From what I read, this is not a bug per say but something in the HTML that needs to be updated?

Thanks!

Correct, it's a code improvement.

Bug 1713045 took care of this.

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