Closed
Bug 745416
Opened 13 years ago
Closed 13 years ago
Problem in rendering of an element that has "dispaly:table-cell;" and its position is relative, the absolute child of that element will be rendered as body's relative element
Categories
(Core :: Layout: Positioned, defect)
Tracking
()
People
(Reporter: ata.metalheart, Unassigned)
References
()
Details
Attachments
(1 file)
878 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.152 Safari/535.19
Steps to reproduce:
I've made an example @ http://jsfiddle.net/atai/LUB2P/2/.
There are three div elements named Parent, Child1 and Child2.
The display of Parent is Table , and the display of Child1 is Table-Cell.
Chlid1's position is relative.
Child2's position is absolute.
Actual results:
When the "top:0; left:0" properties are added to child2, child2' relative parent is body.
Expected results:
Child2's relative parent must be Child1.
There is no problem rendering this structure with other browsers.
Test Browsers : Chrome v18, IE9, Opera 11.6, Firefox 11, Safari 5.1.2
The Example link is http://jsfiddle.net/atai/LUB2P/
Updated•13 years ago
|
Attachment #615006 -
Attachment mime type: text/plain → text/html
Updated•13 years ago
|
Component: Untriaged → Layout: R & A Pos
Product: Firefox → Core
QA Contact: untriaged → layout.r-and-a-pos
Updated•13 years ago
|
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.
Description
•