Closed Bug 195189 Opened 22 years ago Closed 20 years ago

In <select> space taken by padding should be painted with tag specified background color

Categories

(Core Graveyard :: GFX: Win32, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: goldicus1970, Unassigned)

References

()

Details

(Keywords: platform-parity, testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210

In the testcase <select> element has a 4px padding: in Mozilla 1.2 / Win it's
correctly painted with gray, instead  using Mozilla / Win 1.3b padding space is
painted with white. According to CSS spec padding space should have the same
colour of element's background color. Just take a look at the two screenhot
provided with the test page to see what i mean.

Reproducible: Always

Steps to Reproduce:
1. Open testacse URL
2. ...and see by yourself


Actual Results:  
There's a white stripe around select contents, just inside the border.

Expected Results:  
Select bg should the painted twith gray when it doesn't have focus.
Yup, looks like a bug to me, and I can't find any duplicates. Confirming.
There appears to be no difference between Standards and Quirks mode either. Will
attach minimal testcase.

Can anyone track down exactly where this occurred between 1.2.1 and 1.3b?

Not sure if the bug belongs here or in "Style System"; probably the latter.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Attached file Minimal testcase
The red background should extend all the way to the edge of the select, but it
doesn't.
This is windows-native-control-only.
Keywords: pp
Priority: -- → P4
Target Milestone: --- → Future
Is this a problem in a current build now that bug 224974 is fixed?
Depends on: 181490
Assignee: core.layout.form-controls → win32
Component: Layout: Form Controls → GFX: Win32
Priority: P4 → --
QA Contact: desale → ian
Target Milestone: Future → ---
This should be fixed by bug 224974 (check-in of bug 181490).
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: