Quote:
Originally Posted by Jellby
I don't recall seeing this reported. Apparently ADE doesn't like putting floats in the first line (even when there is only one line), unless the float is the first element in the block.
Code:
p span { float: right }
<p><span>TEST</span>A test paragraph with a float
as the first element. It is correctly floated, and appears
in the first line.</p>
<p>A<span>TEST</span> test paragraph with a float
not as the first element. It is correctly floated, but
moved to the second line.</p>
|
I think it could be argued that this is the correct behavior. I don't think this is defined in the spec but if the figure is after the first character then floating it left on the first line would change the order of the information by placing the figure visually ahead of the character. I think the behavior of floating it left after the first character is correct. Which readers do it differently?
Dale