chromium/third_party/blink/web_tests/fast/forms/validation-bubble-appearance-wrap.html

<!DOCTYPE html>
<meta name="color-scheme" content="light dark">
<script src="../../resources/run-after-layout-and-paint.js"></script>
<p>Check if text in a validation bubble is wrapped within the bubble.</p>
<input type="email" value="emailaddressemailaddressemailaddressemailaddressemailaddressemailaddressemailaddressemailaddressemailaddressemailaddressemailaddressemailaddressemailaddressemailaddress">
<script>
runAfterLayoutAndPaint(() => {
  document.querySelector('input').reportValidity();
}, true);
</script>