Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-writing-modes/crashtests/unicode-bidi-select-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<style>
select {
unicode-bidi: bidi-override;
}
</style>
<body>
<select>
<option>Test1</option>
<option id="opt" hidden="hidden">Test2</option>
</select>
</body>
<script>
document.body.offsetTop;
opt.defaultSelected = true;
window.getSelection().selectAllChildren(document.body);
document.vlinkColor = "red";
</script>