Commit Graph

48 Commits (97acdbe30ed805dfbeb8aae2b288412643377428)

Author SHA1 Message Date
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 7fa6109785 add CSS scoping classes when stringifying child nodes - fixes #1223
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 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 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 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 17a95239b3 support ref:foo as a CSS selector (#693)
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 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
Rich Harris 6196d80e5c handle empty attributes
9 years ago
Rich Harris 07d102717d handle attribute selectors with = operator
9 years ago
Rich Harris ffea4201e0 handle universal selectors
9 years ago
Rich Harris 03271b176e refactoring, and more :global(...) fixes
9 years ago
Rich Harris 1b9b12b7a4 more :global(...) handling
9 years ago
Rich Harris afbef75516 handle :global(...) styles
9 years ago
Rich Harris 22e33a7c8c move CSS analysis into preprocess
9 years ago
Rich Harris f644807e7a only apply svelte-123xyz attributes where necessary (WIP)
9 years ago
Rich Harris 88ec5aee90 fix tests
9 years ago
Rich Harris 47da5f9038 put attribute selector before pseudo-class selector - fixes #658
9 years ago
Rich Harris ac83b405a6 add cascade option, to prevent components inheriting styles (#583)
9 years ago
Rich-Harris 21371b2362 test @rules in css
9 years ago
Rich-Harris 588872cf40 include css in compiler output (#409)
10 years ago