no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / forms / input / text / autofill-preview-line-height.html
blob71961121a03bf75f8ab4020483f342bf232a0e66
1 <!doctype html>
2 <style>
3 input { height: 4em; font-family: system-ui }
4 </style>
5 <input value="Autofill">
6 <script>
7 let input = SpecialPowers.wrap(document.querySelector("input"));
8 SpecialPowers.Cc["@mozilla.org/satchel/form-fill-controller;1"].getService(SpecialPowers.Ci.nsIFormFillController).markAsAutoCompletableField(input);
9 input.getBoundingClientRect(); // previewValue setter depends on the reframe posted by markAsAutoCompletableField() having being processed...
10 input.previewValue = "Autofill";
11 input.autofillState = "preview";
12 </script>