-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make aliases affect safe-prefixed rules
- Loading branch information
1 parent
bd5ea0c
commit 862f951
Showing
16 changed files
with
541 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
...apshots__/aliases-custom-declarations/combined/no-aliases-safe-both-prefix-false.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: combined]] Aliases Tests: without aliases and safeBothPrefix false 1`] = ` | ||
".test1 { | ||
view-timeline: --row-a block; | ||
animation-range: cover 0% cover 100%; | ||
animation-timing-function: var(--timing-function); | ||
animation-name: slide-in; | ||
} | ||
|
||
[dir="ltr"] .test1 { | ||
transform: translate3d(-21vh, 0, 0); | ||
} | ||
|
||
[dir="rtl"] .test1 { | ||
transform: translate3d(21vh, 0, 0); | ||
} | ||
|
||
.test2 { | ||
border: 1px solid; | ||
border-color: #FF00FF; | ||
color: white; | ||
custom-border-width: 2px; | ||
} | ||
|
||
.test3 { | ||
custom-clip-background: text; | ||
color: rgba(255, 242, 126, 1); | ||
custom-padding: 20px; | ||
} | ||
|
||
[dir="ltr"] .test3 { | ||
background: linear-gradient(180deg, #fff27e 0%, #ffffff 100%); | ||
} | ||
|
||
[dir="rtl"] .test3 { | ||
background: linear-gradient(-180deg, #fff27e 0%, #ffffff 100%); | ||
} | ||
|
||
[dir] .test3 { | ||
background-position: top; | ||
}" | ||
`; |
49 changes: 49 additions & 0 deletions
49
...napshots__/aliases-custom-declarations/combined/no-aliases-safe-both-prefix-true.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: combined]] Aliases Tests: without aliases and safeBothPrefix true 1`] = ` | ||
".test1 { | ||
view-timeline: --row-a block; | ||
animation-range: cover 0% cover 100%; | ||
} | ||
|
||
[dir] .test1 { | ||
animation-timing-function: var(--timing-function); | ||
animation-name: slide-in; | ||
} | ||
|
||
[dir="ltr"] .test1 { | ||
transform: translate3d(-21vh, 0, 0); | ||
} | ||
|
||
[dir="rtl"] .test1 { | ||
transform: translate3d(21vh, 0, 0); | ||
} | ||
|
||
.test2 { | ||
color: white; | ||
custom-border-width: 2px; | ||
} | ||
|
||
[dir] .test2 { | ||
border: 1px solid; | ||
border-color: #FF00FF; | ||
} | ||
|
||
.test3 { | ||
custom-clip-background: text; | ||
color: rgba(255, 242, 126, 1); | ||
custom-padding: 20px; | ||
} | ||
|
||
[dir="ltr"] .test3 { | ||
background: linear-gradient(180deg, #fff27e 0%, #ffffff 100%); | ||
} | ||
|
||
[dir="rtl"] .test3 { | ||
background: linear-gradient(-180deg, #fff27e 0%, #ffffff 100%); | ||
} | ||
|
||
[dir] .test3 { | ||
background-position: top; | ||
}" | ||
`; |
43 changes: 43 additions & 0 deletions
43
...shots__/aliases-custom-declarations/combined/with-aliases-safe-both-prefix-false.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: combined]] Aliases Tests: with aliases and safeBothPrefix false 1`] = ` | ||
".test1 { | ||
view-timeline: --row-a block; | ||
animation-range: cover 0% cover 100%; | ||
animation-timing-function: var(--timing-function); | ||
animation-name: slide-in; | ||
} | ||
|
||
[dir="ltr"] .test1 { | ||
transform: translate3d(-21vh, 0, 0); | ||
} | ||
|
||
[dir="rtl"] .test1 { | ||
transform: translate3d(21vh, 0, 0); | ||
} | ||
|
||
.test2 { | ||
border: 1px solid; | ||
border-color: #FF00FF; | ||
color: white; | ||
custom-border-width: 2px; | ||
} | ||
|
||
.test3 { | ||
color: rgba(255, 242, 126, 1); | ||
custom-padding: 20px; | ||
} | ||
|
||
[dir="ltr"] .test3 { | ||
background: linear-gradient(180deg, #fff27e 0%, #ffffff 100%); | ||
} | ||
|
||
[dir="rtl"] .test3 { | ||
background: linear-gradient(-180deg, #fff27e 0%, #ffffff 100%); | ||
} | ||
|
||
[dir] .test3 { | ||
custom-clip-background: text; | ||
background-position: top; | ||
}" | ||
`; |
52 changes: 52 additions & 0 deletions
52
...pshots__/aliases-custom-declarations/combined/with-aliases-safe-both-prefix-true.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: combined]] Aliases Tests: with aliases and safeBothPrefix true 1`] = ` | ||
".test1 { | ||
animation-range: cover 0% cover 100%; | ||
} | ||
|
||
[dir] .test1 { | ||
view-timeline: --row-a block; | ||
animation-timing-function: var(--timing-function); | ||
animation-name: slide-in; | ||
} | ||
|
||
[dir="ltr"] .test1 { | ||
transform: translate3d(-21vh, 0, 0); | ||
} | ||
|
||
[dir="rtl"] .test1 { | ||
transform: translate3d(21vh, 0, 0); | ||
} | ||
|
||
.test2 { | ||
color: white; | ||
} | ||
|
||
[dir] .test2 { | ||
border: 1px solid; | ||
border-color: #FF00FF; | ||
custom-border-width: 2px; | ||
} | ||
|
||
.test3 { | ||
color: rgba(255, 242, 126, 1); | ||
} | ||
|
||
[dir] .test3 { | ||
custom-padding: 20px; | ||
} | ||
|
||
[dir="ltr"] .test3 { | ||
background: linear-gradient(180deg, #fff27e 0%, #ffffff 100%); | ||
} | ||
|
||
[dir="rtl"] .test3 { | ||
background: linear-gradient(-180deg, #fff27e 0%, #ffffff 100%); | ||
} | ||
|
||
[dir] .test3 { | ||
custom-clip-background: text; | ||
background-position: top; | ||
}" | ||
`; |
12 changes: 12 additions & 0 deletions
12
...__snapshots__/aliases-custom-declarations/diff/no-aliases-safe-both-prefix-false.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: diff]] Aliases Tests: without aliases and safeBothPrefix false 1`] = ` | ||
".test1 { | ||
transform: translate3d(21vh, 0, 0); | ||
} | ||
|
||
.test3 { | ||
background: linear-gradient(-180deg, #fff27e 0%, #ffffff 100%); | ||
background-position: top; | ||
}" | ||
`; |
19 changes: 19 additions & 0 deletions
19
.../__snapshots__/aliases-custom-declarations/diff/no-aliases-safe-both-prefix-true.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: diff]] Aliases Tests: without aliases and safeBothPrefix true 1`] = ` | ||
".test1 { | ||
transform: translate3d(21vh, 0, 0); | ||
animation-timing-function: var(--timing-function); | ||
animation-name: slide-in; | ||
} | ||
|
||
.test2 { | ||
border: 1px solid; | ||
border-color: #FF00FF; | ||
} | ||
|
||
.test3 { | ||
background: linear-gradient(-180deg, #fff27e 0%, #ffffff 100%); | ||
background-position: top; | ||
}" | ||
`; |
13 changes: 13 additions & 0 deletions
13
...snapshots__/aliases-custom-declarations/diff/with-aliases-safe-both-prefix-false.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: diff]] Aliases Tests: with aliases and safeBothPrefix false 1`] = ` | ||
".test1 { | ||
transform: translate3d(21vh, 0, 0); | ||
} | ||
|
||
.test3 { | ||
background: linear-gradient(-180deg, #fff27e 0%, #ffffff 100%); | ||
custom-clip-background: text; | ||
background-position: top; | ||
}" | ||
`; |
23 changes: 23 additions & 0 deletions
23
..._snapshots__/aliases-custom-declarations/diff/with-aliases-safe-both-prefix-true.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: diff]] Aliases Tests: with aliases and safeBothPrefix true 1`] = ` | ||
".test1 { | ||
transform: translate3d(21vh, 0, 0); | ||
view-timeline: --row-a block; | ||
animation-timing-function: var(--timing-function); | ||
animation-name: slide-in; | ||
} | ||
|
||
.test2 { | ||
border: 1px solid; | ||
border-color: #FF00FF; | ||
custom-border-width: 2px; | ||
} | ||
|
||
.test3 { | ||
background: linear-gradient(-180deg, #fff27e 0%, #ffffff 100%); | ||
custom-clip-background: text; | ||
background-position: top; | ||
custom-padding: 20px; | ||
}" | ||
`; |
37 changes: 37 additions & 0 deletions
37
...apshots__/aliases-custom-declarations/override/no-aliases-safe-both-prefix-false.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: override]] Aliases Tests: without aliases and safeBothPrefix false 1`] = ` | ||
".test1 { | ||
transform: translate3d(-21vh, 0, 0); | ||
view-timeline: --row-a block; | ||
animation-range: cover 0% cover 100%; | ||
animation-timing-function: var(--timing-function); | ||
animation-name: slide-in; | ||
} | ||
|
||
[dir="rtl"] .test1 { | ||
transform: translate3d(21vh, 0, 0); | ||
} | ||
|
||
.test2 { | ||
border: 1px solid; | ||
border-color: #FF00FF; | ||
color: white; | ||
custom-border-width: 2px; | ||
} | ||
|
||
.test3 { | ||
background: linear-gradient(180deg, #fff27e 0%, #ffffff 100%); | ||
custom-clip-background: text; | ||
color: rgba(255, 242, 126, 1); | ||
custom-padding: 20px; | ||
} | ||
|
||
[dir="rtl"] .test3 { | ||
background: linear-gradient(-180deg, #fff27e 0%, #ffffff 100%); | ||
} | ||
|
||
[dir] .test3 { | ||
background-position: top; | ||
}" | ||
`; |
46 changes: 46 additions & 0 deletions
46
...napshots__/aliases-custom-declarations/override/no-aliases-safe-both-prefix-true.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`[[Mode: override]] Aliases Tests: without aliases and safeBothPrefix true 1`] = ` | ||
".test1 { | ||
view-timeline: --row-a block; | ||
animation-range: cover 0% cover 100%; | ||
} | ||
|
||
[dir] .test1 { | ||
transform: translate3d(-21vh, 0, 0); | ||
animation-timing-function: var(--timing-function); | ||
animation-name: slide-in; | ||
} | ||
|
||
[dir="rtl"] .test1 { | ||
transform: translate3d(21vh, 0, 0); | ||
} | ||
|
||
.test2 { | ||
color: white; | ||
custom-border-width: 2px; | ||
} | ||
|
||
[dir] .test2 { | ||
border: 1px solid; | ||
border-color: #FF00FF; | ||
} | ||
|
||
.test3 { | ||
custom-clip-background: text; | ||
color: rgba(255, 242, 126, 1); | ||
custom-padding: 20px; | ||
} | ||
|
||
[dir] .test3 { | ||
background: linear-gradient(180deg, #fff27e 0%, #ffffff 100%); | ||
} | ||
|
||
[dir="rtl"] .test3 { | ||
background: linear-gradient(-180deg, #fff27e 0%, #ffffff 100%); | ||
} | ||
|
||
[dir] .test3 { | ||
background-position: top; | ||
}" | ||
`; |
Oops, something went wrong.