Closed Bug 2088498 Opened 23 days ago Closed 22 days ago

Mermaid gantt charts in the source docs render squeezed to 300px wide, with overlapping labels

Categories

(Developer Infrastructure :: Source Documentation, defect)

defect

Tracking

(firefox-esr115 unaffected, firefox-esr153 unaffected, firefox159 wontfix, firefox160 wontfix, firefox161 fixed)

RESOLVED FIXED
161 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr153 --- unaffected
firefox159 --- wontfix
firefox160 --- wontfix
firefox161 --- fixed

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(2 external files)

Both gantt charts in the tree (in mobile/android/fenix/docs/startup-performance.md and toolkit/components/backgroundtasks/docs/index.md) render 300px wide: the time-axis labels run into each other and bar labels overlap the section names.

Mermaid sizes a gantt chart to the width of its container instead of its content. Since bug 2071258 the container is sized to its content, so it falls back to the 300px default. Before, the charts rendered 616px wide. A fixed gantt.useWidth in mermaid_init_config is a likely fix.

Found with ./mach doc mermaid-diff (bug 2088494).

Set release status flags based on info from the regressing bug 2071258

See Also: 2088494 →
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Attachment #9673783 - Attachment description: Bug 2088498 - Hide the axis labels of the background tasks gantt chart. r?#firefox-desktop-core-reviewers → Bug 2088498 - Hide the axis labels of the background tasks gantt chart. r?#firefox-source-docs-reviewers
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ff20b70e13a9 https://hg.mozilla.org/integration/autoland/rev/6da053dcf5dd Hide the axis labels of the background tasks gantt chart. r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 22 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: