Closed
Bug 325940
Opened 19 years ago
Closed 19 years ago
width of positioned element increases when links get focus
Categories
(Core :: Layout: Positioned, defect)
Core
Layout: Positioned
Tracking
()
VERIFIED
FIXED
People
(Reporter: weiss, Unassigned)
References
Details
(Whiteboard: [reflow-refactor])
Attachments
(1 file)
1.10 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
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).
Reporter | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
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
Updated•19 years ago
|
Component: General → Layout: Block and Inline
Product: Firefox → Core
Version: unspecified → Trunk
Updated•19 years ago
|
QA Contact: general → layout.block-and-inline
Comment 3•19 years ago
|
||
Regression between 05-Dec-2004.07 and 06-Dec-2004.07.
Comment 4•19 years ago
|
||
Checkin for bug 201897 perhaps?
Updated•19 years ago
|
Component: Layout: Block and Inline → Layout: R & A Pos
QA Contact: layout.block-and-inline → layout.r-and-a-pos
![]() |
||
Updated•19 years ago
|
Whiteboard: [reflow-refactor[
![]() |
||
Updated•19 years ago
|
Whiteboard: [reflow-refactor[ → [reflow-refactor]
Comment 6•19 years ago
|
||
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
Comment 7•19 years ago
|
||
Bug occurs in SeaMonkey 2006120701 on Linux.
It does not occur in SeaMonkey 2006120801 on Linux.
-> FIXED (by reflow branch landing)
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
Comment 8•19 years ago
|
||
Adding in-testsuite? nomination per bz's request in m.d.t.l. Sorry for the bugspam.
Flags: in-testsuite?
Updated•13 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•