Commit Graph

79 Commits (fe003b57cb3076c1fc7d94b45a79ff397733186a)

Author SHA1 Message Date
Conduitry be9b79f805
fix detection of unused partially global CSS selectors (#4332)
5 years ago
Conduitry e4460e38ba
fix '~=' and class selectors with arbitrary whitespace (#4286)
5 years ago
Tan Li Hau c0dab9fefb fix css specificity (#4146)
5 years ago
Tan Li Hau b22abc7936 fix undefined class with scoped-css
5 years ago
Tan Li Hau 798a47b1da feat unused css selector understands string concat
5 years ago
Rich Harris b59c942e5a
Revert "remove empty value declaration from style tree"
5 years ago
Tan Li Hau 1a476d4580 remove empty value declaration from style tree
5 years ago
Jesse Skinner b6798e5221 allow multiple ancestors to be scoped with class (#3544)
5 years ago
Conduitry 3c5ccf6ee5
rework attribute selector matching to not use regexes (#1710)
5 years ago
Christian Kaisermann b286fdc26b Support other atrules (#2995)
5 years ago
Conduitry 45a54c1aa4 use bindings when matching attribute selector against element (#3281)
5 years ago
Rich Harris 8c1f48f828
Merge pull request #3250 from davemo/fix/1705-root-pseudo-selector-prefix-exemption
5 years ago
David Mosher 1909bb43d9 bugfix: exempt the :root selector from prefix
5 years ago
pynnl c33e4be6dc fix global keyframes with no elements
5 years ago
Rich Harris bff7dace5b Merge branch 'gh-3135' of https://github.com/btk5h/svelte into btk5h-gh-3135
5 years ago
Richard Harris 0fd34b1f41 add scoping attribute for pseudo-class selectors without a type/class - fixes #1705
5 years ago
Bryan Terce f654dd0ae4
Add tests
5 years ago
Richard Harris 234db33eb4 add test for class: directive special characters
6 years ago
Richard Harris 80ce72362b update css tests
6 years ago
Richard Harris 3953c2dbfc error on invalid compiler options — closes #2094
6 years ago
Rich Harris 206a3d0131 update tests
6 years ago
Rich Harris 687e352209 rename .html files to .svelte
6 years ago
Rich Harris 48f1f6b4d0
implement `bind:this`
6 years ago
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
7 years ago
Conduitry 2b3e9a3523 use CSS classes for ref:* selectors (#1230)
7 years ago
Rich Harris 5a457bfb87 rename loc to start, include character info in locations
7 years ago
Rich Harris 87a8e37150 remove cascade option
7 years ago
Rich Harris 40e6b4fc11 update css tests
7 years ago
Rich Harris 5a245b2871 update tests
7 years ago
Rich Harris f0b2cb99f2 add codes to warnings (#474)
7 years ago
Rich-Harris ee01fb58c6 make CSS DCE case-insensitive - fixes #1269
7 years ago
Rich-Harris d6b8ca3fdb bail out of CSS optimisations on encountering spread - fixes #1300
7 years ago
Rich Harris eae98f952d add CSS scoping classes when stringifying child nodes - fixes #1223
7 years ago
Rich Harris 2f01115a41 merge master -> gh-1118
7 years ago
Lee Reamsnyder cbdbff54bf process code in @supports queries with cascade: false
7 years ago
Rich Harris 81743a2562 update more tests
7 years ago
Rich Harris 9971283671 update tests
7 years ago
Rich Harris cfd43f4fa7 remove empty style blocks in prod mode - fixes #1138
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 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