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)
Developer Infrastructure
Source Documentation
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).
Comment 1•23 days ago
|
||
Set release status flags based on info from the regressing bug 2071258
status-firefox159:
--- → affected
status-firefox160:
--- → affected
status-firefox161:
--- → affected
status-firefox-esr153:
--- → unaffected
Updated•23 days ago
|
Updated•23 days ago
|
| Assignee | ||
Comment 2•23 days ago
|
||
Updated•23 days ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•23 days ago
|
||
Pushed by dgottwald@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/b7bfbc12df36
https://hg.mozilla.org/integration/autoland/rev/b6ea0a501083
Draw gantt charts 800px wide. r=firefox-source-docs-reviewers,sylvestre
Updated•23 days ago
|
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
Comment 6•22 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b6ea0a501083
https://hg.mozilla.org/mozilla-central/rev/6da053dcf5dd
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.
Description
•