java-html2image icon indicating copy to clipboard operation
java-html2image copied to clipboard

word-wrap not working

Open GoogleCodeExporter opened this issue 10 years ago • 2 comments

What steps will reproduce the problem?
1. Create a <div> and inside that div, a <span> 
2. Make the <div> width:600px;
3. Make the <span> word-wrap:break-word; display:block;
4. Place WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW(and so on) into 
<span>

What is the expected output? What do you see instead?
In Firefox, IE and Chrome, the String gets wrapped into several lines if its 
length exceeds 600px.
Instead the word-wrap gets ignored.

What version of the product are you using? On what operating system?
Version 0.9 on Windows 7.

Please provide any additional information below.
If there's a hotfix, I'd appreciate very much if you told me.

Original issue reported on code.google.com by [email protected] on 4 Mar 2014 at 12:01

GoogleCodeExporter avatar Jun 10 '15 11:06 GoogleCodeExporter

And by hotfix I meant a workaround. 

Original comment by [email protected] on 4 Mar 2014 at 12:03

GoogleCodeExporter avatar Jun 10 '15 11:06 GoogleCodeExporter

..and by word-wrap:break-word; I meant word-wrap:break-all;

Original comment by [email protected] on 4 Mar 2014 at 12:06

GoogleCodeExporter avatar Jun 10 '15 11:06 GoogleCodeExporter