- From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
- Date: Sat, 05 Nov 2011 14:09:58 +0800
- To: fantasai <fantasai.lists@inkedblade.net>
- CC: WWW Style <www-style@w3.org>
(11/11/05 7:57), fantasai wrote: > On 10/18/2011 02:08 PM, Kang-Hao (Kenny) Lu wrote: >> I found an edge case where, I believe, the spec doesn't match >> implementations. Consider: >> >> <div style="display: table-row; white-space:pre;"> <span >> class="display: >> table-row;">A</span> </div> >> >> (Notice the beginning and the trailing spaces inside<div>. See also >> online version[1]) >> >> rule 1.3 >> >> # If a child C of a tabular container P is an anonymous inline box >> that contains only white space, >> # and its immediately preceding and following siblings, if any, >> are proper table descendants of P and are >> # either 'table-caption' or internal table boxes, then it is >> treated as if it had 'display: none'. A box D is a >> # proper table descendant of A if D can be a descendant of A >> without causing the generation of any >> # intervening 'table' or 'inline-table' boxes. >> >> doesn't apply here because <span> is not a proper descendant of<div>. >> IE 9, Gecko nightly and Safari (but not Opera) do display the beginning >> and trailing space and don't match the spec. This applies to nested >> 'table-row-group' as well. > > If they do display the beginning and trailing spaces, then they're > matching the spec, because a table row is not a proper table > descendant of a table row. Right? Not sure what I'm missing here... > What *I* am missing here is s/do display/do not display/. Sorry about the confusion. (I actually noticed this but I just didn't want to write a short mail). Kenny
Received on Saturday, 5 November 2011 06:10:32 UTC