Closed Bug 446601 Opened 16 years ago Closed 16 years ago

Pre with scrollbar looses padding on scrollbar sides only

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 372498

People

(Reporter: ewwatson, Unassigned)

References

()

Details

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; 
}
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.