I don't know what happened to these tests

pull/3945/head
Conduitry 6 years ago
parent e0eddb5beb
commit bb17583ed5

@ -16,7 +16,7 @@ import {
function add_css() {
var style = element("style");
style.id = "svelte-1a7i8ec-style";
style.textContent = "p.svelte-1a7i8ec{\n\t\tcolor: red;\n\t}";
style.textContent = "p.svelte-1a7i8ec{color:red}";
append(document.head, style);
}

@ -2,6 +2,7 @@
import {
SvelteComponent,
append,
attr,
detach,
element,
init,
@ -13,7 +14,7 @@ import {
function add_css() {
var style = element("style");
style.id = "svelte-1slhpfn-style";
style.textContent = "@media(min-width: 1px){}";
style.textContent = "@media(min-width: 1px){div.svelte-1slhpfn{color:red}}";
append(document.head, style);
}
@ -23,6 +24,7 @@ function create_fragment(ctx) {
return {
c() {
div = element("div");
attr(div, "class", "svelte-1slhpfn");
},
m(target, anchor) {
insert(target, div, anchor);

@ -33,11 +33,7 @@ function create_fragment(ctx) {
class Component extends SvelteElement {
constructor(options) {
super();
this.shadowRoot.innerHTML = `<style>div{
animation: foo 1s;
}@keyframes foo{}</style>`;
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, {});
if (options) {

Loading…
Cancel
Save