Commit Graph

953 Commits (554145b9ce0d8dc4a196045345f6b03cdfee0315)

Author SHA1 Message Date
Rich Harris 900bbd1c0a Merge branch 'm59peacemaker-oncreate-async-#904'
9 years ago
Rich Harris 4ff3a8693b skip async-await tests below node 8
9 years ago
Johnny Hauser ef0ad5f5f5 oncreate async tests (function, arrow, arrow block)
9 years ago
Johnny Hauser fa5a02774b test attribute only selector when html is also attribute only
9 years ago
Johnny Hauser 41f942e828 test for attribute name only selector
9 years ago
Rich Harris 7685f70a95 add test for #891
9 years ago
Rich Harris 620b29f88e Merge branch 'patch-1' of https://github.com/petterek/svelte into petterek-patch-1
9 years ago
Rich Harris 562315c123 possible fix for #893
9 years ago
Rich Harris 9e8cf22a47 Merge pull request #900 from sveltejs/event-handler-options-callee
9 years ago
Conduitry 0c76aff62a allow options.* as event handler callee
9 years ago
Conduitry 6af2d95191 add failing test for each block updates
9 years ago
Conduitry bb311d8d22 update tests
9 years ago
Jacob Mischka 0984e80fad Remove Object.entries from test
9 years ago
Jacob Mischka cc4c5d36fb Add missing runtime test, add contexts to SSR
9 years ago
Jacob Mischka 03a13d0527 Add array destructuring for each contexts
9 years ago
Rich Harris 4dca1ca08d Merge pull request #874 from sveltejs/gh-871
9 years ago
Rich Harris 66f27ea268 handle unknown at-rules that are declaration-like — fixes #871
9 years ago
Rich Harris 261f38ff79 escape backslashes in CSS for custom elements - fixes #872
9 years ago
Conduitry 00856b412b more testing
9 years ago
Conduitry 8ed5a71fef expand unit test
9 years ago
Rich Harris bcfe487f9e merge master -> no-template-iife
9 years ago
Rich Harris 22e4d0c5a0 Merge branch 'master' into short-method-names
9 years ago
Rich Harris 5f76cad961 fix escaping of %-prefixed names
9 years ago
Rich Harris aed2e2be6d exclude irrelevant stuff from SSR output
9 years ago
Rich Harris 29c954487b fix indentation, update snapshot tests
9 years ago
Rich Harris a71cade90c move properties out of the template IIFE (#756)
9 years ago
Rich Harris e90daceb45 take template object out of IIFE
9 years ago
Rich Harris d100014327 merge master -> gh-23
9 years ago
Rich Harris 14e1c20dee dont wrap ESM in IIFE
9 years ago
Rich Harris 1934d82dd7 merge master => iife
9 years ago
Rich Harris b6a5994ce7 use short method names
9 years ago
Rich Harris c4a3017d13 remove unused destroyEach and destroy arguments
9 years ago
Rich Harris c765ec6acc simplify module wrapping
9 years ago
Rich Harris 8f5303ad30 Merge branch 'master' into iife
9 years ago
Rich Harris 2a689ee40b Merge pull request #854 from sveltejs/gh-782
9 years ago
Rich Harris 9021b8524f Merge branch 'master' into gh-23
9 years ago
Rich Harris 4564b9a04b update validation message
9 years ago
Rich Harris e2a9b7aa90 shorten each block var names
9 years ago
Rich Harris b9327d095d more readable each block values
9 years ago
Rich Harris 990a8f27d0 remove incorrect argument
9 years ago
Rich Harris 309ff0fe35 use textContent and innerHTML where appropriate (#23)
9 years ago
Rich Harris e5e6783879 fix test
9 years ago
Rich Harris 2429d93f52 various fixes
9 years ago
Rich Harris 4ccf1ea7b0 wrap ES modules in an IIFE
9 years ago
Rich Harris 7fdabf38f5 update tests
9 years ago
Rich Harris 86d6e91920 Merge pull request #856 from sveltejs/remove-is-initial
9 years ago
Rich Harris 35881b0829 Merge branch 'master' into static-components
9 years ago
Rich Harris 54ae5f1dcb remove version numbers from snapshot tests
9 years ago
Rich Harris fd2d1ad645 dont update components with only static bindings
9 years ago
Rich Harris c4623c8e20 update snapshot tests
9 years ago
Rich Harris fbc4524599 remove excess parentheses
9 years ago
Rich Harris e59a12a6b1 merge master -> shared-init
9 years ago
Rich Harris 7a41c694e6 Merge pull request #853 from sveltejs/gh-823
9 years ago
Rich Harris c54e461786 update tests
9 years ago
Rich Harris c47d2bd88d extract some shared init logic
9 years ago
Rich Harris cd33f05704 Merge pull request #852 from sveltejs/gh-849
9 years ago
Rich Harris c8ce6feb65 Merge pull request #851 from sveltejs/gh-850
9 years ago
Rich Harris 8d7a8829dc allow console.* calls in event handlers. fixes #782
9 years ago
Rich Harris ddbcebab43 put version comment above imports
9 years ago
Rich Harris ef787b84c9 add debugging comments
9 years ago
Rich Harris 3fc667b18a compile time error on slotted content inside if/each blocks. closes #849
9 years ago
Rich Harris 71a315f818 use anchor.parentNode as target instead of slot document fragment - fixes #850
9 years ago
Rich Harris baa4dbf640 typo
9 years ago
Rich Harris 33d374d5f1 failing test for #850
9 years ago
Rich Harris 0f7a08a8ca Merge pull request #847 from sveltejs/gh-827
9 years ago
Rich Harris c7b8c98e5e Merge branch 'master' into gh-827
9 years ago
Rich Harris de2aaaab5c escape shadow DOM CSS - fixes #840
9 years ago
Rich Harris f8be8f5a13 dont use skipped text nodes as anchors - fixes #843
9 years ago
P 88418b318b Change let -> var, solves #838
9 years ago
Rich Harris 879b6b3d0d use anchors for slotted content - fixes #822
9 years ago
Rich Harris a18c7c8cc3 Merge pull request #833 from sveltejs/nightmare
9 years ago
Rich Harris 630aa04603 increase timeout
9 years ago
Rich Harris 63d65d87ea reenable all tests
9 years ago
Rich Harris 3dd32b9fc2 use nightmare to test custom element stuff
9 years ago
Rich Harris 0c957496f3 remove requestAnimationFrame stuff, convert time ranges to {start, end} objects
9 years ago
Rich Harris 32a2ddc1af failing test for #827
9 years ago
Rich Harris 7d447bff86 add snapshot test for #830
9 years ago
Conduitry ee4a4a8eb0 fix a11y-html-has-lang unit test
9 years ago
Rich Harris aae316ce4f Update input.html
9 years ago
jpsc a40d6dbc69 feat(a11y): add warning missing lang on html tag
9 years ago
Rich Harris fcca63ae81 reenable all tests, fix some failures
9 years ago
Rich Harris 7f5eb2a86a tabindex-no-positive
9 years ago
Rich Harris 688dbdf102 scope
9 years ago
Rich Harris 864bdd90fd no-distracting-elements
9 years ago
Rich Harris 97686302b8 no-autofocus
9 years ago
Rich Harris 275a3ec460 no-access-key
9 years ago
Rich Harris 636016b26c heading-has-content
9 years ago
Rich Harris 3fce4d400f aria-role
9 years ago
Rich Harris 9f2481c90b aria-props
9 years ago
Rich Harris 9f3f35e37b update some tests
9 years ago
Rich Harris 6842c37ab6 anchor-is-valid
9 years ago
Rich Harris defa982029 anchor-has-content
9 years ago
Rich Harris 9e1ae7202c a11y checks (#374)
9 years ago
Rich Harris c430094b36 Merge pull request #814 from sveltejs/gh-645
9 years ago
Rich Harris 9db4e7a5ef remove redundant input blowback guard - closes #645
9 years ago
Rich Harris 2654f6a2c0 Merge branch 'master' into gh-781
9 years ago
Rich Harris bc69c67e23 more consistent style for generated code
9 years ago
Rich Harris 99f9e6a4c1 use component name in runtime dev warnings - fixes #781
9 years ago
Rich Harris 62764624c6 merge master -> gh-797
9 years ago
Rich Harris 25bac688bc Merge branch 'master' into gh-797
9 years ago
Rich Harris b4b4197032 handly directly instantiated custom elements, and slots
9 years ago
Rich Harris 155a6327cf use helper for setting styles
9 years ago
Rich Harris 9e5f871550 update tests
9 years ago
Rich Harris cbfc609064 scoped styles
9 years ago
Rich Harris aee6d4ade7 update tests
9 years ago
Rich Harris 440bdbe1e0 basic custom element generation (#797)
9 years ago
Rich Harris 3d487264ff handle url(...) and quoted values
9 years ago
Rich Harris f555a6f7f0 optimize style attributes
9 years ago
Rich Harris 179f7b47e2 prevent mutation bug from incorrectly calling observer (fixes #804)
9 years ago
Rich Harris 8f31f96edc dont noop set/get until after component is destroyed (fixes #788)
9 years ago
Rich Harris 7b859cfaa8 stack up append targets so that slotted content in nested components works in SSR mode (fixes #801)
9 years ago
Rich Harris 0cfc67ca11 only use noscript if necessary
9 years ago
Rich Harris f9cc92e340 Merge branch 'tidy-up' into gh-637
9 years ago
Rich Harris f63616903e failing tests for #637
9 years ago
Rich Harris 667a7665a7 handle unquoted attribute values (fixes #798)
9 years ago
Rich Harris eb4b22b898 Merge pull request #796 from sveltejs/gh-757
9 years ago
Rich Harris db3c7abec4 Merge pull request #794 from sveltejs/gh-550
9 years ago
Rich Harris 6b4f90d4e1 Merge pull request #793 from sveltejs/gh-791
9 years ago
Rich Harris 81ba059a8a handle css vars in <style> tags (fixes #757)
9 years ago
Rich Harris 47b10a184a remove test of instantiation without options, its nonsensical
9 years ago
Rich Harris e759dad2cd update snapshot tests
9 years ago
Rich Harris 72fd1228c7 attach options to component (#550)
9 years ago
Rich Harris da1c3b3a98 error if component has transition (fixes #791)
9 years ago
Rich Harris be6e778a53 support nested <slot> elements
9 years ago
Rich Harris e5d0958ab4 Merge pull request #787 from sveltejs/gh-763
9 years ago
Rich Harris 3a5054dd58 remove comments from HTML to be normalized, fixes final test
9 years ago
Rich Harris fd8f6f5f09 dont actually render <slot> elements
9 years ago
Rich Harris 9190990ed9 only add this._slotted if necessary
9 years ago
Rich Harris c1eda75ba0 wrap fallback hydration code in conditional
9 years ago
Rich Harris e0b173ebde validation
9 years ago
Rich Harris ec30e3dfa8 fallback content
9 years ago
Rich Harris 906daf3514 populate component.slots
9 years ago
Rich Harris e49183e91b server-side named slots
9 years ago
Rich Harris 70cbb6a3c7 client-side named slots
9 years ago
Rich Harris 25f08b215f replace {{yield}} with <slot/>
9 years ago
Rich Harris 5e6cd3dfa8 Merge pull request #786 from sveltejs/gh-783
9 years ago
Rich Harris 0d8817f2a9 remove leading selectors safely - fixes #783
9 years ago
Rich Harris 224a3c0e96 start work on <slot>
9 years ago
Andrew Worcester 186fa2701f updated tests to reflect anchor change
9 years ago
Rich Harris af88c030eb add legacy option, use it for setInputType (#773)
9 years ago
Rich Harris 4da59be023 Merge pull request #775 from sveltejs/gh-774
9 years ago
Rich Harris d75a9dca94 smarter handling of keyframes - fixes #774
9 years ago
Rich Harris 5b28edf156 tidy up
9 years ago
Rich Harris d02c468834 update component bindings together. WIP
9 years ago
Rich Harris 15b481b28e apply encapsulating attributes to correct elements and selector parts (#767)
9 years ago
Rich Harris f63a07f139 we can now do changed.foo instead of "foo" in changed - is faster and smaller
9 years ago
Rich Harris dd8cc8c194 tidy up, dedupe a bit
9 years ago
Rich Harris 2f0abaa719 apply optimisation to raw tags
9 years ago
Rich Harris d07af2a0c5 fix select edge case
9 years ago
Rich Harris 8faa01ad5c only cache values when it makes sense
9 years ago