| <!DOCTYPE html> | |
| <html class="reftest-wait"> | |
| <link rel="help" href="https://drafts.csswg.org/css-ui-4/#field-sizing"> | |
| <link rel=match href="field-sizing-input-number-relayout-ref.html"> | |
| <script src="/common/reftest-wait.js"></script> | |
| <body> | |
| <input id="inputa" style="field-sizing: content" type="number"><input type="number"> | |
| <script> | |
| requestAnimationFrame(() => { | |
| inputa.value = ''; | |
| requestAnimationFrame(() => { | |
| inputa.value = 12345; | |
| takeScreenshot(); | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> |