push-block-with-first-line-expected.html 468 B

1234567891011121314
  1. <!DOCTYPE html>
  2. <!--
  3. Test that the ::first-line background is repainted at the new position when its block is moved.
  4. There should be no red below.
  5. -->
  6. <script src="../../resources/ahem.js"></script>
  7. <script src="../../resources/run-after-layout-and-paint.js"></script>
  8. <style>
  9. body { font:20px Ahem; }
  10. .test { color:green; }
  11. .test::first-line { background:red; }
  12. </style>
  13. <div id="spacer" style="height:3em;"></div>
  14. <div class="test">JOCULAR</div>