Closed Bug 1570402 Opened 6 years ago Closed 6 years ago

[RTL] Warning icon overlapping text on the screen sharing popup prompt

Categories

(Firefox :: Site Identity, defect, P3)

defect

Tracking

()

VERIFIED FIXED
Firefox 70
Tracking Status
firefox68 --- wontfix
firefox69 --- fixed
firefox70 --- verified

People

(Reporter: itiel_yn8, Assigned: itiel_yn8)

Details

(Keywords: rtl)

Attachments

(2 files)

Attached image Screenshot

Using Windows 10, latest Nightly.

STR:

  1. In about:config set intl.uidirection to 1 and restart Nightly
  2. Open https://permission.site/
  3. Click "Screen Share"
  4. Observe the warning icon on yellow part of the popup promt

AR:
Warning icon overlapping text.

ER:
Not overlapping.

See attached.

Adding this:

#webRTC-previewWarning:-moz-locale-dir(rtl) {
  background-position: calc(100% - .75em) .75em;
}

Somewhere around here:
https://searchfox.org/mozilla-central/source/browser/themes/shared/notification-icons.inc.css#214

... fixes this for me.

Johann, does that look okay to you?

Flags: needinfo?(jhofmann)

Hey, thanks for the analysis, I would happily take a patch for that :)

Flags: needinfo?(jhofmann)
Priority: -- → P3
Pushed by jhofmann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5a57a822a2df [RTL] Fix overlapping icon on text on the screen sharing popup prompt r=johannh
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
Assignee: nobody → itiel_yn8

Fixed on Nightly.

Status: RESOLVED → VERIFIED

Did you want to nominate this for Beta uplift?

Flags: needinfo?(itiel_yn8)

Comment on attachment 9083362 [details]
Bug 1570402 - [RTL] Fix overlapping icon on text on the screen sharing popup prompt

Beta/Release Uplift Approval Request

  • User impact if declined: Warning icon overlapping text on the screen sharing popup prompt for RTL users
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): 3 lines CSS code addition to position the icon on the right, for RTL users only
  • String changes made/needed: None
Flags: needinfo?(itiel_yn8)
Attachment #9083362 - Flags: approval-mozilla-beta?

Comment on attachment 9083362 [details]
Bug 1570402 - [RTL] Fix overlapping icon on text on the screen sharing popup prompt

Simple RTL CSS fix. Approved for 69.0b14.

Attachment #9083362 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: