Skip to content

Commit e344311

Browse files
failing test to demonstrate issue with outerHTML morphing an IDed node that will get moved.
1 parent 4772ef3 commit e344311

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/fidelity.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ describe("Tests to ensure that idiomorph merges properly", function () {
7777
);
7878
});
7979

80+
it("should wrap an ided node", function () {
81+
testFidelity(
82+
`<hr id="a">`,
83+
`<div><hr id="a"></div>`,
84+
);
85+
});
86+
8087
it("should append a node", function () {
8188
testFidelity("<main></main>", "<main><p>hello you</p></main>");
8289
});

0 commit comments

Comments
 (0)