file_path
stringlengths
3
280
file_language
stringclasses
66 values
content
stringlengths
1
1.04M
repo_name
stringlengths
5
92
repo_stars
int64
0
154k
repo_description
stringlengths
0
402
repo_primary_language
stringclasses
108 values
developer_username
stringlengths
1
25
developer_name
stringlengths
0
30
developer_company
stringlengths
0
82
crates/swc_css_codegen/tests/fixture/at-rules/supports/1/input.css
CSS
@supports (display: flex) { h1 { color: hotpink; } } @supports not (display: grid) { div { float: right; } } @supports not (not (transform-origin: 2px)) {} @supports (display: grid) and (not (display: inline-grid)) {} @supports not (not (display: flex)) { body { background:...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/supports/1/output.css
CSS
@supports (display: flex) { h1 { color: hotpink; } } @supports not (display: grid) { div { float: right; } } @supports not (not (transform-origin: 2px)) {} @supports (display: grid) and (not (display: inline-grid)) {} @supports not (not (display: flex)) { body { background: red; } } @supports no...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/supports/1/output.min.css
CSS
@supports(display:flex){h1{color:hotpink}}@supports not (display:grid){div{float:right}}@supports not (not (transform-origin:2px)){}@supports(display:grid)and (not (display:inline-grid)){}@supports not (not (display:flex)){body{background:red}}@supports not (not (not (not (display:flex)))){body{background:red}}@support...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/supports/2/input.css
CSS
@supports (--foo: ) { html { background: green; } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/supports/2/output.css
CSS
@supports (--foo: ) { html { background: green; } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/supports/2/output.min.css
CSS
@supports(--foo: ){html{background:green}}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/supports/3/input.css
CSS
@supports ( --x : y , z ) { a { color: red; } } @supports ( --x : ) { a { color: red; } } @supports (--x: ) { a { color: red; } } @supports ( --x y , z ) { a { color: red; } } @supports ( --x ) { a { color: red; } } @supports ( ) { a { color: red; } } @supports ( . --x : y , z ) { a { color: red; } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/supports/3/output.css
CSS
@supports (--x: y , z) { a { color: red; } } @supports (--x: ) { a { color: red; } } @supports (--x: ) { a { color: red; } } @supports ( --x y , z ) { a { color: red; } } @supports ( --x ) { a { color: red; } } @supports ( ) { a { color: red; } } @supports ( . --x : y , z...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/supports/3/output.min.css
CSS
@supports(--x:y , z){a{color:red}}@supports(--x: ){a{color:red}}@supports(--x: ){a{color:red}}@supports( --x y , z ){a{color:red}}@supports( --x ){a{color:red}}@supports ( ) {a{color:red}}@supports ( . --x : y , z ) {a{color:red}}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/unknown/input.css
CSS
@unknown {} @unknown url(image.png) {} @unknown url( image.png ) {} @unknown url("image.png") {} @unknown url( image.png img ) {} @unknown url( image.png"" img ) {} @unknown url( image.png\ img ) {} @unknown url( image.png\) ) {} @unknown; @unknown x; @unknown x{} @unknown x {} @unknown{} @unknow...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/unknown/output.css
CSS
@unknown {} @unknown url(image.png) {} @unknown url( image.png ) {} @unknown url("image.png") {} @unknown url( image.png img ) {} @unknown url( image.png"" img ) {} @unknown url( image.png\ img ) {} @unknown url( image.png\) ) {} @unknown; @unknown x; @unknown x{} @unknown x {} @unknown{} @unknown...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/unknown/output.min.css
CSS
@unknown {}@unknown url(image.png) {}@unknown url( image.png ) {}@unknown url("image.png") {}@unknown url( image.png img ) {}@unknown url( image.png"" img ) {}@unknown url( image.png\ img ) {}@unknown url( image.png\) ) {}@unknown;@unknown x;@unknown x{}@unknown x {}@unknown{}@unknown{a: b; c: d;}...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/viewport/1/input.css
CSS
@viewport { width: 100vw; /*Sets the width of the actual viewport to the device width*/ } @viewport { min-width: 640px; max-width: 800px; } @viewport { zoom: 0.75; min-zoom: 0.5; max-zoom: 0.9; } @viewport { orientation: landscape; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/viewport/1/output.css
CSS
@viewport{ width: 100vw; } @viewport{ min-width: 640px; max-width: 800px; } @viewport{ zoom: 0.75; min-zoom: 0.5; max-zoom: 0.9; } @viewport{ orientation: landscape; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/at-rules/viewport/1/output.min.css
CSS
@viewport{width:100vw}@viewport{min-width:640px;max-width:800px}@viewport{zoom:.75;min-zoom:.5;max-zoom:.9}@viewport{orientation:landscape}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/declaration/basic/input.css
CSS
* { unknown: x (a+b) } * { unknown: x (a-b) } * { unknown: x (a,b) } /* TODO: FIX ME */ /** { unknown: x ( a + b ) }*/ /** { unknown: x ( a - b ) }*/ /** { unknown: x ( a , b ) }*/ a { b: c, d } a { b: c, (d, e) } a { b: c, d, e } a { b: c, (d, e), f }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/declaration/basic/output.css
CSS
* { unknown: x (a+b); } * { unknown: x (a-b); } * { unknown: x (a,b); } a { b: c, d; } a { b: c, (d,e); } a { b: c, d, e; } a { b: c, (d,e), f; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/declaration/basic/output.min.css
CSS
*{unknown:x (a+b)}*{unknown:x (a-b)}*{unknown:x (a,b)}a{b:c,d}a{b:c,(d,e)}a{b:c,d,e}a{b:c,(d,e),f}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/declaration/custom-properties/input.css
CSS
div { --y: /* baz */; --x: /* foo */ var(--y) /* bar */; --z: 0px; --foo: if(x > 5) this.width = 10; --bar: ; --bar2:; --yz: foo !important ; } div { width: var(--a, ) } .motion-safe\:shadow-md { --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / ...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/declaration/custom-properties/output.css
CSS
div { --y: ; --x: var(--y); --z: 0px; --foo: if(x > 5) this.width = 10; --bar: ; --bar2: ; --yz: foo!important; } div { width: var(--a,); } .motion-safe\:shadow-md { --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); --tw-shadow-1: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/declaration/custom-properties/output.min.css
CSS
div{--y: ;--x:var(--y);--z:0px;--foo:if(x > 5) this.width = 10;--bar: ;--bar2: ;--yz:foo!important}div{width:var(--a,)}.motion-safe\:shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-1:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/declaration/important/input.css
CSS
:root { --foo: red !important; --foo: red!important; } div { color: red!important; color: red !important; color: red ! important; color: red ! important; color: red ! IMPORTANT; color: red ! iMpOrTaNt; } a { b: c!important } .class { & div { color: red !impor...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/declaration/important/output.css
CSS
:root { --foo: red!important; --foo: red!important; } div { color: red !important; color: red !important; color: red !important; color: red !important; color: red !important; color: red !important; } a { b: c !important; } .class { & div { color: red !important; } } .class { & div { colo...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/declaration/important/output.min.css
CSS
:root{--foo:red!important;--foo:red!important}div{color:red!important;color:red!important;color:red!important;color:red!important;color:red!important;color:red!important}a{b:c!important}.class{& div{color:red!important}}.class{& div{color:red!important}}.foo{color:red !ie}*{--x: !important}*{--x: !important}*{--x: !imp...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/1/input.css
CSS
div { color: rgb(255, 255, 255); color: rgb(255, 255, 255,.5); color: rgb(255 255 255); color: rgb(255 255 255 / .5); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/1/output.css
CSS
div { color: rgb(255, 255, 255); color: rgb(255, 255, 255, .5); color: rgb(255 255 255); color: rgb(255 255 255/ .5); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/1/output.min.css
CSS
div{color:rgb(255,255,255);color:rgb(255,255,255,.5);color:rgb(255 255 255);color:rgb(255 255 255/.5)}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/2/input.css
CSS
div { width: calc(200px - 100px); width: calc(100px + 100px); width: calc(100px * 2); width: calc(100px / 2); width: CALC(100px / 2); WIDTH: CALC(100px / 2); font-size: max(10 * (1vw + 1vh) / 2, 12px); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/2/output.css
CSS
div { width: calc(200px - 100px); width: calc(100px + 100px); width: calc(100px * 2); width: calc(100px / 2); width: CALC(100px / 2); WIDTH: CALC(100px / 2); font-size: max(10 * (1vw + 1vh) / 2, 12px); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/2/output.min.css
CSS
div{width:calc(200px - 100px);width:calc(100px + 100px);width:calc(100px*2);width:calc(100px/2);width:calc(100px/2);width:calc(100px/2);font-size:max(10*(1vw + 1vh)/2,12px)}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/hwb/input.css
CSS
.class { color: hwb(194 0% 0%); color: hwb(120deg 0% 0%); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/hwb/output.css
CSS
.class { color: hwb(194 0% 0%); color: hwb(120deg 0% 0%); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/hwb/output.min.css
CSS
.class{color:hwb(194 0%0%);color:hwb(120deg 0%0%)}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/rgb/input.css
CSS
.class { color: rgb(100%, 100%, 100%); color: rgb(100%, 100%, 100%, 0.1); color: rgb(100%, 100%, 100%, 100%); color: rgb(100% 100% 100%); color: rgb(100% 100% 100% / 0.1); color: rgb(100% 100% 100% / 100%); color: rgb(123, 123, 123); color: rgb(123, 123, 123, 10%); color: rgb(123, ...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/rgb/output.css
CSS
.class { color: rgb(100%, 100%, 100%); color: rgb(100%, 100%, 100%, 0.1); color: rgb(100%, 100%, 100%, 100%); color: rgb(100% 100% 100%); color: rgb(100% 100% 100% / 0.1); color: rgb(100% 100% 100% / 100%); color: rgb(123, 123, 123); color: rgb(123, 123, 123, 10%); color: rgb(123, 123, 123, 0.1); co...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/rgb/output.min.css
CSS
.class{color:rgb(100%,100%,100%);color:rgb(100%,100%,100%,.1);color:rgb(100%,100%,100%,100%);color:rgb(100%100%100%);color:rgb(100%100%100%/.1);color:rgb(100%100%100%/100%);color:rgb(123,123,123);color:rgb(123,123,123,10%);color:rgb(123,123,123,.1);color:rgb(123 123 123);color:rgb(123 123 123/.1);color:rgb(123 123 123/...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/rgba/input.css
CSS
.class { color: rgba(100%, 100%, 100%); color: rgba(100%, 100%, 100%, 0.1); color: rgba(100%, 100%, 100%, 100%); color: rgba(100% 100% 100%); color: rgba(100% 100% 100% / 0.1); color: rgba(100% 100% 100% / 100%); color: rgba(123, 123, 123); color: rgba(123, 123, 123, 10%); color: r...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/rgba/output.css
CSS
.class { color: rgba(100%, 100%, 100%); color: rgba(100%, 100%, 100%, 0.1); color: rgba(100%, 100%, 100%, 100%); color: rgba(100% 100% 100%); color: rgba(100% 100% 100% / 0.1); color: rgba(100% 100% 100% / 100%); color: rgba(123, 123, 123); color: rgba(123, 123, 123, 10%); color: rgba(123, 123, 123, 0...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/function/rgba/output.min.css
CSS
.class{color:rgba(100%,100%,100%);color:rgba(100%,100%,100%,.1);color:rgba(100%,100%,100%,100%);color:rgba(100%100%100%);color:rgba(100%100%100%/.1);color:rgba(100%100%100%/100%);color:rgba(123,123,123);color:rgba(123,123,123,10%);color:rgba(123,123,123,.1);color:rgba(123 123 123);color:rgba(123 123 123/.1);color:rgba(...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/list-of-declarations/recovery/input.css
CSS
@font-face { margin: 0; __ident__ border-radius: 7px; color: white; background: __ident__; __ident__ __ident__ } @font-face { 123 color: red; } @font-face { 123; color: red; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/list-of-declarations/recovery/output.css
CSS
@font-face{ margin: 0; __ident__ border-radius: 7px;color: white; background: __ident__; __ident__ __ident__ } @font-face{ 123 color: red;} @font-face{ 123;color: red; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/list-of-declarations/recovery/output.min.css
CSS
@font-face{margin:0;__ident__ border-radius: 7px;color:white;background:__ident__;__ident__ __ident__ }@font-face{123 color: red;}@font-face{123;color:red}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/preserved-token/calc/input.css
CSS
main { display: flex; flex-direction: __styled-jsx-placeholder; justify-content: space-between; margin-bottom: var(--geist-gap-double); } div { width: 100%; max-width: calc(100% - __styled-jsx-placeholderpx - var(--geist-gap-double)); } @media (max-width: __styled-jsx-placeholderpx) { main...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/preserved-token/calc/output.css
CSS
main { display: flex; flex-direction: __styled-jsx-placeholder; justify-content: space-between; margin-bottom: var(--geist-gap-double); } div { width: 100%; max-width: calc(100% - __styled-jsx-placeholderpx - var(--geist-gap-double)); } @media (max-width: __styled-jsx-placeholderpx) { main { flex-dire...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/preserved-token/calc/output.min.css
CSS
main{display:flex;flex-direction:__styled-jsx-placeholder;justify-content:space-between;margin-bottom:var(--geist-gap-double)}div{width:100%;max-width:calc(100% - __styled-jsx-placeholderpx - var(--geist-gap-double))}@media(max-width:__styled-jsx-placeholderpx){main{flex-direction:__styled-jsx-placeholder}div{max-width...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/preserved-token/cdo-and-cdc/input.css
CSS
<!----> div { color: red; } <!-- 123 --> div { color: red; <!-- test --> }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/preserved-token/cdo-and-cdc/output.css
CSS
div { color: red; } 123 --> div { color: red; <!-- test --> }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/preserved-token/cdo-and-cdc/output.min.css
CSS
div{color:red}123 --> div {color:red;<!-- test --> }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/preserved-token/custom-properties/input.css
CSS
*{--x:} *{--x: } * { --x:; } * { --x: ; } * { --x:y; } * { --x: y; } * { --x:y ; } * { --x:y, ; } * { --x: var(y,); } /** { --x: var(y, ); }*/ * { --x:(y); } * { --x:(y) ; } * { --x: (y); } * { --x:(y ); } * { --x:( y); } * { --x:f(y); } * { --x:f(y) ; } * { --x: f(y); } * { --x:f(y ); } * { --x:f( y); } * { --x:[y...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/preserved-token/custom-properties/output.css
CSS
* { --x: ; } * { --x: ; } * { --x: ; } * { --x: ; } * { --x: y; } * { --x: y; } * { --x: y; } * { --x: y,; } * { --x: var(y,); } * { --x: (y); } * { --x: (y); } * { --x: (y); } * { --x: (y ); } * { --x: ( y); } * { --x: f(y); } * { --x: f(y); } * { --x: f(y); } * { --x: f(y ); } * { ...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/preserved-token/custom-properties/output.min.css
CSS
*{--x: }*{--x: }*{--x: }*{--x: }*{--x:y}*{--x:y}*{--x:y}*{--x:y,}*{--x:var(y,)}*{--x:(y)}*{--x:(y)}*{--x:(y)}*{--x:(y )}*{--x:( y)}*{--x:f(y)}*{--x:f(y)}*{--x:f(y)}*{--x:f(y )}*{--x:f( y)}*{--x:[y]}*{--x:[y]}*{--x:[y]}*{--x:[y ]}*{--x:[ y]}*{--x:{y}}*{--x:{y}}*{--x:{y}}*{--x:{y }}*{--x:{ y}}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/preserved-token/function/input.css
CSS
.slide { width: __styled-jsx-placeholder__7px; height: __styled-jsx-placeholder__7px; margin: 0 calc(__styled-jsx-placeholder__7vw - __styled-jsx-placeholder__7px); border-radius: 7px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08), 0 5px 12px rgba(0, 0, 0, 0.1); transition: all 0.5s ease; ...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/preserved-token/function/output.css
CSS
.slide { width: __styled-jsx-placeholder__7px; height: __styled-jsx-placeholder__7px; margin: 0 calc(__styled-jsx-placeholder__7vw - __styled-jsx-placeholder__7px); border-radius: 7px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08), 0 5px 12px rgba(0, 0, 0, 0.1); transition: all 0.5s ease; cursor: pointer; ...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/preserved-token/function/output.min.css
CSS
.slide{width:__styled-jsx-placeholder__7px;height:__styled-jsx-placeholder__7px;margin:0 calc(__styled-jsx-placeholder__7vw - __styled-jsx-placeholder__7px);border-radius:7px;box-shadow:0 10px 20px rgba(0,0,0,.08),0 5px 12px rgba(0,0,0,.1);transition:all.5s ease;cursor:pointer;overflow:hidden;background:white}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/qualified_rule/recovery-1/input.css
CSS
a {}; b {}; c { } c {color: red; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/qualified_rule/recovery-1/output.css
CSS
a {} ; b {} ; c {} c { color: red; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/qualified_rule/recovery-1/output.min.css
CSS
a{}; b {}; c {}c{color:red}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/qualified_rule/recovery/input.css
CSS
{ } { color: red; } #broken# { color: red; } $bad{ color: red } $bad { color: red } $bad foo{ color: red } $bad foo { color: red } $bad: rule; a { div.major { color: blue } color: red } a { div:hover { color: blue } color: red } a { div:hover { color: blue }; color: red }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/qualified_rule/recovery/output.css
CSS
{} { color: red; } #broken# { color: red; } $bad{ color: red; } $bad { color: red; } $bad foo{ color: red; } $bad foo { color: red; } $bad: rule; a { div.major { color: blue } color: red } a { div: hover { color: blue } color: red; } a { div: hover { color: blue }; color: red; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/qualified_rule/recovery/output.min.css
CSS
{}{color:red}#broken# {color:red}$bad{color:red}$bad {color:red}$bad foo{color:red}$bad foo {color:red}$bad: rule; a {div.major { color: blue } color: red }a{div:hover { color: blue } color: red}a{div:hover{ color: blue };color:red}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/attribute/1/input.css
CSS
[title] {} [title=foo] {} [title="foo"] {} [ title = "foo" ] {} [ title = "foo" ] {} [lang~="en-us"] {} [lang|="zh"] {} [href^="#"] {} [href$=".org"] {} [href*="example"] {} [href*="insensitive" i] {} [href*="insensitive" I] {} [href*="cAsE" s] {} [href*="cAsE" S] {} [foo|att=val] {} [*|att] {} [ *|att ] {}...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/attribute/1/output.css
CSS
[title] {} [title=foo] {} [title="foo"] {} [title="foo"] {} [title="foo"] {} [lang~="en-us"] {} [lang|="zh"] {} [href^="#"] {} [href$=".org"] {} [href*="example"] {} [href*="insensitive" i] {} [href*="insensitive" I] {} [href*="cAsE" s] {} [href*="cAsE" S] {} [foo|att=val] {} [*|att] {} [*|att] {} [|att] {} [|att] {} [...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/attribute/1/output.min.css
CSS
[title]{}[title=foo]{}[title="foo"]{}[title="foo"]{}[title="foo"]{}[lang~="en-us"]{}[lang|="zh"]{}[href^="#"]{}[href$=".org"]{}[href*="example"]{}[href*="insensitive"i]{}[href*="insensitive"i]{}[href*="cAsE"s]{}[href*="cAsE"s]{}[foo|att=val]{}[*|att]{}[*|att]{}[|att]{}[|att]{}[|att]{}[att]{}[att]{}[att]{}a[class="test"...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/class/input.css
CSS
.\10FFF abc:after { content: '\\10FFF abc' } .\10FFFFabc:after { content: '\\10FFFFabc' } .\10FFFF abc:after { content: '\\10FFFF abc' } .\FEFF:after { content: '\uFEFF' } .\32 8f99 { color: red }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/class/output.css
CSS
.𐿿abc:after { content: '\\10FFF abc'; } .􏿿abc:after { content: '\\10FFFFabc'; } .􏿿abc:after { content: '\\10FFFF abc'; } .:after { content: '\uFEFF'; } .\32 8f99 { color: red; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/class/output.min.css
CSS
.𐿿abc:after{content:"\\10FFF abc"}.􏿿abc:after{content:"\\10FFFFabc"}.􏿿abc:after{content:"\\10FFFF abc"}.:after{content:"uFEFF"}.\32 8f99{color:red}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/combinator/input.css
CSS
.class > a {} a #foo > [foo='bar'], .FOO {} body article p {} article > p {} h1 + p {} p ~ img {} col.selected || td {} a + b c > d ~ e {} ol ol, ul ul, ol ul, ul ol {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/combinator/output.css
CSS
.class > a {} a #foo > [foo='bar'], .FOO {} body article p {} article > p {} h1 + p {} p ~ img {} col.selected || td {} a + b c > d ~ e {} ol ol, ul ul, ol ul, ul ol {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/combinator/output.min.css
CSS
.class>a{}a #foo>[foo="bar"],.FOO{}body article p{}article>p{}h1+p{}p~img{}col.selected||td{}a+b c>d~e{}ol ol,ul ul,ol ul,ul ol{}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/complex/input.css
CSS
a + b c > d ~ e {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/complex/output.css
CSS
a + b c > d ~ e {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/complex/output.min.css
CSS
a+b c>d~e{}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/id/input.css
CSS
#demo {} #id_value {} *#z98y {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/id/output.css
CSS
#demo {} #id_value {} *#z98y {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/id/output.min.css
CSS
#demo{}#id_value{}*#z98y{}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/list/input.css
CSS
span, div { border: red 2px solid; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/list/output.css
CSS
span, div { border: red 2px solid; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/list/output.min.css
CSS
span,div{border:red 2px solid}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/nesting/input.css
CSS
a { &b {} } a { & b {} } a { & :b {} }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/nesting/output.css
CSS
a { &b {} } a { & b {} } a { & :b {} }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/nesting/output.min.css
CSS
a{&b{}}a{& b{}}a{& :b{}}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/an_plus_b/input.css
CSS
p:nth-child(1){color:blue} p:nth-child(7){color:blue} p:nth-child(5n){color:blue} p:nth-child(n + 7){color:blue} p:nth-child(3n + 4){color:blue} p:nth-child(3n+4){color:blue} p:nth-child(-n + 3){color:blue} p:nth-child(-n+3){color:blue} p:nth-child(n){color:blue} p:nth-child(+n){color:blue} p:nth-child(-n){color:blue} ...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/an_plus_b/output.css
CSS
p:nth-child(1) { color: blue; } p:nth-child(7) { color: blue; } p:nth-child(5n) { color: blue; } p:nth-child(n+7) { color: blue; } p:nth-child(3n+4) { color: blue; } p:nth-child(3n+4) { color: blue; } p:nth-child(-n+3) { color: blue; } p:nth-child(-n+3) { color: blue; } p:nth-child(n) { color: blue; }...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/an_plus_b/output.min.css
CSS
p:nth-child(1){color:blue}p:nth-child(7){color:blue}p:nth-child(5n){color:blue}p:nth-child(n+7){color:blue}p:nth-child(3n+4){color:blue}p:nth-child(3n+4){color:blue}p:nth-child(-n+3){color:blue}p:nth-child(-n+3){color:blue}p:nth-child(n){color:blue}p:nth-child(n){color:blue}p:nth-child(-n){color:blue}p:nth-child(1){col...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/has/input.css
CSS
a:has(> img) {color: red} dt:has(+ dt) {color: blue} dt:has(+ dt, > img) {color: blue} section:has(h1, h2, h3, h4, h5, h6) {color: green} a:has(<> img, > img) {} a:has( <> img, > img) {} a:has(> img, <> img) {} a:has(> img, <> img ) {} a:has(> img, <> img , > img) {} A:HAS(> IMG) {COLOR: RED}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/has/output.css
CSS
a:has(> img) { color: red; } dt:has(+ dt) { color: blue; } dt:has(+ dt, > img) { color: blue; } section:has(h1, h2, h3, h4, h5, h6) { color: green; } a:has(<> img, > img) {} a:has( <> img, > img) {} a:has(> img, <> img) {} a:has(> img, <> img ) {} a:has(> img, <> img , > img) {} A:has(> IMG) { C...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/has/output.min.css
CSS
a:has(>img){color:red}dt:has(+dt){color:blue}dt:has(+dt,>img){color:blue}section:has(h1,h2,h3,h4,h5,h6){color:green}a:has(<> img,>img){}a:has( <> img,>img){}a:has(>img, <> img){}a:has(>img, <> img ){}a:has(>img, <> img ,>img){}a:has(>img){color:RED}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/is/input.css
CSS
*|*:is(:hover, :focus) {color: red} div:is(.class > a) {color: red} :is(a, b) {} /* Forgiving */ :is(a >< b, a > b, d > c) {} :is( a >< b, a > b, d > c) {} :is(a > b, d > c, a >< b) {} :is(a > b, d > c, a >< b ) {} :is(a > b, a >< b , d > c) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/is/output.css
CSS
*|*:is(:hover, :focus) { color: red; } div:is(.class > a) { color: red; } :is(a, b) {} :is(a >< b, a > b, d > c) {} :is( a >< b, a > b, d > c) {} :is(a > b, d > c, a >< b) {} :is(a > b, d > c, a >< b ) {} :is(a > b, a >< b , d > c) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/is/output.min.css
CSS
*|*:is(:hover,:focus){color:red}div:is(.class>a){color:red}:is(a,b){}:is(a >< b,a>b,d>c){}:is( a >< b,a>b,d>c){}:is(a>b,d>c, a >< b){}:is(a>b,d>c, a >< b ){}:is(a>b, a >< b ,d>c){}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/lang/input.css
CSS
:lang(\*-Latn) {} :lang("*-Latn") {} html:lang(fr-be) {} html:lang(de) {} html:lang(de, fr) {} :lang(fr-be) > q {} :lang(de) > q {} :lang(zh, "*-hant") {} :lang("*-hant", zh) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/lang/output.css
CSS
:lang(\*-Latn) {} :lang("*-Latn") {} html:lang(fr-be) {} html:lang(de) {} html:lang(de, fr) {} :lang(fr-be) > q {} :lang(de) > q {} :lang(zh, "*-hant") {} :lang("*-hant", zh) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/lang/output.min.css
CSS
:lang(\*-Latn){}:lang("*-Latn"){}html:lang(fr-be){}html:lang(de){}html:lang(de,fr){}:lang(fr-be)>q{}:lang(de)>q{}:lang(zh,"*-hant"){}:lang("*-hant",zh){}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/unknown/input.css
CSS
:unknown( x (a+b), 'c' ) {} :unknown( x (a-b), 'c' ) {} :unknown( x (a,b), 'c' ) {} :unknown( x ( a + b ), 'c' ) {} :unknown( x ( a - b ), 'c' ) {} :unknown( x ( a , b ), 'c' ) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/unknown/output.css
CSS
:unknown( x (a+b), 'c' ) {} :unknown( x (a-b), 'c' ) {} :unknown( x (a,b), 'c' ) {} :unknown( x ( a + b ), 'c' ) {} :unknown( x ( a - b ), 'c' ) {} :unknown( x ( a , b ), 'c' ) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/unknown/output.min.css
CSS
:unknown( x (a+b), 'c' ){}:unknown( x (a-b), 'c' ){}:unknown( x (a,b), 'c' ){}:unknown( x ( a + b ), 'c' ){}:unknown( x ( a - b ), 'c' ){}:unknown( x ( a , b ), 'c' ){}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/where/input.css
CSS
h1:where(a) {} h1:where(a > b) {} h1:where(a > b, a > b) {} /* Forgiving */ h1:where(<> p) {} h1:where(a, <> p) {} h1:where(<> p, a) {} h1:where(a, <> p, a) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/where/output.css
CSS
h1:where(a) {} h1:where(a > b) {} h1:where(a > b, a > b) {} h1:where(<> p) {} h1:where(a, <> p) {} h1:where(<> p, a) {} h1:where(a, <> p, a) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-class/where/output.min.css
CSS
h1:where(a){}h1:where(a>b){}h1:where(a>b,a>b){}h1:where(<> p){}h1:where(a, <> p){}h1:where(<> p,a){}h1:where(a, <> p,a){}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_css_codegen/tests/fixture/selectors/pseudo-element/input.css
CSS
::before { color: red; } ::slotted(*) { color: red; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University