Commit Graph

66 Commits (8b7ed5aaeafe40d3715e48691ad3d65635dbec68)

Author SHA1 Message Date
Rich Harris b72225a28f rename loc to start, include character info in locations
8 years ago
Rich Harris 6719958169 remove cascade option
8 years ago
Rich Harris 325b5a6c5c update css tests
8 years ago
Rich Harris 75c86887b8 remove code, map and cssMap from svelte.compile output
8 years ago
Rich Harris 2151301716 update tests
8 years ago
Rich Harris 17a20bbe37 add codes to warnings (#474)
8 years ago
Rich-Harris 381356aae7 make CSS DCE case-insensitive - fixes #1269
9 years ago
Rich-Harris b496a2f058 bail out of CSS optimisations on encountering spread - fixes #1300
9 years ago
Rich-Harris 6d47e924c4 output { js, css, ast } from svelte.compile - fixes #795
9 years ago
Rich Harris 7fa6109785 add CSS scoping classes when stringifying child nodes - fixes #1223
9 years ago
Rich Harris f02deae6c2 switch back to using svelte- instead of name-
9 years ago
Rich Harris 12ab482802 Merge branch 'gh-1118' into gh-1118-base36
9 years ago
Rich Harris 7647913591 merge master -> gh-1118
9 years ago
Lee Reamsnyder 67ea9626eb process code in @supports queries with cascade: false
9 years ago
Rich Harris 1bd5d0897c use base36 for style classes
9 years ago
Rich Harris f822a50d3e update more tests
9 years ago
Rich Harris 3053aaeec3 update tests
9 years ago
Rich Harris a69442734d remove empty style blocks in prod mode - fixes #1138
9 years ago
Rich Harris e97d9edbaf fix test failure
9 years ago
Rich Harris f0055e555b change server-side render method signature
9 years ago
Rich Harris 93f6f8edcb Handle empty classes when pruning unused styles - fixes #997
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 66f27ea268 handle unknown at-rules that are declaration-like — fixes #871
9 years ago
Rich Harris a71cade90c move properties out of the template IIFE (#756)
9 years ago
Rich Harris fcca63ae81 reenable all tests, fix some failures
9 years ago
Rich Harris 667a7665a7 handle unquoted attribute values (fixes #798)
9 years ago
Rich Harris 81ba059a8a handle css vars in <style> tags (fixes #757)
9 years ago
Rich Harris 0d8817f2a9 remove leading selectors safely - fixes #783
9 years ago
Rich Harris d75a9dca94 smarter handling of keyframes - fixes #774
9 years ago
Rich Harris 15b481b28e apply encapsulating attributes to correct elements and selector parts (#767)
9 years ago
Rich Harris 213cce6e2c simplify adapted example
9 years ago
Rich Harris de87e1c812 preserve space before non-parenthesized media query expression - fixes #759
9 years ago
Rich Harris aa223cac31 avoid string manipulation bugs by not minifying combinators if cascade: true (#743)
9 years ago
Rich Harris 6f3e37d442 Merge branch 'master' into gh-693
9 years ago
Rich Harris 17a95239b3 support ref:foo as a CSS selector (#693)
9 years ago
Rich Harris 97aaccec65 update jsdom
9 years ago
Rich Harris e1574b195c optimise for ternary expressions when excluding unused css (#696)
9 years ago
Rich Harris cff7fe004b minify css and remove unused styles (#697)
9 years ago
Rich Harris 62c70cce9f move css logic into new Stylesheet class, add CSS sourcemap support
9 years ago
Rich Harris e90ca611c5 fix handling of modified :global(...) selectors
9 years ago
Rich Harris 1926ffa708 fix tests
9 years ago
Rich Harris 0bbc66be28 Merge branch 'gh-678' into gh-679
9 years ago
Rich Harris bd5a09de52 simplify tests
9 years ago
Rich Harris 278c44a234 warn on unused selectors
9 years ago
Rich Harris 11da4841a7 bug fix
9 years ago
Rich Harris 5c3bb52fb9 apply css optimisations to SSR
9 years ago
Rich Harris 13cd7a6820 implement ID selectors, refactor
9 years ago
Rich Harris fbacf3a9ee implement all attribute selector operators
9 years ago
Rich Harris f82da68afc handle ~= attribute selector operator
9 years ago