Closed Bug 747081 Opened 13 years ago Closed 13 years ago

CSS translate on <select> or any parent breaks drop-down hit area

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 664707

People

(Reporter: gonchuki, Assigned: tnikkel)

Details

Attachments

(1 file)

Attached file minimal reduction (deleted) —
Given the following example (also attached for convenience): <select style="-moz-transform: translate(0, 100px)"> <option>one</option> <option>two</option> </select> you will get that when you open the select, the options are rendered where they should but the hit area of the drop-down box is also vertically translated 100px so you cannot click on the items themselves (holding the mouse while opening reveals where the true hit area is, the .offsetTop of the <option> element also reveals the wrong coordinates). I created a Javascript-based reduction that helps feature test against this bug, testing both on the parent[1] and the select itself[2] and could confirm that this happens at least on Firefox 12 Mac, Firefox 11 Win and a colleague tells me he saw this even on Firefox 3.6. I can't install Nightly right now, but given that I found no tracks of this here on Bugzilla I suppose the bug is still in the wild. [1] http://jsfiddle.net/gonchuki/vxS3L/ [2] http://jsfiddle.net/gonchuki/vxS3L/1/
Summary: CSS transform on <select> or any parent breaks drop-down hit area → CSS translate on <select> or any parent breaks drop-down hit area
Attachment #616651 - Attachment mime type: text/plain → text/html
Status: UNCONFIRMED → NEW
Component: General → Style System (CSS)
Ever confirmed: true
OS: Mac OS X → All
Product: Firefox → Core
QA Contact: general → style-system
Hardware: x86 → All
Version: 12 Branch → Trunk
This should be fixed on trunk now. The testcase worked for me. Please try a build with bug 664707 fixed (version 13 or higher), if that doesn't work then please reopen this bug.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: