Closed Bug 1763717 Opened 3 years ago Closed 3 years ago

Update PiP text-tracks bottom multiplier to match texttracks.css variable `--font-scale`

Categories

(Toolkit :: Picture-in-Picture, task, P3)

task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: kpatenio, Assigned: janvi01)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

In PictureInPictureChild.jsm, we have a variable TEXT_TRACKS_STYLE_BOTTOM_MULTIPLIER that we use to detect overlap between the PiP texttracks container and the PiP player controls. It is currently hardcoded, but the scaling multiplier in texttracks.css is dynamic and depends on the PiP captions font-size we set.

We should update TEXT_TRACKS_STYLE_BOTTOM_MULTIPLIER to match the --font-scale variable in the css file.

Severity: -- → S4
Keywords: good-first-bug
Priority: -- → P3

Hey, I would like to work on this.

Assignee: nobody → janvibajo1
Status: NEW → ASSIGNED

I would like to be assigned this task

Pushed by kpatenio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/91f7ed90fef7 Updated PiP text-tracks bottom multiplier r=kpatenio
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
Blocks: 1772335
No longer blocks: 1772335
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: