repaint-descandant-on-ancestor-layer-move-expected.html 447 B

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <style>
  3. body {
  4. position: absolute;
  5. left: 0px;
  6. top: 0px;
  7. right: 0px;
  8. bottom: 0px;
  9. }
  10. body > div {
  11. position: absolute;
  12. left: 0; top: 10px;
  13. }
  14. div > div {
  15. position: relative;
  16. display: inline-block;
  17. left: 20px;
  18. top: 20px;
  19. width: 300px;
  20. background-color: papayawhip;
  21. }
  22. </style>
  23. <body>
  24. <div id="container">
  25. <div>
  26. There should only be one copy of this text.
  27. </div>
  28. </div>