Open
Bug 1555719
Opened 6 years ago
Updated 2 years ago
Unnecessary scrollbar when expanding CSP warning group
Categories
(DevTools :: Console, defect, P2)
DevTools
Console
Tracking
(Not tracked)
NEW
People
(Reporter: Honza, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
image/png
|
Details |
STR:
0) Open the Toolbox and select the Console panel
- Load https://csp-evaluator.withgoogle.com/
- You should see a group "Content blocked messages (2)"
- Expand the group, a scrollbar appears even if there is still enough vertical space in the Console panel - > BUG (see the attached screenshot)
ER: the scrollbar isn't there
Honza
Reporter | ||
Updated•6 years ago
|
Priority: -- → P2
Blocks: devtools-csp
Looks like it affects console.group
as well.
STR: Run setTimeout(()=>{console.group();console.log();console.log();console.groupEnd();},100)
in the console (https://example.com/ is a good page to test on).
I believe it is caused by the negative bottom margin on the .message > .indent
rule in chrome://devtools/skin/webconsole.css
.
From my testing, it looks like changing margin-block: -1px;
to margin-block-start: -1px;
fixes the bug without any visual changes.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•