0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
Commit Graph

49 Commits

Author SHA1 Message Date
Rich Harris
cfd43f4fa7 remove empty style blocks in prod mode - fixes #1138 2018-02-03 18:00:08 -05:00
Rich Harris
f61acd06c6 fix test failure 2018-01-18 21:31:38 -05:00
Rich Harris
0127f9f0ca change server-side render method signature 2017-12-13 09:28:29 -05:00
Rich Harris
36718e79bd
Handle empty classes when pruning unused styles - fixes #997 2017-12-10 10:01:26 -05:00
Johnny Hauser
97d8125030 test attribute only selector when html is also attribute only 2017-10-24 23:15:32 -05:00
Johnny Hauser
f8ac12c57b test for attribute name only selector 2017-10-24 22:54:23 -05:00
Rich Harris
86a11b547b handle unknown at-rules that are declaration-like — fixes #871 2017-09-27 14:21:00 -04:00
Rich Harris
2865a98e57 move properties out of the template IIFE (#756) 2017-09-19 16:24:03 -04:00
Rich Harris
7c6ea13689 reenable all tests, fix some failures 2017-09-03 18:50:01 -04:00
Rich Harris
39681565e3 handle unquoted attribute values (fixes #798) 2017-08-29 20:24:22 -04:00
Rich Harris
ff2e169b75 handle css vars in <style> tags (fixes #757) 2017-08-29 09:21:26 -04:00
Rich Harris
71f9940f17 remove leading selectors safely - fixes #783 2017-08-25 17:40:35 -04:00
Rich Harris
bf4e6ef6b1 smarter handling of keyframes - fixes #774 2017-08-15 22:10:03 -04:00
Rich Harris
c135d0cfab apply encapsulating attributes to correct elements and selector parts (#767) 2017-08-14 14:34:35 -04:00
Rich Harris
1f7349c5be simplify adapted example 2017-08-13 14:07:19 -04:00
Rich Harris
9d8f4d341d preserve space before non-parenthesized media query expression - fixes #759 2017-08-13 14:04:59 -04:00
Rich Harris
bdb34a243c avoid string manipulation bugs by not minifying combinators if cascade: true (#743) 2017-08-03 22:32:27 -04:00
Rich Harris
778a03e2c6 Merge branch 'master' into gh-693 2017-08-03 22:16:24 -04:00
Rich Harris
82559c3775 support ref:foo as a CSS selector (#693) 2017-07-30 14:28:08 -04:00
Rich Harris
46cb2a4da3 update jsdom 2017-07-29 22:26:22 -04:00
Rich Harris
4daa57c67b optimise for ternary expressions when excluding unused css (#696) 2017-07-29 20:01:23 -04:00
Rich Harris
7b1299904b minify css and remove unused styles (#697) 2017-07-29 15:51:15 -04:00
Rich Harris
4639b8d349 move css logic into new Stylesheet class, add CSS sourcemap support 2017-07-07 18:06:42 -04:00
Rich Harris
7a752df55d fix handling of modified :global(...) selectors 2017-07-05 11:13:12 -04:00
Rich Harris
0c33eb4b1b fix tests 2017-07-03 18:06:11 -04:00
Rich Harris
12907594cd Merge branch 'gh-678' into gh-679 2017-07-03 17:38:53 -04:00
Rich Harris
2c9fb31a9e simplify tests 2017-07-03 17:34:26 -04:00
Rich Harris
205bcfac7e warn on unused selectors 2017-07-03 16:38:36 -04:00
Rich Harris
f79e901429 bug fix 2017-07-02 09:22:36 -04:00
Rich Harris
2ec0a850fc apply css optimisations to SSR 2017-07-01 23:27:02 -04:00
Rich Harris
7b289e95f1 implement ID selectors, refactor 2017-07-01 16:33:11 -04:00
Rich Harris
45dd99d6db implement all attribute selector operators 2017-07-01 16:11:38 -04:00
Rich Harris
3dfe92b54f handle ~= attribute selector operator 2017-07-01 15:42:52 -04:00
Rich Harris
74d15ea877 handle empty attributes 2017-07-01 15:25:55 -04:00
Rich Harris
d2f5296bd9 handle attribute selectors with = operator 2017-07-01 15:17:39 -04:00
Rich Harris
b72684e99c handle universal selectors 2017-07-01 13:57:54 -04:00
Rich Harris
5499327a70 refactoring, and more :global(...) fixes 2017-07-01 12:14:18 -04:00
Rich Harris
d9aa3ec5ae more :global(...) handling 2017-07-01 00:49:18 -04:00
Rich Harris
f97ac27e2a handle :global(...) styles 2017-06-30 10:27:09 -04:00
Rich Harris
ab40007406 move CSS analysis into preprocess 2017-06-27 10:45:10 -04:00
Rich Harris
fae9036ce6 only apply svelte-123xyz attributes where necessary (WIP) 2017-06-26 10:36:13 -04:00
Rich Harris
0cbd201200 set up tests for omitted scoping attributes 2017-06-26 08:09:41 -04:00
Rich Harris
21a8b1dd06 fix tests 2017-06-25 12:57:27 -04:00
Rich Harris
b07f303780 put attribute selector before pseudo-class selector - fixes #658 2017-06-23 08:47:51 -04:00
Rich Harris
10ecd81734 prettierfy test files 2017-06-02 22:04:36 -04:00
Rich Harris
7b99d47215 add cascade option, to prevent components inheriting styles (#583) 2017-05-29 13:45:18 -04:00
Rich-Harris
a85b6002a7 test @rules in css 2017-05-04 11:23:49 -04:00
Rich-Harris
b5d4b78a80 renable tests 2017-03-28 15:13:32 -04:00
Rich-Harris
1308907f67 include css in compiler output (#409) 2017-03-28 14:57:00 -04:00