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

57 Commits

Author SHA1 Message Date
Rich Harris
48f1f6b4d0
implement bind:this 2018-12-16 09:26:53 -05:00
Rich Harris
f45e2b70fd
Implement reactive assignments (#1839)
This also includes elements of RFCs 2 and 3
2018-12-15 19:18:03 -05:00
Rich Harris
7eaf5dca4d encapsulate local styles inside global ones - fixes #1618 2018-08-04 16:54:23 -04:00
Christian Kaisermann
fe9a68d071 Fix prefixed animation name replacement 2018-06-22 15:00:54 -03:00
Christian Kaisermann
877fbeffec Make the compiler also transform prefixed @keyframes 2018-05-27 16:19:58 -03:00
Conduitry
2b3e9a3523 use CSS classes for ref:* selectors (#1230) 2018-05-25 07:19:53 -04:00
Rich Harris
5a457bfb87 rename loc to start, include character info in locations 2018-04-16 21:50:57 -04:00
Rich Harris
87a8e37150 remove cascade option 2018-04-15 23:53:17 -04:00
Rich Harris
40e6b4fc11 update css tests 2018-04-15 23:33:33 -04:00
Rich Harris
5a245b2871 update tests 2018-04-14 21:58:28 -04:00
Rich Harris
f0b2cb99f2 add codes to warnings (#474) 2018-04-14 21:38:37 -04:00
Rich-Harris
ee01fb58c6 make CSS DCE case-insensitive - fixes #1269 2018-04-04 08:42:39 -04:00
Rich-Harris
d6b8ca3fdb bail out of CSS optimisations on encountering spread - fixes #1300 2018-04-04 06:46:53 -04:00
Rich Harris
eae98f952d add CSS scoping classes when stringifying child nodes - fixes #1223 2018-03-12 11:25:11 -04:00
Rich Harris
2f01115a41 merge master -> gh-1118 2018-03-07 21:04:09 -05:00
Lee Reamsnyder
cbdbff54bf process code in @supports queries with cascade: false
with the cascade: false compiler option, CSS in @supports blocks was getting removed
2018-03-04 13:38:43 -05:00
Rich Harris
81743a2562 update more tests 2018-02-24 18:37:59 -05:00
Rich Harris
9971283671 update tests 2018-02-24 15:26:57 -05:00
Rich Harris
cfd43f4fa7 remove empty style blocks in prod mode - fixes #1138 2018-02-03 18:00:08 -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
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
82559c3775 support ref:foo as a CSS selector (#693) 2017-07-30 14:28:08 -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
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