blob: c749b1659733a6e68d0d7035e52395a902d65bcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<!DOCTYPE html>
<html>
<head>
<style>
table {
overflow: hidden;
}
</style>
<script>
function onSelectionChange(select)
{
document.getElementById('hiddenRow').style.display = '';
}
</script>
</head>
<body>
<div><a href="https://bugs.webkit.org/show_bug.cgi?id=95776">95776</a>: REGRESSION(r120832): Layer::clampScrollOffset doesn't properly clamp</div>
<div>Manual test: click on the menu below and <select> the 'shown' option. Click somewhere on the page so that the <select> loses focus and click again on the <select>.</div>
<div>To pass the menu should be properly placed below the <select>.</div>
<form name="teste">
<table>
<tr>
<th>Test select:</th>
<td>
<select onchange=onSelectionChange(this)>
<option value="0">hidden</option>
<option value="1">shown</option>
</select>
</td>
</tr>
<tr id="hiddenRow" style="display: none;">
<th>Lorem ipsum</th>
<td>dolor sic amet.</td>
</tr>
</table>
</form>
</body>
</html>
|