Open Bug 1555719 Opened 6 years ago Updated 2 years ago

Unnecessary scrollbar when expanding CSP warning group

Categories

(DevTools :: Console, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: Honza, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image image.png (deleted) —

STR:
0) Open the Toolbox and select the Console panel

  1. Load https://csp-evaluator.withgoogle.com/
  2. You should see a group "Content blocked messages (2)"
  3. 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

Priority: -- → P2

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.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: