diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:58:02 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:58:02 +0800 |
| commit | fee47f6414cc3ae9a88f3ee0ed20f1d6f2d9f556 (patch) | |
| tree | 2b99dd57fc676a3819ef3cc46ac43df0043c2bb3 /node_modules/laggard/test/fixtures | |
| parent | 0379526e20e1ff212df23e6326741aa9c06df204 (diff) | |
added plugin from postcss: postcss-fixes rucksack-css
Diffstat (limited to 'node_modules/laggard/test/fixtures')
12 files changed, 86 insertions, 0 deletions
diff --git a/node_modules/laggard/test/fixtures/opacity.css b/node_modules/laggard/test/fixtures/opacity.css new file mode 100644 index 00000000..0523e50a --- /dev/null +++ b/node_modules/laggard/test/fixtures/opacity.css @@ -0,0 +1,8 @@ +.foo { + opacity: .5; +} + +.bar { + opacity: .5; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; +}
\ No newline at end of file diff --git a/node_modules/laggard/test/fixtures/opacity.expected.css b/node_modules/laggard/test/fixtures/opacity.expected.css new file mode 100644 index 00000000..5094278b --- /dev/null +++ b/node_modules/laggard/test/fixtures/opacity.expected.css @@ -0,0 +1,9 @@ +.foo { + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; + opacity: .5; +} + +.bar { + opacity: .5; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; +}
\ No newline at end of file diff --git a/node_modules/laggard/test/fixtures/pixrem.css b/node_modules/laggard/test/fixtures/pixrem.css new file mode 100644 index 00000000..0c47cef4 --- /dev/null +++ b/node_modules/laggard/test/fixtures/pixrem.css @@ -0,0 +1,3 @@ +.foo { + font-size: 2rem; +} diff --git a/node_modules/laggard/test/fixtures/pixrem.expected.css b/node_modules/laggard/test/fixtures/pixrem.expected.css new file mode 100644 index 00000000..dab3157b --- /dev/null +++ b/node_modules/laggard/test/fixtures/pixrem.expected.css @@ -0,0 +1,4 @@ +.foo { + font-size: 32px; + font-size: 2rem; +} diff --git a/node_modules/laggard/test/fixtures/pseudo.css b/node_modules/laggard/test/fixtures/pseudo.css new file mode 100644 index 00000000..ae381e67 --- /dev/null +++ b/node_modules/laggard/test/fixtures/pseudo.css @@ -0,0 +1,7 @@ +.foo:before { + display: block; +} + +.bar::after { + display: none; +}
\ No newline at end of file diff --git a/node_modules/laggard/test/fixtures/pseudo.expected.css b/node_modules/laggard/test/fixtures/pseudo.expected.css new file mode 100644 index 00000000..c450fde9 --- /dev/null +++ b/node_modules/laggard/test/fixtures/pseudo.expected.css @@ -0,0 +1,7 @@ +.foo:before { + display: block; +} + +.bar:after { + display: none; +}
\ No newline at end of file diff --git a/node_modules/laggard/test/fixtures/rgba.css b/node_modules/laggard/test/fixtures/rgba.css new file mode 100644 index 00000000..994ea3f8 --- /dev/null +++ b/node_modules/laggard/test/fixtures/rgba.css @@ -0,0 +1,11 @@ +.foo { + background: rgba(153, 221, 153, 0.8); + color: rgba(0, 0, 0, .4); +} + +.bar { + background: rgba(153, 221, 153, 0.8); + background: rgba(153, 221, 153, 0.8); + color: #ffffff; + color: rgba(0, 0, 0, .4); +}
\ No newline at end of file diff --git a/node_modules/laggard/test/fixtures/rgba.expected.css b/node_modules/laggard/test/fixtures/rgba.expected.css new file mode 100644 index 00000000..b48f909e --- /dev/null +++ b/node_modules/laggard/test/fixtures/rgba.expected.css @@ -0,0 +1,14 @@ +.foo { + background: #99dd99; + background: rgba(153, 221, 153, 0.8); + color: #000000; + color: rgba(0, 0, 0, .4); +} + +.bar { + background: #99dd99; + background: rgba(153, 221, 153, 0.8); + background: rgba(153, 221, 153, 0.8); + color: #ffffff; + color: rgba(0, 0, 0, .4); +}
\ No newline at end of file diff --git a/node_modules/laggard/test/fixtures/vmin.css b/node_modules/laggard/test/fixtures/vmin.css new file mode 100644 index 00000000..b28275de --- /dev/null +++ b/node_modules/laggard/test/fixtures/vmin.css @@ -0,0 +1,7 @@ +.foo { + width: 50vmin; +} + +.bar { + width: calc(100vmin - 1px); +}
\ No newline at end of file diff --git a/node_modules/laggard/test/fixtures/vmin.expected.css b/node_modules/laggard/test/fixtures/vmin.expected.css new file mode 100644 index 00000000..5ffc9a7d --- /dev/null +++ b/node_modules/laggard/test/fixtures/vmin.expected.css @@ -0,0 +1,9 @@ +.foo { + width: 50vm; + width: 50vmin; +} + +.bar { + width: calc(100vm - 1px); + width: calc(100vmin - 1px); +}
\ No newline at end of file diff --git a/node_modules/laggard/test/fixtures/willchange.css b/node_modules/laggard/test/fixtures/willchange.css new file mode 100644 index 00000000..117c5cfa --- /dev/null +++ b/node_modules/laggard/test/fixtures/willchange.css @@ -0,0 +1,3 @@ +.foo { + will-change: transform; +} diff --git a/node_modules/laggard/test/fixtures/willchange.expected.css b/node_modules/laggard/test/fixtures/willchange.expected.css new file mode 100644 index 00000000..c3912928 --- /dev/null +++ b/node_modules/laggard/test/fixtures/willchange.expected.css @@ -0,0 +1,4 @@ +.foo { + backface-visibility: hidden; + will-change: transform; +} |
