Backed out 2 changesets (bug 1930466) for causing bc failures on browser_timezone...
[gecko.git] / layout / reftests / forms / select / dynamic-text-overflow-1.html
blob4d954f69815f7117757031d0fa9e8653848e362a
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <select style="width: 100px; overflow: hidden;">
4 <option selected>Text that is long enough that it totally overflows<option>
5 </select>
6 <script>
7 onload = function() {
8 var s = document.querySelector("select");
9 window.w = s.offsetWidth;
10 s.style.textOverflow = "ellipsis";
11 document.documentElement.className = "";
13 </script>
14 </html>