summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/forms/the-selectlist-element/selectlist-overflow-x.tentative.html
blob: 93c1b948a096020f1865f9f6ccba93a3c839afa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<!-- Tests that selectlist button part text is truncated by the button. -->
<link rel=author href="mailto:pkotwicz@chromium.org">
<link rel="match" href="selectlist-overflow-x-ref.tentative.html">
<style>
selectlist {
  width:30px;
  height:20px;
}
selectlist::part(button) {
  background-color:blue;
}
</style>
<selectlist>
  <option>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</option>
</selectlist>