| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>Tests that word-wrap is ignored for white-space: pre</title> |
| <style> |
| div { |
| width: 100px; |
| border: 1px solid black; |
| } |
| </style> |
| </head> |
| <body> |
| <div style="white-space: normal;">white-space: normal - this text should wrap</div> |
| <div style="white-space: normal;">white-space: normal - this text should wrap</div> |
| <div style="white-space: nowrap;">white-space: pre - this text should not wrap</div> |
| <div style="white-space: nowrap;">white-space: nowrap - this text should not wrap</div> |
| </body> |
| </html> |