Skip to content

Commit 59c4eaf

Browse files
emiliomoz-wptsync-bot
authored andcommitted
PseudoElementType should be a transferable property on adopt.
Otherwise we lose it on adoption. Differential Revision: https://phabricator.services.mozilla.com/D295083 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2033117 gecko-commit: f79d79abb3b16d37010e802655de3d7fc332ca37 gecko-commit-git: 029906a044d38ecaf89e0ee0b80dfd5b6b892b10 gecko-reviewers: jjaschke, dom-core
1 parent 3ed1807 commit 59c4eaf

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<!doctype html>
2+
<meta charset="utf-8">
3+
<title>CSS test reference</title>
4+
<iframe srcdoc="<select><option>ABC</option><option>DEF</option></select>"></iframe>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!doctype html>
2+
<meta charset="utf-8">
3+
<title>Select element rendering after adoption</title>
4+
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
5+
<link rel="author" href="https://mozilla.com" title="Mozilla">
6+
<link rel=help href="https://bugzilla.mozilla.org/show_bug.cgi?id=2033117">
7+
<link rel=match href="select-adopted-ref.html">
8+
<select>
9+
<option>ABC</option>
10+
<option>DEF</option>
11+
</select>
12+
<iframe></iframe>
13+
<script>
14+
let select = document.querySelector("select");
15+
let iframe = document.querySelector("iframe");
16+
iframe.contentWindow.document.body.appendChild(select);
17+
</script>

0 commit comments

Comments
 (0)