[Webkit-unassigned] [Bug 20799] New: Formatting <TD> with CSS only in the first deeper level

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 12 10:58:32 PDT 2008


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

           Summary: Formatting <TD> with CSS only in the first deeper level
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: none
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rc at opelgt.org


I have a table in a table and want to format only the first level of <td>s.

Surprisingly it doesnt work in Safari and Firefox 3 either.

Here is the code:

<HTML>
 <HEAD>
  <STYLE type="text/css">
   table.m td        {border:1px solid #F00}
   table.n > td      {border:1px solid #0C0}
   table.o  * > td   {border:1px solid #B0B}
   table.p tr > td   {border:1px solid #B0B}
   table.q >  * > td {border:1px solid #00F}
   table.r > tr > td {border:1px solid #00F}
   table.s > > td    {border:1px solid #0C0} //strange but last idea ;-)
  </STYLE>
 </HEAD>
<BODY>
<TABLE class=m>
 <TR>
  <TD>
   <TABLE><TR><TD>innere Tabelle</TD></TR></TABLE>
  </TD>
  <TD>Text</TD>
 </TR>
</TABLE>
<TABLE class=n>
 <TR>
  <TD>
   <TABLE><TR><TD>innere Tabelle</TD></TR></TABLE>
  </TD>
  <TD>Text</TD>
 </TR>
</TABLE>
<TABLE class=o>
 <TR>
  <TD>
   <TABLE><TR><TD>innere Tabelle</TD></TR></TABLE>
  </TD>
  <TD>Text</TD>
 </TR>
</TABLE>
<TABLE class=p>
 <TR>
  <TD>
   <TABLE><TR><TD>innere Tabelle</TD></TR></TABLE>
  </TD>
  <TD>Text</TD>
 </TR>
</TABLE>
<TABLE class=q>
 <TR>
  <TD>
   <TABLE><TR><TD>innere Tabelle</TD></TR></TABLE>
  </TD>
  <TD>Text</TD>
 </TR>
</TABLE>
<TABLE class=r>
 <TR>
  <TD>
   <TABLE><TR><TD>innere Tabelle</TD></TR></TABLE>
  </TD>
  <TD>Text</TD>
 </TR>
</TABLE>
<TABLE class=s>
 <TR>
  <TD>
   <TABLE><TR><TD>innere Tabelle</TD></TR></TABLE>
  </TD>
  <TD>Text</TD>
 </TR>
</TABLE>
</BODY>
</HTML>


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



More information about the webkit-unassigned mailing list