Commit Graph

46 Commits (b988c9d86ba33a6f9b630ae27b0a89ce1a458812)

Author SHA1 Message Date
Rich Harris 7eaf5dca4d encapsulate local styles inside global ones - fixes #1618
7 years ago
Christian Kaisermann fe9a68d071 Fix prefixed animation name replacement
7 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 9b70523529 rename Generator -> Compiler
7 years ago
Rich Harris f892389b00 no need to clone ast
7 years ago
Rich Harris 1d7366d107 ref selectors
7 years ago
Rich Harris 5722a51d17 fix css expression analysis
7 years ago
Rich Harris 928a4bd58e css fix
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 b86a1edb52 add codes to validation errors
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 00877e8ebd output { js, css, ast } from svelte.compile - fixes #795
7 years ago
James Birtles 4081a8a363 pass node through where possible
7 years ago
James Birtles da6a74016f add end position to errors
7 years ago
Conduitry 92452ef356 separate AST modification into Stylesheet#reify
7 years ago
Conduitry e4032ea543 apply CSS scoping classes directly to AST (WIP)
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 e6c1cdf25b generate a class selector instead of an attribute selector
7 years ago
Rich Harris cfd43f4fa7 remove empty style blocks in prod mode - fixes #1138
7 years ago
Rich Harris 9fbcddf338 base stylesheet.hash on css content, and revert parsed.hash
7 years ago
Rich Harris 36718e79bd
Handle empty classes when pruning unused styles - fixes #997
7 years ago
Rich Harris a8eaa7e95c refactor
7 years ago
Rich Harris d590dbe165
Reinstate code coverage
7 years ago
Johnny Hauser 8edfd643f1 match css attribute name only selectors (no value)
7 years ago
Rich Harris 86a11b547b handle unknown at-rules that are declaration-like — fixes #871
8 years ago
Conduitry 88048188ae update to css-tree@1.0.0-alpha22
8 years ago
Rich Harris f5f35b5a50 scoped styles
8 years ago
Rich Harris 39681565e3 handle unquoted attribute values (fixes #798)
8 years ago
Rich Harris ff2e169b75 handle css vars in <style> tags (fixes #757)
8 years ago
Rich Harris 71f9940f17 remove leading selectors safely - fixes #783
8 years ago
Rich Harris bf4e6ef6b1 smarter handling of keyframes - fixes #774
8 years ago
Rich Harris b2a81fbe46 rename function
8 years ago
Rich Harris c135d0cfab apply encapsulating attributes to correct elements and selector parts (#767)
8 years ago
Rich Harris 9d8f4d341d preserve space before non-parenthesized media query expression - fixes #759
8 years ago
Rich Harris bdb34a243c avoid string manipulation bugs by not minifying combinators if cascade: true (#743)
8 years ago
Rich Harris 82559c3775 support ref:foo as a CSS selector (#693)
8 years ago
Rich Harris 4daa57c67b optimise for ternary expressions when excluding unused css (#696)
8 years ago
Rich Harris 7b1299904b minify css and remove unused styles (#697)
8 years ago
Rich Harris 1271510d00 better CSS sourcemaps
8 years ago
Rich Harris a274a10e99 tidy up
8 years ago
Rich Harris 45039e9612 move Stylesheet
8 years ago