Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

  • This WPT test may be referenced by the following Test IDs:
<!DOCTYPE html>
<link rel=match href="standalone-option-no-shadow-tree-ref.html">
<meta name=assert content="An option element moved out of a select element should not render a UA shadow tree and should render its child text content.">
<select><option label="label attribute">child text</option></select>
<script>
const select = document.querySelector("select");
const option = document.querySelector("option");
select.offsetTop;
document.body.appendChild(option);
select.remove();
</script>