Pre with scrollbar looses padding on scrollbar sides only

RESOLVED DUPLICATE of bug 372498

Status

()

Firefox
General
RESOLVED DUPLICATE of bug 372498
9 years ago
9 years ago

People

(Reporter: eric, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

Pre with scrollbar looses padding on scrollbar sides only. See in my code examples? Those are pre's. They loose their 10px of padding on the scrollbar sides in firefox 3 only. 

Reproducible: Always

Steps to Reproduce:
pre {
	display: block;
	border: #000 solid 1px;
	overflow: auto;
	max-height: 340px;
	font-size: 12px;
	width: 535px;
	padding: 5px 10px 10px 10px;
	background: #E0E0E0;
	margin: 2em 0;
	line-height: 1.415; 
}

Updated

9 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 372498
You need to log in before you can comment on or make changes to this bug.