You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples
Rich Harris 7f3cd0d655
update css tests
8 years ago
..
action update css tests 8 years ago
action-function update css tests 8 years ago
action-ternary-template update css tests 8 years ago
action-this update css tests 8 years ago
action-update update css tests 8 years ago
animation-css update css tests 8 years ago
animation-js update css tests 8 years ago
animation-js-delay update css tests 8 years ago
attribute-boolean-false update css tests 8 years ago
attribute-boolean-indeterminate remove v1 runtime tests 8 years ago
attribute-boolean-true update css tests 8 years ago
attribute-casing update css tests 8 years ago
attribute-dynamic update css tests 8 years ago
attribute-dynamic-multiple update css tests 8 years ago
attribute-dynamic-no-dependencies update css tests 8 years ago
attribute-dynamic-quotemarks update css tests 8 years ago
attribute-dynamic-reserved update css tests 8 years ago
attribute-dynamic-shorthand update css tests 8 years ago
attribute-dynamic-type remove v1 runtime tests 8 years ago
attribute-empty update css tests 8 years ago
attribute-empty-svg update css tests 8 years ago
attribute-namespaced remove v1 runtime tests 8 years ago
attribute-partial-number update css tests 8 years ago
attribute-prefer-expression update css tests 8 years ago
attribute-static update css tests 8 years ago
attribute-static-at-symbol rename test 9 years ago
attribute-static-boolean update css tests 8 years ago
attribute-static-quotemarks failing tests for #741 9 years ago
autofocus move render logic into separate phase (#1678) 8 years ago
await-component-oncreate update css tests 8 years ago
await-in-each preserve outer context for await blocks - fixes #1251 8 years ago
await-set-simultaneous move render logic into separate phase (#1678) 8 years ago
await-then-catch remove v1 runtime tests 8 years ago
await-then-catch-anchor update css tests 8 years ago
await-then-catch-event update css tests 8 years ago
await-then-catch-if update css tests 8 years ago
await-then-catch-in-slot update css tests 8 years ago
await-then-catch-multiple remove v1 runtime tests 8 years ago
await-then-catch-no-values update css tests 8 years ago
await-then-catch-non-promise remove v1 runtime tests 8 years ago
await-then-catch-static fix #1417 8 years ago
await-then-shorthand remove v1 runtime tests 8 years ago
binding-audio-currenttime-duration-volume update css tests 8 years ago
binding-indirect remove v1 runtime tests 8 years ago
binding-indirect-computed update css tests 8 years ago
binding-input-checkbox update css tests 8 years ago
binding-input-checkbox-deep-contextual update css tests 8 years ago
binding-input-checkbox-group move render logic into separate phase (#1678) 8 years ago
binding-input-checkbox-group-outside-each remove v1 runtime tests 8 years ago
binding-input-checkbox-indeterminate update css tests 8 years ago
binding-input-checkbox-with-event-in-each update css tests 8 years ago
binding-input-number update css tests 8 years ago
binding-input-radio-group remove v1 runtime tests 8 years ago
binding-input-range update css tests 8 years ago
binding-input-range-change update css tests 8 years ago
binding-input-text update css tests 8 years ago
binding-input-text-contextual update css tests 8 years ago
binding-input-text-deconflicted render server bindings 8 years ago
binding-input-text-deep update css tests 8 years ago
binding-input-text-deep-computed update css tests 8 years ago
binding-input-text-deep-computed-dynamic render server bindings 8 years ago
binding-input-text-deep-contextual update css tests 8 years ago
binding-input-text-deep-contextual-computed-dynamic render server bindings 8 years ago
binding-input-with-event update css tests 8 years ago
binding-select update css tests 8 years ago
binding-select-implicit-option-value render server bindings 8 years ago
binding-select-in-each-block remove v1 runtime tests 8 years ago
binding-select-in-yield update css tests 8 years ago
binding-select-initial-value render server bindings 8 years ago
binding-select-initial-value-undefined remove v1 runtime tests 8 years ago
binding-select-late update css tests 8 years ago
binding-select-multiple update css tests 8 years ago
binding-select-optgroup remove v1 runtime tests 8 years ago
binding-textarea update css tests 8 years ago
bindings-before-oncreate update css tests 8 years ago
bindings-coalesced update css tests 8 years ago
class-boolean update css tests 8 years ago
class-helper update css tests 8 years ago
class-in-each update css tests 8 years ago
class-shortcut update css tests 8 years ago
class-shortcut-with-class update css tests 8 years ago
class-with-attribute update css tests 8 years ago
class-with-dynamic-attribute update css tests 8 years ago
component update css tests 8 years ago
component-binding update css tests 8 years ago
component-binding-blowback update css tests 8 years ago
component-binding-blowback-b update css tests 8 years ago
component-binding-blowback-c update css tests 8 years ago
component-binding-computed update css tests 8 years ago
component-binding-conditional update css tests 8 years ago
component-binding-conditional-b update css tests 8 years ago
component-binding-deep update css tests 8 years ago
component-binding-deep-b update css tests 8 years ago
component-binding-each update css tests 8 years ago
component-binding-each-nested update css tests 8 years ago
component-binding-each-object update css tests 8 years ago
component-binding-infinite-loop update css tests 8 years ago
component-binding-invalid-identifier update css tests 8 years ago
component-binding-nested update css tests 8 years ago
component-binding-parent-supercedes-child update css tests 8 years ago
component-binding-self-destroying update css tests 8 years ago
component-data-dynamic update css tests 8 years ago
component-data-dynamic-late update css tests 8 years ago
component-data-dynamic-shorthand update css tests 8 years ago
component-data-empty update css tests 8 years ago
component-data-static update css tests 8 years ago
component-data-static-boolean update css tests 8 years ago
component-data-static-boolean-regression update css tests 8 years ago
component-event-not-stale update css tests 8 years ago
component-events update css tests 8 years ago
component-events-console update css tests 8 years ago
component-events-data update css tests 8 years ago
component-events-each update css tests 8 years ago
component-events-fire-finally update css tests 8 years ago
component-if-placement update css tests 8 years ago
component-invalid-identifier update css tests 8 years ago
component-name-deconflicted update css tests 8 years ago
component-nested-deep update css tests 8 years ago
component-nested-deeper update css tests 8 years ago
component-not-void update css tests 8 years ago
component-ref update css tests 8 years ago
component-shorthand-import update css tests 8 years ago
component-slot-default update css tests 8 years ago
component-slot-dynamic update css tests 8 years ago
component-slot-each-block update css tests 8 years ago
component-slot-empty update css tests 8 years ago
component-slot-fallback update css tests 8 years ago
component-slot-if-block update css tests 8 years ago
component-slot-if-block-before-node update css tests 8 years ago
component-slot-if-else-block-before-node update css tests 8 years ago
component-slot-name-with-hyphen update css tests 8 years ago
component-slot-named update css tests 8 years ago
component-slot-nested update css tests 8 years ago
component-slot-nested-component update css tests 8 years ago
component-static-at-symbol update css tests 8 years ago
component-yield update css tests 8 years ago
component-yield-follows-element update css tests 8 years ago
component-yield-if update css tests 8 years ago
component-yield-multiple-in-each update css tests 8 years ago
component-yield-multiple-in-if update css tests 8 years ago
component-yield-nested-if update css tests 8 years ago
component-yield-parent update css tests 8 years ago
component-yield-placement update css tests 8 years ago
component-yield-static update css tests 8 years ago
computed-empty update css tests 8 years ago
computed-function update css tests 8 years ago
computed-values update css tests 8 years ago
computed-values-deconflicted update css tests 8 years ago
computed-values-default remove v1 runtime tests 8 years ago
computed-values-function-dependency update css tests 8 years ago
css update css tests 8 years ago
css-comments update css tests 8 years ago
css-false update css tests 8 years ago
css-space-in-attribute update css tests 8 years ago
custom-method update css tests 8 years ago
deconflict-builtins update css tests 8 years ago
deconflict-component-refs render server bindings 8 years ago
deconflict-contexts remove v1 runtime tests 8 years ago
deconflict-elements-indexes update css tests 8 years ago
deconflict-non-helpers update css tests 8 years ago
deconflict-self update css tests 8 years ago
deconflict-template-1 update css tests 8 years ago
deconflict-template-2 update css tests 8 years ago
deconflict-vars update css tests 8 years ago
default-data update css tests 8 years ago
default-data-function update css tests 8 years ago
default-data-override update css tests 8 years ago
destroy-twice dont throw error if component is destroyed twice (closes #643) 9 years ago
destructuring update css tests 8 years ago
dev-accept-declarative-store update css tests 8 years ago
dev-error-missing-store-option fix: add check for template store to conditional (#1829) 8 years ago
dev-warning-destroy-twice better error for missing store - fixes #1807 8 years ago
dev-warning-dynamic-components-misplaced update css tests 8 years ago
dev-warning-helper update css tests 8 years ago
dev-warning-missing-data better error for missing store - fixes #1807 8 years ago
dev-warning-missing-data-binding better error for missing store - fixes #1807 8 years ago
dev-warning-missing-data-each better error for missing store - fixes #1807 8 years ago
dev-warning-missing-data-excludes-event update css tests 8 years ago
dev-warning-readonly-computed update css tests 8 years ago
dev-warning-readonly-window-binding better error for missing store - fixes #1807 8 years ago
document-event update css tests 8 years ago
dynamic-component update css tests 8 years ago
dynamic-component-bindings update css tests 8 years ago
dynamic-component-bindings-recreated update css tests 8 years ago
dynamic-component-bindings-recreated-b update css tests 8 years ago
dynamic-component-destroy-null allow non-existent dynamic components to be destroyed (#1660) 8 years ago
dynamic-component-events update css tests 8 years ago
dynamic-component-in-if update css tests 8 years ago
dynamic-component-inside-element update css tests 8 years ago
dynamic-component-nulled-out update css tests 8 years ago
dynamic-component-ref update css tests 8 years ago
dynamic-component-slot update css tests 8 years ago
dynamic-component-update-existing-instance update css tests 8 years ago
each-block remove v1 runtime tests 8 years ago
each-block-array-literal update css tests 8 years ago
each-block-containing-component-in-if update css tests 8 years ago
each-block-containing-if update css tests 8 years ago
each-block-deconflict-name-context render server bindings 8 years ago
each-block-destructured-array remove v1 runtime tests 8 years ago
each-block-destructured-array-sparse sparse array patterns 8 years ago
each-block-destructured-object destructuring 8 years ago
each-block-destructured-object-binding render server bindings 8 years ago
each-block-dynamic-else-static remove v1 runtime tests 8 years ago
each-block-else remove v1 runtime tests 8 years ago
each-block-else-mount-or-intro update css tests 8 years ago
each-block-else-starts-empty remove v1 runtime tests 8 years ago
each-block-empty-outro update css tests 8 years ago
each-block-in-if-block fix #1780 just start use parent instead parent.parent in IfBlock wrapper 8 years ago
each-block-index-only remove leftover logging 8 years ago
each-block-indexed remove v1 runtime tests 8 years ago
each-block-keyed remove v1 runtime tests 8 years ago
each-block-keyed-dynamic remove v1 runtime tests 8 years ago
each-block-keyed-empty remove v1 runtime tests 8 years ago
each-block-keyed-non-prop allow arbitrary expressions in each block keys - fixes #703 8 years ago
each-block-keyed-random-permute remove v1 runtime tests 8 years ago
each-block-keyed-siblings remove v1 runtime tests 8 years ago
each-block-keyed-static remove v1 runtime tests 8 years ago
each-block-keyed-unshift update css tests 8 years ago
each-block-random-permute remove v1 runtime tests 8 years ago
each-block-static remove v1 runtime tests 8 years ago
each-block-text-node remove v1 runtime tests 8 years ago
each-blocks-expression remove v1 runtime tests 8 years ago
each-blocks-nested remove v1 runtime tests 8 years ago
each-blocks-nested-b remove v1 runtime tests 8 years ago
element-invalid-name
element-source-location update css tests 8 years ago
empty-style-block
escape-template-literals update css tests 8 years ago
escaped-text more testing 9 years ago
event-handler update css tests 8 years ago
event-handler-console-log update css tests 8 years ago
event-handler-custom update css tests 8 years ago
event-handler-custom-context update css tests 8 years ago
event-handler-custom-each update css tests 8 years ago
event-handler-custom-each-destructured update css tests 8 years ago
event-handler-custom-node-context update css tests 8 years ago
event-handler-custom-this update css tests 8 years ago
event-handler-each update css tests 8 years ago
event-handler-each-context update css tests 8 years ago
event-handler-each-deconflicted update css tests 8 years ago
event-handler-each-this update css tests 8 years ago
event-handler-event-methods update css tests 8 years ago
event-handler-hoisted update css tests 8 years ago
event-handler-removal update css tests 8 years ago
event-handler-sanitize update css tests 8 years ago
event-handler-shorthand-component update css tests 8 years ago
event-handler-shorthand-dynamic-component update css tests 8 years ago
event-handler-this-methods update css tests 8 years ago
events-custom
events-lifecycle
flush-before-bindings update css tests 8 years ago
function-in-expression remove v1 runtime tests 8 years ago
get-after-destroy set state to blank object on destroy, not null - fixes #1354 8 years ago
get-state update css tests 8 years ago
globals-accessible-directly remove v1 runtime tests 8 years ago
globals-not-dereferenced remove v1 runtime tests 8 years ago
globals-not-overwritten-by-bindings render server bindings 8 years ago
globals-shadowed-by-data update css tests 8 years ago
globals-shadowed-by-helpers update css tests 8 years ago
head-if-block fix blocks inside <svelte:head> - closes #1774 8 years ago
head-title-dynamic remove v1 runtime tests 8 years ago
head-title-static remove v1 runtime tests 8 years ago
hello-world remove v1 runtime tests 8 years ago
helpers update css tests 8 years ago
helpers-not-call-expression update css tests 8 years ago
html-entities
html-entities-inside-elements failing tests for #1066 9 years ago
html-non-entities-inside-elements add test to ensure only <, > and & are escaped 9 years ago
if-block remove v1 runtime tests 8 years ago
if-block-component-without-outro update css tests 8 years ago
if-block-else remove v1 runtime tests 8 years ago
if-block-else-in-each remove v1 runtime tests 8 years ago
if-block-else-partial-outro update css tests 8 years ago
if-block-elseif remove v1 runtime tests 8 years ago
if-block-elseif-no-else handle elseif blocks with no else 8 years ago
if-block-elseif-text remove v1 runtime tests 8 years ago
if-block-expression remove v1 runtime tests 8 years ago
if-block-first Fix removing next link during strip whitespaces for first element. 8 years ago
if-block-no-outro-else-with-outro update css tests 8 years ago
if-block-or remove v1 runtime tests 8 years ago
if-block-outro-nested-else update css tests 8 years ago
if-block-outro-unique-select-block-type update css tests 8 years ago
if-block-widget update css tests 8 years ago
if-in-keyed-each remove v1 runtime tests 8 years ago
ignore-unchanged-attribute update css tests 8 years ago
ignore-unchanged-attribute-compound update css tests 8 years ago
ignore-unchanged-raw update css tests 8 years ago
ignore-unchanged-tag update css tests 8 years ago
immutable-mutable update css tests 8 years ago
immutable-nested update css tests 8 years ago
immutable-root update css tests 8 years ago
imported-renamed-components update css tests 8 years ago
initial-state-assign update css tests 8 years ago
inline-expressions remove v1 runtime tests 8 years ago
input-list
lifecycle-events update css tests 8 years ago
names-deconflicted update css tests 8 years ago
names-deconflicted-nested remove v1 runtime tests 8 years ago
nbsp
nested-transition-detach-each update css tests 8 years ago
nested-transition-detach-if-false update css tests 8 years ago
nested-transition-if-block-not-remounted update css tests 8 years ago
noscript-removal remove <noscript> elements in DOM mode (#1108) 9 years ago
observe-binding-ignores-unchanged update css tests 8 years ago
observe-component-ignores-irrelevant-changes update css tests 8 years ago
observe-deferred update css tests 8 years ago
observe-prevents-loop update tests to account for removal of observe 8 years ago
oncreate-async update css tests 8 years ago
oncreate-async-arrow update css tests 8 years ago
oncreate-async-arrow-block update css tests 8 years ago
oncreate-sibling-order update css tests 8 years ago
ondestroy-before-cleanup update css tests 8 years ago
onrender-chain update css tests 8 years ago
onrender-fires-when-ready update css tests 8 years ago
onrender-fires-when-ready-nested update css tests 8 years ago
onstate update css tests 8 years ago
onstate-before-oncreate update css tests 8 years ago
onstate-before-render update css tests 8 years ago
onstate-event remove v1 runtime tests 8 years ago
onupdate update css tests 8 years ago
option-without-select remove v1 runtime tests 8 years ago
options update css tests 8 years ago
paren-wrapped-expressions remove v1 runtime tests 8 years ago
preload update css tests 8 years ago
raw-anchor-first-child remove v1 runtime tests 8 years ago
raw-anchor-first-last-child remove v1 runtime tests 8 years ago
raw-anchor-last-child remove v1 runtime tests 8 years ago
raw-anchor-next-previous-sibling remove v1 runtime tests 8 years ago
raw-anchor-next-sibling remove v1 runtime tests 8 years ago
raw-anchor-previous-sibling remove v1 runtime tests 8 years ago
raw-mustaches remove v1 runtime tests 8 years ago
raw-mustaches-preserved remove v1 runtime tests 8 years ago
refs
refs-no-innerhtml mark elements with refs as ineligible for innerhtml (#1407) 8 years ago
refs-unset remove v1 runtime tests 8 years ago
script-style-non-top-level remove v1 runtime tests 8 years ago
select remove v1 runtime tests 8 years ago
select-bind-array remove v1 runtime tests 8 years ago
select-bind-in-array remove v1 runtime tests 8 years ago
select-change-handler update css tests 8 years ago
select-no-whitespace
select-one-way-bind remove v1 runtime tests 8 years ago
select-one-way-bind-object remove v1 runtime tests 8 years ago
select-props update css tests 8 years ago
self-reference remove v1 runtime tests 8 years ago
self-reference-tree remove v1 runtime tests 8 years ago
set-after-destroy remove v1 runtime tests 8 years ago
set-clones-input update css tests 8 years ago
set-in-oncreate update css tests 8 years ago
set-in-ondestroy update tests to account for removal of observe 8 years ago
set-in-onstate update css tests 8 years ago
set-in-onstate-dedupes-renders update css tests 8 years ago
set-mutated-data remove v1 runtime tests 8 years ago
set-null-text-node stringify values before setting text data - fixes #1598 8 years ago
set-prevents-loop update css tests 8 years ago
set-undefined-attr update css tests 8 years ago
sigil-component-attribute update css tests 8 years ago
sigil-static-#
sigil-static-@
single-static-element
single-text-node
slot-in-custom-element failing test for #827 9 years ago
spread-component update css tests 8 years ago
spread-component-dynamic update css tests 8 years ago
spread-component-dynamic-undefined failing test for #1413 8 years ago
spread-component-multiple-dependencies update css tests 8 years ago
spread-component-with-bind update css tests 8 years ago
spread-each-component update css tests 8 years ago
spread-each-element update spread props in each blocks without other dynamic attributes - fixes #1337 8 years ago
spread-element update css tests 8 years ago
spread-element-boolean remove v1 runtime tests 8 years ago
spread-element-input allow spread props on elements with tests for static attributes 8 years ago
spread-element-multiple remove v1 runtime tests 8 years ago
spread-element-multiple-dependencies update css tests 8 years ago
state-deconflicted remove v1 runtime tests 8 years ago
svg remove v1 runtime tests 8 years ago
svg-attributes
svg-child-component-declared-namespace update css tests 8 years ago
svg-child-component-declared-namespace-backtick-string update css tests 8 years ago
svg-child-component-declared-namespace-shorthand update css tests 8 years ago
svg-class
svg-each-block-anchor remove v1 runtime tests 8 years ago
svg-each-block-namespace update css tests 8 years ago
svg-multiple remove v1 runtime tests 8 years ago
svg-no-whitespace
svg-with-style remove cascade option 8 years ago
svg-xlink
svg-xmlns remove v1 runtime tests 8 years ago
template use template.content in place of template where appropriate - fixes #1571 8 years ago
textarea-children remove v1 runtime tests 8 years ago
textarea-value remove v1 runtime tests 8 years ago
transition-css-deferred-removal update css tests 8 years ago
transition-css-delay update css tests 8 years ago
transition-css-duration update css tests 8 years ago
transition-js-aborted-outro update css tests 8 years ago
transition-js-aborted-outro-in-each update css tests 8 years ago
transition-js-args update css tests 8 years ago
transition-js-await-block update css tests 8 years ago
transition-js-context update css tests 8 years ago
transition-js-deferred update css tests 8 years ago
transition-js-delay update css tests 8 years ago
transition-js-delay-in-out update css tests 8 years ago
transition-js-destroyed-before-end update css tests 8 years ago
transition-js-dynamic-component update css tests 8 years ago
transition-js-dynamic-if-block-bidi update css tests 8 years ago
transition-js-each-block-intro update css tests 8 years ago
transition-js-each-block-intro-outro update css tests 8 years ago
transition-js-each-block-keyed-intro update css tests 8 years ago
transition-js-each-block-keyed-intro-outro update css tests 8 years ago
transition-js-each-block-keyed-outro update css tests 8 years ago
transition-js-each-block-outro update css tests 8 years ago
transition-js-events update css tests 8 years ago
transition-js-if-block-bidi update css tests 8 years ago
transition-js-if-block-in-each-block-bidi update css tests 8 years ago
transition-js-if-block-in-each-block-bidi-2 update css tests 8 years ago
transition-js-if-block-in-each-block-bidi-3 update css tests 8 years ago
transition-js-if-block-intro update css tests 8 years ago
transition-js-if-block-intro-outro update css tests 8 years ago
transition-js-if-block-outro-timeout update css tests 8 years ago
transition-js-if-else-block-dynamic-outro update css tests 8 years ago
transition-js-if-else-block-intro update css tests 8 years ago
transition-js-if-else-block-outro update css tests 8 years ago
transition-js-if-elseif-block-outro update css tests 8 years ago
transition-js-initial update css tests 8 years ago
transition-js-intro-enabled-by-option update css tests 8 years ago
transition-js-intro-skipped-by-default update css tests 8 years ago
transition-js-intro-skipped-by-default-nested update css tests 8 years ago
transition-js-nested-await update css tests 8 years ago
transition-js-nested-component update css tests 8 years ago
transition-js-nested-each update css tests 8 years ago
transition-js-nested-each-delete update css tests 8 years ago
transition-js-nested-each-keyed update css tests 8 years ago
transition-js-nested-each-keyed-2 update css tests 8 years ago
transition-js-nested-if update css tests 8 years ago
transition-js-nested-intro update css tests 8 years ago
transition-js-parameterised update css tests 8 years ago
transition-js-parameterised-with-state update css tests 8 years ago
whitespace-each-block tests were wrong way round 8 years ago
whitespace-list preserve whitespace inside lists 8 years ago
whitespace-normal tests were wrong way round 8 years ago
window-bind-scroll-update remove v1 runtime tests 8 years ago
window-binding-resize remove v1 runtime tests 8 years ago
window-event update css tests 8 years ago
window-event-context update css tests 8 years ago
window-event-custom update css tests 8 years ago