Sebastian Werner schrieb:
>> Do you say that my expectation was true and the text size calculation 
>> fails for strings with leading or trailing whitespace?
> 
> It does not fail. But it does it wrong :)

Ah, I see. That's different. But don't you think that qx could replace 
leading/trailing spaces with  , then?

>> I guess there are ways to work around that. For example, if the CSS 
>> property "display" is set to "inline", the whitespace is not swallowed.
> 
> IMGO there are not workarounds possible with CSS. "inline" also 
> configures the flow control. Nothing more, nothing less.

Ok. But <div style="display:inline">Hello </div><div>World</div> 
preserves the space in FF.

And in CSS3, there is a property "whitespace-collapse" or something.

Ralf


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to