- From: Alan Gresley <alan@css-class.com>
- Date: Thu, 17 Mar 2011 20:47:22 +1100
- To: Anton Prowse <prowse@moonhenge.net>
- CC: www-style@w3.org, "L. David Baron" <dbaron@dbaron.org>
On 17/03/2011 1:08 PM, Anton Prowse wrote: [snip] > David and I both used the logic of Rules 6 and 8 in 9.5.1 to conclude > that the content before the float is indeed always reflowed into the > same line on the other side of the float; it's never broken into > multiple line boxes. Anton, you have a mental model, David has a mental model, I have a mental model. If I see this. x x x x x x | Float | a | Float | b | Float | car The line boxes that have 'a' and 'b' are what I believe are multiple line boxes. > All I'm requesting, then, is that the spec be > cleaned up to remove that "first available" because it is > confusing/misleading, implying that in some circumstances the line on > the other side of the float might somehow not be available or that the > content might need splitting. Instead of "first available", how about "first possible"? Something available but not used does make "first available" sound like there a line box holder present which I have indicated with a '#' in the below example. x x x x x x | Float | a | Float | # | Float | bar car While watching this thread over the last week I created this test. <!DOCTYPE html> <div style="width:12em; line-height:1;"> text text text text text text text text text text text text text text text text text text <div style="width:10em; float:left; height:15px; background:yellow"></div> <span style="border-right:3px solid red;"></span>supercalifragilisticexpialodocious </div> Where should the red border be placed? Presto and Gecko place the <span> with border at the end of the line box appearing visually above the float. Trident and WebKit places the <span> with border at the beginning of the line box appearing below the float. My mental model sees each string (apart from certain entities within such a string that causes a break) as an individual line box so in the below example, I see 9 line boxes. x x x x x x | Float | a | Float | b | Float | car -- Alan http://css-class.com/ Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
Received on Thursday, 17 March 2011 09:47:58 UTC