Closed Bug 516729 Opened 16 years ago Closed 16 years ago

Content elements need to be scrolled into view before clicking on them

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Whiteboard: [mozmill-1.2.2])

Attachments

(1 file, 2 obsolete files)

Attached patch Full patch (obsolete) — Splinter Review
As the summary says we fail currently if the element is outside of the content view area. We have to scroll the window to the element before clicking the element. This will fix a couple of failing tests. It would be great when we can get this in ASAP. Clint, the patch doesn't have removed the whitespace changes. It would be great when we could get those in too. Each time I have to worry about it. I hope it is ok. Could you please review and push it to Mikeal if it is ok?
Attachment #400785 - Flags: review?(ctalbert)
Severity: normal → blocker
Attached patch Patch v1 wo/ whitespace changes (obsolete) — Splinter Review
Attachment #400804 - Flags: review?(ctalbert)
Blocks: 512283
Blocks: 512363
I'll add a couple of tests which need this fix.
An open question which comes into my mind some minutes ago... we probably need the same for keypress. I will check it later today.
It's not needed for keypress/type. Using those two functions will cause an automatic scroll to the element. Clint, so the existing patches are still valid.
Comment on attachment 400804 [details] [diff] [review] Patch v1 wo/ whitespace changes this looks good. r=ctalbert
Attachment #400804 - Flags: review?(ctalbert) → review+
Attachment #400785 - Flags: review?(ctalbert) → review+
Thanks. Can you manage to get it into the master? I cannot atm.
Keywords: checkin-needed
I forgot the double click and right click functions. I have to check those too.
Keywords: checkin-needed
Attached patch Patch v2Splinter Review
As said above I forgot about the doubleClick and rightClick functions. With this patch both of them are updated too. It also fixes the uninitialized context menu (all options shown when element is not visible).
Attachment #400785 - Attachment is obsolete: true
Attachment #400804 - Attachment is obsolete: true
Attachment #401838 - Flags: review?(ctalbert)
Attachment #401838 - Flags: review?(ctalbert) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
All depending tests pass on low resolution screens.
Status: RESOLVED → VERIFIED
Whiteboard: [mozmill-1.2.2]
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: