| <!DOCTYPE html> |
| <html> |
| <head> |
| <script src="../../resources/ui-helper.js"></script> |
| </head> |
| <body> |
| <input type="checkbox" switch style="width: 10px; height: 10px; writing-mode: vertical-rl"> |
| <pre id="result"></pre> |
| </body> |
| <script> |
| if (window.testRunner) { |
| testRunner.dumpAsText(); |
| testRunner.waitUntilDone(); |
| } |
| |
| (async () => { |
| if (window.internals) |
| internals.startTrackingRepaints(); |
| |
| document.querySelector("input").checked = true; |
| |
| if (window.internals) { |
| let repaintRects = internals.repaintRectsAsText(); |
| internals.stopTrackingRepaints(); |
| result.textContent = repaintRects; |
| } |
| |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| })(); |
| </script> |
| </html> |