Tan Li Hau
5dbb08d19b
allow solo for test suite ( #3747 )
5 years ago
Rich Harris
b9f14846b0
Structured code generation ( #3539 )
5 years ago
Conduitry
3c5ccf6ee5
rework attribute selector matching to not use regexes ( #1710 )
5 years ago
Christian Kaisermann
b286fdc26b
Support other atrules ( #2995 )
...
* Add test for @page/@import/@charset/@namespace/@font-face
* Add support for declarations inside at-rules
* Quick formatting adjustment
5 years ago
Conduitry
45a54c1aa4
use bindings when matching attribute selector against element ( #3281 )
6 years ago
Rich Harris
8c1f48f828
Merge pull request #3250 from davemo/fix/1705-root-pseudo-selector-prefix-exemption
...
bugfix: exempt the :root psuedo-selector from the random css prefix
6 years ago
David Mosher
1909bb43d9
bugfix: exempt the :root selector from prefix
...
- the change in #1705 introduced a small bug for users who were relying on assigning global CSS variables via the :root selector
- this change adds a small exemption to avoid prefixing :root with the random prefix that svelte adds
6 years ago
pynnl
c33e4be6dc
fix global keyframes with no elements
6 years ago
Rich Harris
bff7dace5b
Merge branch 'gh-3135' of https://github.com/btk5h/svelte into btk5h-gh-3135
6 years ago
Richard Harris
0fd34b1f41
add scoping attribute for pseudo-class selectors without a type/class - fixes #1705
6 years ago
Bryan Terce
f654dd0ae4
Add tests
6 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
248f55a574
move warnings out of stats
6 years ago
Richard Harris
3953c2dbfc
error on invalid compiler options — closes #2094
6 years ago
Richard Harris
f1d4ff6268
remove onwarn option, just use stats.warnings instead
6 years ago
Rich Harris
206a3d0131
update tests
6 years ago
Rich Harris
687e352209
rename .html files to .svelte
6 years ago
Rich Harris
722e1fd383
get name based on filename
6 years ago
Richard Harris
88c674079b
always use stats.warn instead of options.onwarn - fixes #1918
6 years ago
Rich Harris
48f1f6b4d0
implement `bind:this`
6 years ago
Rich Harris
f45e2b70fd
Implement reactive assignments ( #1839 )
...
This also includes elements of RFCs 2 and 3
6 years ago
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
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
a3add04e7c
remove code, map and cssMap from svelte.compile output
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
00877e8ebd
output { js, css, ast } from svelte.compile - fixes #795
7 years ago
Rich Harris
eae98f952d
add CSS scoping classes when stringifying child nodes - fixes #1223
7 years ago
Rich Harris
3f7f237a9a
switch back to using svelte- instead of name-
7 years ago
Rich Harris
428784d570
Merge branch 'gh-1118' into gh-1118-base36
7 years ago
Rich Harris
2f01115a41
merge master -> gh-1118
7 years ago
Lee Reamsnyder
cbdbff54bf
process code in @supports queries with cascade: false
...
with the cascade: false compiler option, CSS in @supports blocks was getting removed
7 years ago
Rich Harris
1ad28e6fe6
use base36 for style classes
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
f61acd06c6
fix test failure
7 years ago
Rich Harris
0127f9f0ca
change server-side render method signature
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