Update expected output for css-shadow-dom-keyframes

pull/5139/head
Christopher Mardell 5 years ago
parent 142bd91530
commit 83a86d0e72

@ -33,8 +33,26 @@ function create_fragment(ctx) {
class Component extends SvelteElement {
constructor(options) {
super();
if (options) {
this.$$setup(options);
}
}
$$setup(options) {
this.shadowRoot.innerHTML = `<style>div{animation:foo 1s}@keyframes foo{0%{opacity:0}100%{opacity:1}}</style>`;
init(this, { target: this.shadowRoot }, null, create_fragment, safe_not_equal, {});
init(
this,
{
props: options ? options.props : null,
target: this.shadowRoot
},
null,
create_fragment,
safe_not_equal,
{}
);
if (options) {
if (options.target) {

Loading…
Cancel
Save