---
Test
---

This test, when run in Firefox, shows ''select for'' failing because the <select> is scrolled under the position:fixed div.
Tested to reproduce the bug with window sizes of 1366x768 and 1600x1200.

!define HTML { {{{
<!DOCTYPE html>
<html>
<body>

<div style="position: fixed; top: 0; left: 0; right: 0; height: 20vh; background-color: grey"></div>

<div style="height: 90vh; padding-top: 20vh">
	<select>
		<option>1</option>
		<option>2</option>
		<option>3</option>
		<option>4</option>
		<option>5</option>
		<option>6</option>
		<option>7</option>
		<option>8</option>
		<option>9</option>
		<option>10</option>
		<option>11</option>
		<option>12</option>
		<option>13</option>
		<option>14</option>
		<option>15</option>
		<option>16</option>
		<option>17</option>
		<option>18</option>
		<option>19</option>
		<option>20</option>
		<option>21</option>
		<option>22</option>
		<option>23</option>
		<option>24</option>
		<option>25</option>
		<option>26</option>
		<option>27</option>
		<option>28</option>
		<option>29</option>
		<option>30</option>
		<option>31</option>
		<option>32</option>
		<option>33</option>
		<option>34</option>
		<option>35</option>
		<option>36</option>
		<option>37</option>
		<option>38</option>
		<option>39</option>
		<option>40</option>
		<option>41</option>
		<option>42</option>
		<option>43</option>
		<option>44</option>
		<option>45</option>
		<option>46</option>
		<option>47</option>
		<option>48</option>
		<option>49</option>
		<option>50</option>
		<option>51</option>
		<option>52</option>
		<option>53</option>
		<option>54</option>
		<option>55</option>
		<option>56</option>
		<option>57</option>
		<option>58</option>
		<option>59</option>
		<option>60</option>
		<option>61</option>
		<option>62</option>
		<option>63</option>
		<option>64</option>
		<option>65</option>
		<option>66</option>
		<option>67</option>
		<option>68</option>
		<option>69</option>
		<option>70</option>
		<option>71</option>
		<option>72</option>
		<option>73</option>
		<option>74</option>
		<option>75</option>
		<option>76</option>
		<option>77</option>
		<option>78</option>
		<option>79</option>
		<option>80</option>
		<option>81</option>
		<option>82</option>
		<option>83</option>
		<option>84</option>
		<option>85</option>
		<option>86</option>
		<option>87</option>
		<option>88</option>
		<option>89</option>
		<option>90</option>
		<option>91</option>
		<option>92</option>
		<option>93</option>
		<option>94</option>
		<option>95</option>
		<option>96</option>
		<option>97</option>
		<option>98</option>
		<option>99</option>
		<option>100</option>
	</select>
</div>

</body>
</html>}}} }

|script      |mock xml server setup|
|add response|${HTML}              |
|$url=       |get mock server url  |

|script             |browser test                  |
|set browser size to|1366    |by        |768       |
|open               |$url                          |
|select             |100     |for       |css=select|
|check              |value of|css=select|100       |

|script|mock xml server setup|
|stop                        |