Skip to content

Commit b963e9b

Browse files
committed
test for <my-new-widget> fails
1 parent a62f7d6 commit b963e9b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/html.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,4 +272,13 @@ describe('HTML Parser', function () {
272272
root.firstChild.tagName.should.eql('my-widget');
273273
});
274274
});
275+
276+
describe('Custom Element multiple dash', function () {
277+
it('parse "<my-new-widget></my-new-widget>" tagName should be "my-new-widget"', function () {
278+
279+
var root = parseHTML('<my-new-widget></my-new-widget>');
280+
281+
root.firstChild.tagName.should.eql('my-new-widget');
282+
});
283+
});
275284
});

0 commit comments

Comments
 (0)