[Webkit-unassigned] [Bug 59309] New: [CSS] 'td' elements cannot have z-index

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 24 20:09:52 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=59309

           Summary: [CSS] 'td' elements cannot have z-index
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: thepiglovesyou at gmail.com


Created an attachment (id=90896)
 --> (https://bugs.webkit.org/attachment.cgi?id=90896&action=review)
webkit displays elements on different way from IE and other browsers

It looks like 'td' elements cannot be assigned 'z-index' value.
It occurs on Chrome and Safari, so it might be a bug on webkit.
Or, did I make some mistakes?

Windows 7 64bit
Chrome 10.0.648.205
************************
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
div, td {
position: relative;
}
td {
border: #f99;
background-color: #efefef;
vertical-align: top;
z-index:0;
}
div {
border: #9f9;
background-color: #ccc;
padding: 2em;
margin: .6em;
background-color: #f99;
}
.toolbox {
position:absolute;
width: 400px;
background-color: #f00;
top:20px; left: 20px;
}
</style>
</head>
<body>
<table id="test">
<tr>
<td style="z-index:2;">
<div style="z-index:1;">first DIV element
<div style="z-index:20;" class="toolbox">!!!!has to be in front!!!!</div>
</div>
</td>
<td style="z-index:1;">
<div style="z-index:2;">second DIV element</div>
<div style="z-index:1;">third one</div>
</td>
</tr>
</table>
</body>
</html>
************************

thanks,

piglovesyou

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list