ParkKwangSeok / java-html2image

Automatically exported from code.google.com/p/java-html2image
0 stars 0 forks source link

word-wrap not working #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 ing...@gmail.com on 4 Mar 2014 at 12:01

GoogleCodeExporter commented 8 years ago
And by hotfix I meant a workaround. 

Original comment by ing...@gmail.com on 4 Mar 2014 at 12:03

GoogleCodeExporter commented 8 years ago
..and by word-wrap:break-word; I meant word-wrap:break-all;

Original comment by ing...@gmail.com on 4 Mar 2014 at 12:06