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() { function add_css() {
var style = element("style"); var style = element("style");
style.id = "svelte-1a7i8ec-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); append(document.head, style);
} }

@ -2,6 +2,7 @@
import { import {
SvelteComponent, SvelteComponent,
append, append,
attr,
detach, detach,
element, element,
init, init,
@ -13,7 +14,7 @@ import {
function add_css() { function add_css() {
var style = element("style"); var style = element("style");
style.id = "svelte-1slhpfn-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); append(document.head, style);
} }
@ -23,6 +24,7 @@ function create_fragment(ctx) {
return { return {
c() { c() {
div = element("div"); div = element("div");
attr(div, "class", "svelte-1slhpfn");
}, },
m(target, anchor) { m(target, anchor) {
insert(target, div, anchor); insert(target, div, anchor);

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

Loading…
Cancel
Save