Closed Bug 325940 Opened 15 years ago Closed 14 years ago
width of positioned element increases when links get focus
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:18.104.22.168) Gecko/20060124 Firefox/22.214.171.124 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:126.96.36.199) Gecko/20060124 Firefox/188.8.131.52 A <div> in an HTML document is positioned with "position: absolute; width:auto", and contains another <div> that with "position:relative; width:100%", two links, and a <select> element. When one of the links gets focus, or when the selected option in the form element is changed, the width of the outer <div> increases, causing changes in the page layout. I'm going to upload an self-contained example which demonstrates the effect. Reproducible: Always Steps to Reproduce: 1. Load attached example 2. Use <tab> to jump between the links. - OR - Click the links with the mouse. - OR - Change the selected <option> with mouse or keyboard. Actual Results: The width of the #content div increases. Expected Results: (no change in page layout) The bug was reproduced on at least three different installations of FF 1.5, but I don't think that it was present in FF 1.0 (can't check that now though).
Confirming with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060124 Firefox/1.6a1 ID:2006012405
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: General → Layout: Block and Inline
Product: Firefox → Core
Version: unspecified → Trunk
Regression between 05-Dec-2004.07 and 06-Dec-2004.07.
Checkin for bug 201897 perhaps?
Component: Layout: Block and Inline → Layout: R & A Pos
QA Contact: layout.block-and-inline → layout.r-and-a-pos
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20061208 Minefield/3.0a1 ID:2006120812 [cairo] seems fixed after reflow branch landing
Bug occurs in SeaMonkey 2006120701 on Linux. It does not occur in SeaMonkey 2006120801 on Linux. -> FIXED (by reflow branch landing)
Status: NEW → RESOLVED
Closed: 14 years ago
Depends on: reflow-refactor
Resolution: --- → FIXED
Adding in-testsuite? nomination per bz's request in m.d.t.l. Sorry for the bugspam.
You need to log in before you can comment on or make changes to this bug.