Closed Bug 558665 Opened 15 years ago Closed 15 years ago

TableRow is not positioned according to table when position is absolute on table and row

Categories

(Core :: General, defect)

x86
Windows 7
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 63895

People

(Reporter: snspok, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2 Build Identifier: 3.6.3 In the following code: The green TableRow should appear inside the red Table relative to the positioning of the table. The same as the table is absolute to the position of the Panel. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" EnableEventValidation="false" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <style type="text/css"> .panelposition { position:absolute; top:100px; left:100px; width:400px; height:400px; } .table1position { position:absolute; top:100px; left:100px; height:100px; width:100px; } .table2position { position:absolute; top:200px; left:200px; } .row1position { position:absolute; top:50px; left:50px; } </style> </head> <body> <form> <asp:Panel ID="Panel1" runat="server" CssClass="panelposition" BorderWidth="1" BorderColor="Black"> <asp:Table ID="Table1" runat="server" CssClass="table1position" BorderWidth="1" BorderColor="Red"> <asp:TableRow CssClass="row1position" BorderWidth="1" BorderColor="Green"> <asp:TableCell>aaaa</asp:TableCell> </asp:TableRow> </asp:Table> </asp:Panel> </form> </body> </html> Reproducible: Always Steps to Reproduce: run the code on FF and other browsers and see the diff Actual Results: The display is incorrect and I have to write a lot of special code for my site Expected Results: The table do not display correctly, the software should display the TableRow inside the table
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.