| var child = document.createElement('div'); |
| child.textContent = 'my text content'; |
| document.querySelector('table').appendChild(makeChild()); |
| document.querySelector('tbody').appendChild(makeChild()); |
| document.querySelector('tr').appendChild(makeChild()); |
| document.querySelector('td').appendChild(makeChild()); |
| #target:first-letter, #target div:first-letter { color: red; } |
| <div>This test is successfully if it does not crash.</div> |
| <div>This test is verifying that adding content that uses first letter into |
| a table will work correctly.</div> |