box-shadow-border-radius.html 486 B

12345678910111213141516171819202122232425262728
  1. <html class="reftest-wait">
  2. <head>
  3. <style>
  4. div#blurred {
  5. box-shadow: 0 0 50px 0 #000;
  6. position: absolute;
  7. width: 100px;
  8. height: 100px;
  9. top: 30px;
  10. left: 30px;
  11. border-radius: 40px;
  12. }
  13. </style>
  14. </head>
  15. <body>
  16. <div id="blurred"></div>
  17. <script>
  18. function doTest() {
  19. var div = document.getElementById("blurred");
  20. div.style.left = '60px';
  21. document.documentElement.removeAttribute("class");
  22. }
  23. document.addEventListener("MozReftestInvalidate", doTest, false);
  24. </script>
  25. </body>
  26. </html>