Open Bug 388379 Opened 17 years ago Updated 2 years ago

Themed buttons have a computed border-width of 3 pixels now

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows XP
defect

Tracking

()

REOPENED

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: regression, testcase)

See url testcase.
The themed buttons (the last two buttons) have computed widths of 3px. They used to have 2px (the normal button) and 1px (the disabled button) for the computed width.

I found this out while looking into bug 382147.
This regressed between 2007-01-28 and 2007-01-29, I think a regression from bug 366722.

getThemeContentRect causes this value 3 inside nsNativeThemeWin::GetWidgetBorder, afaict. And that function makes a windows api call to "GetThemeBackgroundContentRect".
I'm confused by this, because themed buttons don't have 3px wide borders, they are 2px wide, this is the value that IE7 gives as computed value.
Flags: blocking1.9?
computed width or computed border-width?
Flags: blocking1.9? → blocking1.9-
Computed border-width (sorry for the delay).
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.