Formatted console logs with larger font-height are cut off by fixed line-height
Categories
(DevTools :: Console, defect, P2)
Tracking
(firefox-esr60 unaffected, firefox-esr68 fixed, firefox68 wontfix, firefox69 fixed, firefox70 fixed)
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | fixed |
firefox68 | --- | wontfix |
firefox69 | --- | fixed |
firefox70 | --- | fixed |
People
(Reporter: Harald, Assigned: fvsch)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [good first verify] [bugday-20190807] )
Attachments
(2 files)
34.94 KB,
image/png
|
Details | |
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-esr68+
|
Details | Review |
What were you doing?
- Open Console
- Execute
console.log("%cIs this visible enough?", "color: cyan; font-size: 6rem;")
What happened?
Text is cut off because of fixed line-height.
What should have happened?
Text shows in correct font-size and height.
Anything else we should know?
Works in 67.
Assignee | ||
Comment 1•6 years ago
|
||
Regressed by me in https://hg.mozilla.org/mozilla-central/rev/23ab80e6ec5318991ef646bc74515bd4347d0da1#l1.14
Not sure why I moved away from the calc(14 / 11)
value, it's usually not a good idea to use fixed values for line-height as shown by this bug.
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
•
|
||
Affected versions:
- Firefox 69 (beta)
- Firefox 68 (release, ESR)
Haven't confirmed in 68, but the regressing patch landed on 2019-05-14, and Firefox 68 merge date was 2019-05-20.
Assignee | ||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
bugherder |
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 6•6 years ago
|
||
Comment on attachment 9076724 [details]
Bug 1564267 - Fix console line-height for large text; r=nchevobbe
Beta/Release Uplift Approval Request
- User impact if declined: Console messages logged by some JS frameworks or libraries may be unreadable, hurting web developer experience.
- 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): CSS-only patch changing a single value.
- String changes made/needed:
Updated•6 years ago
|
Comment 7•6 years ago
|
||
Comment on attachment 9076724 [details]
Bug 1564267 - Fix console line-height for large text; r=nchevobbe
Yikes. Approved for 69.0b5 and 68.1esr.
Comment 8•6 years ago
|
||
bugherder uplift |
Comment 9•6 years ago
|
||
bugherder uplift |
Updated•6 years ago
|
Comment 10•6 years ago
|
||
The issue is no longer reproducible on Firefox 69.0b5 (64-bit), Firefox 70.0a1 (2019-07-18) (64-bit).
Tests were performed under Windows 10 Pro 10.0.17134.
Comment 11•6 years ago
|
||
The issue is no longer reproducible on Firefox 69.0b5 (64-bit), Firefox 70.0a1 (2019-07-18) (64-bit).
Tests were performed under Kubuntu 18.04.2 LTS bionic (64-bit).
I apologize for the two posts, but wasn't aware that I can't change comments here.
Comment 12•5 years ago
|
||
I have reproduced this bug with Nightly 70.0a1 (2019-07-08) on Windows 7, 64 Bit. The fix of the bug is verified with latest Beta 69.0b9 and latest Nightly.
Build ID 20190730004747
User Agent Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
Build ID 20190812215403
User Agent Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Updated•3 years ago
|
Description
•