[Webkit-unassigned] [Bug 21588] Calculation of column width with CCS-pseudo-class first-line

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 14 09:47:59 PDT 2008


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





------- Comment #3 from rc at opelgt.org  2008-10-14 09:47 PDT -------
More variations:

<HTML>
<HEAD>
 <STYLE type="text/css">
  td            { font-size:12px }
  td:first-line { font-size:24px }
  td.no:first-line { font-size:12px }
 </STYLE>
</HEAD>
<BODY>
<H3>Calculation of column width with CCS-pseudo-class first-line.</H3>
<P>Column width seems to be calculated before the first-line attributes are
applied - wrong?</P>
<TABLE cellspacing=0 border=1>
 <TR>
  <TD>erste Zeile<br>zweite Zeile</TD>
 </TR>
</TABLE>
<P>Awaited:</P>
<TABLE cellspacing=0 border=1>
 <TR>
  <TD>erste Zeile<br>zweite breitererere Zeile</TD>
 </TR>
</TABLE>
<P>No work around: nowrap</P>
<TABLE cellspacing=0 border=1>
 <TR>
  <TD nowrap >erste Zeile<br>zweite Zeile</TD>
 </TR>
</TABLE>
<P>Same with CSS: white-space:nowrap</P>
<TABLE cellspacing=0 border=1>
 <TR>
  <TD style="white-space:nowrap">erste Zeile<br>zweite Zeile</TD>
 </TR>
</TABLE>
<P>So what about &nbsp; ?</P>
<TABLE cellspacing=0 border=1>
 <TR>
  <TD style="white-space:nowrap">erste Zeile<br>zweite Zeile</TD>
 </TR>
</TABLE>
<P>Seems my theory is true:</P>
<TABLE cellspacing=0 border=1>
 <TR>
  <TD>ersteextrabreite Zeile<br>zweite Zeile</TD>
 </TR>
</TABLE>
<TABLE cellspacing=0 border=1>
 <TR>
  <TD class=no>ersteextrabreite Zeile</TD>
 </TR>
</TABLE>
<P> </P>
<TABLE cellspacing=0 border=1>
 <TR>
  <TD>erste extrabreite Zeile<br>zweite Zeile</TD>
 </TR>
</TABLE>
<TABLE cellspacing=0 border=1>
 <TR>
  <TD class=no>erste extrabreite Zeile</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