.focus() on a <select> element causes a partial refresh of the screen

RESOLVED INCOMPLETE

Status

()

RESOLVED INCOMPLETE
7 years ago
3 years ago

People

(Reporter: ilj, Unassigned)

Tracking

2.0 Branch
All
Other
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30

Steps to reproduce:

I have a web page with multiple overlapping absolutely positioned DIVs (referred to as "containers" below) each containing other DIVs and form elements.  Some of these containers also hold <SELECT> tags.  The <SELECT> tags do not have any additional event handlers defined.

HTML and CSS have been verified using W3C validators.

The behaviour was not seen in Firefox v3


Actual results:

On clicking the <SELECT>, parts of the contents of the underlying containers appear on top of the display.  What appears can be parts of words, parts of controls, odd words in a sentence, even just fractions of characters.

This behaviour is prevented if I set the onmousedown event handler to a dummy event handler which prevents the default event action being taken.  I can make the behaviour reoccur if I add a .focus() call.


Expected results:

Only the elements previously displayed should be displayed after clicking the <SELECT>
Component: General → Layout: Form Controls
Product: Firefox → Core
QA Contact: general → layout.form-controls
Version: 4.0 Branch → 2.0 Branch
Could you attach a reduced Testcase shwoing th Issue by Chance?
https://bugzilla.mozilla.org/attachment.cgi?bugid=669056&action=enter

By "Firefox v3" you're speaking of Firefox 3.6.x Branch, yes?
(Reporter)

Comment 2

7 years ago
I will try to produce a generic test case.

I can confirm that I mean Firefox 3.6.x branch.
Keywords: testcase-wanted
Does this happen if you turn off hardware acceleration in preferences and restart the browser?
Jamie, do you still have this problem? If so, can you please link to a page that shows it? I can help with making a reduced testcase if you can give me something to start with.
Whiteboard: [closeme 2-26-12]

Comment 5

6 years ago
Resolved per whiteboard
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2-26-12]
Keywords: testcase-wanted
You need to log in before you can comment on or make changes to this bug.