Closed Bug 423186 Opened 16 years ago Closed 16 years ago

test_popup_scaled failures

Categories

(Toolkit :: UI Widgets, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ajschult784, Assigned: ajschult784)

Details

Attachments

(1 file)

I'm hitting failures in test_popup_scaled.  The primary problem seems to be that the INPUTs are too wide.  The second popup is below the first and there's no room for the popup below it (when run in the iframe as part of a larger test run).  If I make the INPUTs narrower (size='3'), the popup is still not at the exact location the test thinks it should be at.

"anchored left position | got 85, expected 84"

anchor.getBoundingClientRect().left is 42.25, and it rounds 84.5 up to 85
> The second popup is below the first

The second INPUT is below the first...
Attached patch patchSplinter Review
size='4' seems to fix the rounding problems (probably needs to be even)
this also includes the bit from bug 409242 to unzoom when the test is finished.
Assignee: nobody → ajschult
Status: NEW → ASSIGNED
Attachment #316164 - Flags: review?(enndeakin)
Attachment #316164 - Flags: review?(enndeakin) → review+
FIXED
Status: ASSIGNED → RESOLVED
Closed: 16 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: