Closed Bug 1319569 Opened 8 years ago Closed 7 years ago

Dead code in videocontrols.xml

Categories

(Toolkit :: Video/Audio Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: Dolske, Assigned: ralin)

References

Details

Attachments

(1 file, 1 obsolete file)

I believe the entirety of the <binding id="timeThumb"/> can now be removed as it's unused, now that the bug 1271765 visual refresh no longer uses the time-in-the-thumb UI.
(also the associated -moz-binding in videocontrols.css)
(Also also, I just noticed, the "/* Statistics formatting */" in the other videocontrols.css has also been dead for a while.)
Assignee: nobody → ralin
Assignee: ralin → jaws
Status: NEW → ASSIGNED
discussed with Jared on IRC. This patch is based on previous one and fix crash on mobile due to `thumb`.

Also, I removed the type check about `type == "scrubber"` since there's no other type of <slider> on mobile controls. And, we adjust controls by javascript instead of assigning different size attribute after bug 1271765, so I deleted the corresponding CSS rules as well.
Attachment #8819264 - Flags: review?(jaws)
Comment on attachment 8819264 [details] [diff] [review]
Bug-1319569-Remove-unused-timeThumb-binding-in-video.patch

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

This looks good, thank you. Please push your review requests to MozReview in the future :)
Attachment #8819264 - Flags: review?(jaws) → review+
Attachment #8819191 - Attachment is obsolete: true
Attachment #8819191 - Flags: review?(ralin)
Assignee: jaws → ralin
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/449c5354f001
Remove unused timeThumb binding in videocontrols.xml and unreferenced statistics formatting styling from videocontrols.css. r=jaws
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/449c5354f001
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: