Closed Bug 1694936 Opened 4 years ago Closed 4 years ago

Some <description> tags display differently in the identity panel

Categories

(Firefox :: Site Identity, defect, P1)

defect

Tracking

()

VERIFIED FIXED
88 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox86 --- unaffected
firefox87 --- unaffected
firefox88 --- verified

People

(Reporter: ntim, Assigned: ntim)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files)

Before bug 1590884, <description> tag had a display value (which we determined as being display: flow-root) that was overriding whatever other CSS set (unless it was display: none).

Now: https://searchfox.org/mozilla-central/rev/df23c6e58c6be1eb8399e475878f73d4867bef87/browser/themes/shared/controlcenter/panel.inc.css#55-81

is overriding display: flow-root with display: inherit giving it wrong line-wrapping behaviour.

I expect this bug to fix bug 1694731 as well.

Blocks: 1694731

I think this is an S2 since we cut off some security labels. We should fix it as soon as possible.
Tim, could you take this? As we discussed on Matrix, setting display: revert should fix the issue.

Severity: -- → S2
Flags: needinfo?(ntim.bugs)
Priority: -- → P1
Assignee: nobody → ntim.bugs
Status: NEW → ASSIGNED
Flags: needinfo?(ntim.bugs)
Pushed by ntim.bugs@gmail.com: https://hg.mozilla.org/integration/autoland/rev/2afdd8e27ee8 Fix appearance of some <description> tags in identity panel. r=pbz
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch

Hello! Can someone please help me with some STR in order to manually reproduce/verify the issue? Unfortunately, I didn't found a way to display that message under the Connection secure. Thank you!

Flags: needinfo?(pbz)

You can test the issue on https://very.badssl.com/. The description "<appname> has blocked parts of this page that are not secure" should be affected by this bug.

Flags: needinfo?(pbz)
Attached image secure_tags

Unfortunately, the tag message is not cut off with the affected version either. Or should I look only for the color display like in the latest Nightly (e.g: link)?

It should affect all descriptions that are long enough so they wrap. I just tested the issue successfully by reverting the patch locally (based on central).
Perhaps the broken state was never in Nightly? I can see that the regressing Bug 1590884 landed a day before the fix landed.
Can you see if you can reproduce with the Nightly the day before / after?

Attached image 24th

On 24'th I can see that the string is displayed on one row. So maybe that this is broken but the string is not long enough to be cut off?
On 26'th the string is displayed the same as in 25.
Thank you!

(In reply to Alexandru Trif, QA [:atrif] from comment #10)

Created attachment 9215083 [details]
24th

On 24'th I can see that the string is displayed on one row. So maybe that this is broken but the string is not long enough to be cut off?
On 26'th the string is displayed the same as in 25.
Thank you!

From the screenshot it looks like this build is affected by the bug. You can see how the description tag pushes the > button out of the panel on the right side. While it's not long enough to be cut off it clearly breaks the UI the same way by not wrapping to the next line. Verifying with this would work for me.

Edit: I can also see the label cutoff with the first FF run of mach mozregression --good 2021-02-24.

(In reply to Paul Zühlcke [:pbz] from comment #11)

(In reply to Alexandru Trif, QA [:atrif] from comment #10)

Created attachment 9215083 [details]
24th

On 24'th I can see that the string is displayed on one row. So maybe that this is broken but the string is not long enough to be cut off?
On 26'th the string is displayed the same as in 25.
Thank you!

From the screenshot it looks like this build is affected by the bug. You can see how the description tag pushes the > button out of the panel on the right side. While it's not long enough to be cut off it clearly breaks the UI the same way by not wrapping to the next line. Verifying with this would work for me.

Edit: I can also see the label cutoff with the first FF run of mach mozregression --good 2021-02-24.

Thank you, Paul! Verified fixed with Firefox 88.0b9 on Windows 10x64, macOS 11.2.3 and Ubuntu 20.04. The <description> tags are properly arranged and not breaking the UI when longer strings are displayed.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: