Closed Bug 1971551 Opened 4 months ago Closed 7 days ago

With `google-noto-sans-mono-fonts-20250301` at 13 px, on 100%-scale, ⪅ 2560 × 1440 px display, adding a URI of > 138 characters causes it to overflow the event form.

Categories

(bugzilla.mozilla.org :: User Interface, defect, P3)

Production
x86_64
Linux

Tracking

()

RESOLVED FIXED

People

(Reporter: zn7esutb, Assigned: kohei)

References

()

Details

(Keywords: bmo-triaged, good-first-bug)

Attachments

(2 files)

Steps to reproduce

  1. Configure the environment:

    1. Visit about:config.

    2. Apply "browser.display.use_document_fonts": 0.

    3. Apply a monospace font for your current language.

  2. Create the bug:

    1. Visit bugzilla.mozilla.org/enter_bug.cgi with any ?product=.

    2. Submit it.

    3. Add https://github.com/whatwg/html/issues/11370#issue-3136480634:~:text=I%20could%20append%20the%20relevant%20Media%20Type%20subtag%20to%20the%20mis%20prefix%2C%20like%20mis%2Dyaml%2C%20but%20that's%20not%20nearly%20as%20versatile%20as%20a%20Media%20Type%20subtag%20(ISO%20369%20wouldn't%20handle%20+yaml). to the //*[@id="see_also-help-link"].

Actual results

The URI renders outside the event form.

Expected results

It should wrap with the form. As an example, see bugs.kde.org/show_bug.cgi?id=487450#c3, which provides a patch to remediate a very similar problem in this manner:

@@ -200,6 +200,14 @@
+ /* Fix URL field overflows on show_bug.cgi */
+ 
+ span#bz_url_edit_container {
+     display: block;
+     max-width: 360px;
+     word-wrap: break-word;
+ }
Severity: -- → S3
Priority: -- → P3

I’ll volunteer to fix it.

Assignee: nobody → kohei
Status: NEW → ASSIGNED
Duplicate of this bug: 1990802

Authored by https://github.com/kyoshino
https://github.com/mozilla-bteam/bmo/commit/e3f41a9de4f6d309f59bf7276bd729636288a4cf
[master] [skip ci] Bug 1971551 - With google-noto-sans-mono-fonts-20250301 at 13 px, on 100%-scale, ⪅ 2560 × 1440 px display, adding a URI of > 138 characters causes it to overflow the event form.

Status: ASSIGNED → RESOLVED
Closed: 7 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: