Closed Bug 430445 Opened 16 years ago Closed 12 years ago

scroll position on boxes can be negative

Categories

(Core :: XUL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: enndeakin, Unassigned)

References

Details

Attachments

(1 file)

643 bytes, application/vnd.mozilla.xul+xml
Details
Attached file testcase
This test shows that the top/left scroll position can be 0, due to the overflow from the native widget theme. This is being applied on Mac to buttons/textboxes/etc, so this bug is easier to reproduce on Mac. (Windows only has overflow for dropmarkers, and Linux only for tabs) It involves several characteristics:

- nsNativeTheme:GetWidgetOverflow returns a size
- The scroll position starts at 0,0 but it can be moved lower to -4,-4 using the scrollBy method.
- The 0 margin on the textbox in the testcase seems to be needed as well
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
This looks to be fixed.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: