| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta name="viewport" content="width=800"> |
| <style> |
| html { font-size: 16px; } |
| body { width: 800px; margin: 0; overflow: hidden; } |
| #pseudo1:first-letter { font-size: 32px; color: red; } |
| #pseudo2::before { font-size: 32px; content: "Before!"; color: green; } |
| #pseudo2::after { font-size: 32px; content: "After!"; color: blue; } |
| </style> |
| |
| <script src="resources/autosizingTest.js"></script> |
| </head> |
| <body> |
| <div id="pseudo1">This sentence should start with a big letter 'T' for the first letter in the color red. There should be enough text for the sentence to autosize.</div> |
| <div id="pseudo2">This text should have the word 'Before!' in big text in the color green before it and the word 'After!' in big text in the color blue after it.</div> |
| </body> |
| </html> |