details-open-repaint.html 362 B

12345678910111213141516
  1. <!DOCTYPE html>
  2. <script src="resources/text-based-repaint.js"></script>
  3. <script>
  4. window.onload = runRepaintAndPixelTest;
  5. function repaintTest() {
  6. document.getElementsByTagName('details')[0].setAttribute('open', true);
  7. }
  8. </script>
  9. <p>This test passes if the arrow rotates to the open position.</p>
  10. <details>
  11. <input>
  12. <summary>summary</summary>
  13. </details>