| <!DOCTYPE html> | |
| <style> | |
| section.run-in:before { | |
| display: run-in; | |
| content: "This "; | |
| } | |
| </style> | |
| <section> | |
| <div> | |
| should all be on the same line. | |
| </div> | |
| </section> | |
| <script> | |
| onload = function() { | |
| document.querySelector('section').className = 'run-in'; | |
| } | |
| </script> |