On Aug 29, 2007, at 10:47 AM, Kepler Gelotte wrote:
I don’t think it is a bug. First of all you are not overriding the
white-space property buy assigning it to child elements or parent
elements.
You just create a conflict. Then precedence takes affect. According
to the
CSS2 spec:
'white-space'
Value: normal | pre | nowrap | inherit
Initial: normal
Applies to: block-level elements
Inherited: yes
Percentages: N/A
Media: visual
Since you applied the “white-space: normal” to a <span> element
which is not
a block-level element it is ignored. By changing the <span> to a
<div> *or*
adding “display:block” to the span’s style, you will get the effect
you were
expecting.
But in the testcase, the white-space property is applied to the <a>
(in the head: a {white-pace:nowrap})
Firefox 2.0.0.x should _ignore_ that as well.
Anyway, my Gecko trunk builds (Minefield 20070828 and Camino trunk
build) correctly wrap the text the same way Safari and WebKit wrap
the text (ignore the white-pace:nowrap).
So Firefox 3.0 will display correctly.
And if the link text were to long for the space allowed by the table
(e.g. a very very long word), the table should expand, unless the
table has 'table-layout: fixed' specified.
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************