Closed Bug 269212 Opened 20 years ago Closed 20 years ago

CSS select:focus outline too large on combobox, extending past the right side

Categories

(Core :: Layout: Form Controls, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aaronlev, Assigned: aaronlev)

References

Details

Attachments

(2 files)

This outline appears correctly, even when the combo box has focus.
select { -moz-outline: 2px solid red; }

This outline is too large, extending to the right (it does not appear when
combobox does not have focus):
select:focus { -moz-outline: 2px solid red; }
Attached file Testcase
*** Bug 269213 has been marked as a duplicate of this bug. ***
Assignee: nobody → aaronleventhal
Status: NEW → ASSIGNED
Comment on attachment 165609 [details] [diff] [review]
Make sure to FinishAndStoreOverflow() even if returning early from nsComboboxFrame::Reflow()

Simple patch.
Attachment #165609 - Flags: superreview?(roc)
Attachment #165609 - Flags: review?(roc)
Attachment #165609 - Flags: superreview?(roc)
Attachment #165609 - Flags: superreview+
Attachment #165609 - Flags: review?(roc)
Attachment #165609 - Flags: review+
Checking in nsComboboxControlFrame.cpp;
/cvsroot/mozilla/layout/html/forms/src/nsComboboxControlFrame.cpp,v  <-- 
nsComboboxControlFrame.cpp
new revision: 1.297; previous revision: 1.296
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: