summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/select/dynamic-text-indent-1.html
blob: 6f2b5f344838f1f43cb9524e1bb3153a03f172b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html class="reftest-wait">
  <select>
    <option selected>Text<option>
  </select>
  <script>
    onload = function() {
      var s = document.querySelector("select");
      window.w = s.offsetWidth;
      s.style.textIndent = "15px";
      document.documentElement.className = "";
    }
  </script>
</html>