6 body
> div { border:
1px solid black; margin:
1em;
7 font-family:sans-serif; letter-spacing:
2px; }
8 #d2:after { content:
"Kitty"; }
9 #d3:after { content:
"ty"; }
11 <script>function flush() { document
.body
.offsetHeight
; }</script>
14 <div id=
"d1"><span>Hello
</span> <script>flush();</script><span>Kitty
</span></div>
15 <div id=
"d2"><script>flush();</script><span>Hello
</span> </div>
16 <div id=
"d3"><span>Hello
</span> <script>flush();</script><span>Kit
</span></div>
17 <div id=
"d4"><span>Hello
</span><script>flush();</script> <span>Kitty
</span></div>