[de-xbl] Convert timepicker-minute to custom element.
Categories
(Calendar :: Lightning Only, enhancement)
Tracking
(Not tracked)
People
(Reporter: arshad, Assigned: arshad)
References
Details
Attachments
(1 file, 6 obsolete files)
11.33 KB,
patch
|
arshad
:
review+
arshad
:
feedback+
|
Details | Diff | Splinter Review |
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Assignee | ||
Comment 11•6 years ago
|
||
See Bug 1512941 for the timepicker-minute patch changes.
Assignee | ||
Comment 12•6 years ago
|
||
Assignee | ||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Assignee | ||
Comment 15•6 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #14)
Comment on attachment 9047947 [details] [diff] [review]
timepicker-minute.patchReview of attachment 9047947 [details] [diff] [review]:
(no reviewed yet!)
::: calendar/resources/content/datetimepickers/datetimepickers.js
@@ +71,5 @@
this.appendChild(spacer.cloneNode());
this.appendChild(minutebox);
this.appendChild(spacer);
this.pixelScrollDelta = 0;
why does all this dom building happen in connecedCallback() and not the
constructor?
if it is not shadow dom then dom should be build in connectedCallback. It will throw NSERrror if you append child in constructor and try to extend it by some other ce. We experienced this in one of the very first ce conversion.
Assignee | ||
Comment 16•6 years ago
|
||
Comment on attachment 9047947 [details] [diff] [review]
timepicker-minute.patchReview of attachment 9047947 [details] [diff] [review]:
(no reviewed yet!)
::: calendar/resources/content/datetimepickers/datetimepickers.js
@@ +71,5 @@
this.appendChild(spacer.cloneNode());
this.appendChild(minutebox);
this.appendChild(spacer);
this.pixelScrollDelta = 0;
Fallen reviewed it in https://bugzilla.mozilla.org/show_bug.cgi?id=1512941#c24(In reply to Magnus Melin [:mkmelin] from comment #14)
Comment 17•6 years ago
|
||
You really need to put that kind of information into this bug when marking a patch r+
I'm not convinced you should build in connectedCallback. That can run more than once.
Assignee | ||
Comment 18•6 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #17)
You really need to put that kind of information into this bug when marking a patch r+
Yes you are right, I should have put it here also. I forgot about it after conveying it to you on IRC.
I'm not convinced you should build in connectedCallback. That can run more than once.
when you clone node, or move nodes..
Assignee | ||
Comment 19•6 years ago
|
||
is it ok now?
Assignee | ||
Comment 20•6 years ago
|
||
Comment 21•6 years ago
|
||
Assignee | ||
Comment 22•6 years ago
|
||
Assignee | ||
Comment 23•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 24•6 years ago
|
||
Comment 25•6 years ago
|
||
Just a note that bugzilla autolinks bug comments when you write something like bug 1512942 comment 22
Comment 26•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/9385db6fc2ae
Convert timepicker-minute binding to custom element. r=philipp
Updated•6 years ago
|
Description
•