Closed Bug 674265 Opened 13 years ago Closed 13 years ago

Absolutely positioned div appears in wrong location in absolutely positioned table

Categories

(Firefox :: General, defect)

6 Branch
All
Other
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 10209

People

(Reporter: jonnew, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.825.0 Safari/535.1 Steps to reproduce: I absolutely positioned a div within a table that is also absolutely positioned. You can see an example here: http://jsfiddle.net/newtang/kZxQX/13/ (The same problem exists with a relatively positioned table as well) Actual results: The div is located absolutely positioned, relative to the body. Expected results: The div should've been located relative to the table. According to W3Schools, "An absolute position element is positioned relative to the first parent element that has a position other than static" http://www.w3schools.com/css/css_positioning.asp The above JSFiddle works correctly in IE, Chrome, and Safari.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.