Commit Graph

121 Commits (5ccfc3c5d7a29fe6df1cb109df8d0e7868d0ea51)

Author SHA1 Message Date
Rich Harris f45e2b70fd
Implement reactive assignments (#1839)
6 years ago
Rich Harris 7eaf5dca4d encapsulate local styles inside global ones - fixes #1618
6 years ago
Christian Kaisermann fe9a68d071 Fix prefixed animation name replacement
6 years ago
Christian Kaisermann 877fbeffec Make the compiler also transform prefixed @keyframes
6 years ago
Conduitry 2b3e9a3523 use CSS classes for ref:* selectors (#1230)
6 years ago
Rich Harris 5a457bfb87 rename loc to start, include character info in locations
6 years ago
Rich Harris 87a8e37150 remove cascade option
6 years ago
Rich Harris 40e6b4fc11 update css tests
6 years ago
Rich Harris a3add04e7c remove code, map and cssMap from svelte.compile output
6 years ago
Rich Harris 5a245b2871 update tests
6 years ago
Rich Harris f0b2cb99f2 add codes to warnings (#474)
6 years ago
Rich-Harris ee01fb58c6 make CSS DCE case-insensitive - fixes #1269
6 years ago
Rich-Harris d6b8ca3fdb bail out of CSS optimisations on encountering spread - fixes #1300
6 years ago
Rich-Harris 00877e8ebd output { js, css, ast } from svelte.compile - fixes #795
6 years ago
Rich Harris eae98f952d add CSS scoping classes when stringifying child nodes - fixes #1223
6 years ago
Rich Harris 3f7f237a9a switch back to using svelte- instead of name-
6 years ago
Rich Harris 428784d570 Merge branch 'gh-1118' into gh-1118-base36
6 years ago
Rich Harris 2f01115a41 merge master -> gh-1118
6 years ago
Lee Reamsnyder cbdbff54bf process code in @supports queries with cascade: false
6 years ago
Rich Harris 1ad28e6fe6 use base36 for style classes
6 years ago
Rich Harris 81743a2562 update more tests
6 years ago
Rich Harris 9971283671 update tests
6 years ago
Rich Harris cfd43f4fa7 remove empty style blocks in prod mode - fixes #1138
7 years ago
Rich Harris f61acd06c6 fix test failure
7 years ago
Rich Harris 0127f9f0ca change server-side render method signature
7 years ago
Rich Harris 36718e79bd
Handle empty classes when pruning unused styles - fixes #997
7 years ago
Johnny Hauser 97d8125030 test attribute only selector when html is also attribute only
7 years ago
Johnny Hauser f8ac12c57b test for attribute name only selector
7 years ago
Rich Harris 86a11b547b handle unknown at-rules that are declaration-like — fixes #871
7 years ago
Rich Harris 2865a98e57 move properties out of the template IIFE (#756)
7 years ago
Rich Harris 7c6ea13689 reenable all tests, fix some failures
7 years ago
Rich Harris 39681565e3 handle unquoted attribute values (fixes #798)
7 years ago
Rich Harris ff2e169b75 handle css vars in <style> tags (fixes #757)
7 years ago
Rich Harris 71f9940f17 remove leading selectors safely - fixes #783
7 years ago
Rich Harris bf4e6ef6b1 smarter handling of keyframes - fixes #774
7 years ago
Rich Harris c135d0cfab apply encapsulating attributes to correct elements and selector parts (#767)
7 years ago
Rich Harris 1f7349c5be simplify adapted example
7 years ago
Rich Harris 9d8f4d341d preserve space before non-parenthesized media query expression - fixes #759
7 years ago
Rich Harris bdb34a243c avoid string manipulation bugs by not minifying combinators if cascade: true (#743)
7 years ago
Rich Harris 778a03e2c6 Merge branch 'master' into gh-693
7 years ago
Rich Harris 82559c3775 support ref:foo as a CSS selector (#693)
7 years ago
Rich Harris 46cb2a4da3 update jsdom
7 years ago
Rich Harris 4daa57c67b optimise for ternary expressions when excluding unused css (#696)
7 years ago
Rich Harris 7b1299904b minify css and remove unused styles (#697)
7 years ago
Rich Harris 4639b8d349 move css logic into new Stylesheet class, add CSS sourcemap support
7 years ago
Rich Harris 7a752df55d fix handling of modified :global(...) selectors
7 years ago
Rich Harris 0c33eb4b1b fix tests
7 years ago
Rich Harris 12907594cd Merge branch 'gh-678' into gh-679
7 years ago
Rich Harris 2c9fb31a9e simplify tests
7 years ago
Rich Harris 205bcfac7e warn on unused selectors
7 years ago
Rich Harris f79e901429 bug fix
7 years ago
Rich Harris 2ec0a850fc apply css optimisations to SSR
7 years ago
Rich Harris 7b289e95f1 implement ID selectors, refactor
7 years ago
Rich Harris 45dd99d6db implement all attribute selector operators
7 years ago
Rich Harris 3dfe92b54f handle ~= attribute selector operator
7 years ago
Rich Harris 74d15ea877 handle empty attributes
7 years ago
Rich Harris d2f5296bd9 handle attribute selectors with = operator
7 years ago
Rich Harris b72684e99c handle universal selectors
7 years ago
Rich Harris 5499327a70 refactoring, and more :global(...) fixes
7 years ago
Rich Harris d9aa3ec5ae more :global(...) handling
7 years ago
Rich Harris f97ac27e2a handle :global(...) styles
7 years ago
Rich Harris ab40007406 move CSS analysis into preprocess
7 years ago
Rich Harris fae9036ce6 only apply svelte-123xyz attributes where necessary (WIP)
7 years ago
Rich Harris 0cbd201200 set up tests for omitted scoping attributes
7 years ago
Rich Harris 21a8b1dd06 fix tests
7 years ago
Rich Harris b07f303780 put attribute selector before pseudo-class selector - fixes #658
7 years ago
Rich Harris 10ecd81734 prettierfy test files
7 years ago
Rich Harris 7b99d47215 add cascade option, to prevent components inheriting styles (#583)
7 years ago
Rich-Harris a85b6002a7 test @rules in css
7 years ago
Rich-Harris b5d4b78a80 renable tests
7 years ago
Rich-Harris 1308907f67 include css in compiler output (#409)
7 years ago