Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23e27a9
commit 36c20df
Showing
8 changed files
with
259 additions
and
12 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
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
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 |
---|---|---|
@@ -1,3 +1,68 @@ | ||
.class { | ||
text-overflow: clip; | ||
html.single-overflow { | ||
overflow: hidden; | ||
} | ||
|
||
html.double-overflow { | ||
overflow: hidden auto; | ||
} | ||
|
||
html.double-overflow { | ||
overflow: auto auto; | ||
} | ||
|
||
html.double-overflow { | ||
overflow: hidden /* a comment */ auto; | ||
} | ||
|
||
html.double-overflow { | ||
overflow: hidden auto; | ||
} | ||
|
||
html.double-overflow { | ||
overflow: hidden auto; | ||
} | ||
|
||
.order-0 { | ||
-webkit-overflow: hidden auto; | ||
} | ||
|
||
.order-1 { | ||
-moz-overflow: hidden auto; | ||
} | ||
|
||
.order-2 { | ||
-ms-overflow: hidden auto; | ||
} | ||
|
||
.order-3 { | ||
-o-overflow: hidden auto; | ||
} | ||
|
||
.order-4 { | ||
--overflow: hidden auto; | ||
} | ||
|
||
.order-5 { | ||
foo-overflow: hidden auto; | ||
} | ||
|
||
/* overflow: hidden auto; */ | ||
|
||
.content { | ||
content: 'overflow: hidden auto;'; | ||
} | ||
|
||
.important { | ||
overflow: hidden auto !important; | ||
} | ||
|
||
@supports (overflow: hidden auto) { | ||
.support { | ||
overflow: hidden auto; | ||
} | ||
} | ||
@keyframes KEYFRAMES { | ||
50% { | ||
overflow: hidden auto; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,4 +1,88 @@ | ||
.class { | ||
-o-text-overflow: clip; | ||
text-overflow: clip; | ||
html.single-overflow { | ||
overflow: hidden; | ||
} | ||
html.double-overflow { | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
overflow: hidden auto; | ||
} | ||
html.double-overflow { | ||
overflow: auto; | ||
overflow: auto auto; | ||
} | ||
html.double-overflow { | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
overflow: hidden auto; | ||
} | ||
html.double-overflow { | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
overflow: hidden auto; | ||
} | ||
html.double-overflow { | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
overflow: hidden auto; | ||
} | ||
.order-0 { | ||
-webkit-overflow: hidden auto; | ||
} | ||
.order-1 { | ||
-moz-overflow: hidden auto; | ||
} | ||
.order-2 { | ||
-ms-overflow: hidden auto; | ||
} | ||
.order-3 { | ||
-o-overflow: hidden auto; | ||
} | ||
.order-4 { | ||
--overflow: hidden auto; | ||
} | ||
.order-5 { | ||
foo-overflow: hidden auto; | ||
} | ||
.content { | ||
content: 'overflow: hidden auto;'; | ||
} | ||
.important { | ||
overflow-x: hidden !important; | ||
overflow-y: auto !important; | ||
overflow: hidden auto !important; | ||
} | ||
@supports ((overflow: hidden auto) or (overflow-x: hidden) or (overflow-y: auto)) { | ||
.support { | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
overflow: hidden auto; | ||
} | ||
} | ||
@-webkit-keyframes KEYFRAMES { | ||
50% { | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
overflow: hidden auto; | ||
} | ||
} | ||
@-moz-keyframes KEYFRAMES { | ||
50% { | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
overflow: hidden auto; | ||
} | ||
} | ||
@-o-keyframes KEYFRAMES { | ||
50% { | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
overflow: hidden auto; | ||
} | ||
} | ||
@keyframes KEYFRAMES { | ||
50% { | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
overflow: hidden auto; | ||
} | ||
} |
53 changes: 51 additions & 2 deletions
53
crates/swc_css_prefixer/tests/fixture/overflow/output.defaults-not-ie-11.css
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 |
---|---|---|
@@ -1,3 +1,52 @@ | ||
.class { | ||
text-overflow: clip; | ||
html.single-overflow { | ||
overflow: hidden; | ||
} | ||
html.double-overflow { | ||
overflow: hidden auto; | ||
} | ||
html.double-overflow { | ||
overflow: auto auto; | ||
} | ||
html.double-overflow { | ||
overflow: hidden auto; | ||
} | ||
html.double-overflow { | ||
overflow: hidden auto; | ||
} | ||
html.double-overflow { | ||
overflow: hidden auto; | ||
} | ||
.order-0 { | ||
-webkit-overflow: hidden auto; | ||
} | ||
.order-1 { | ||
-moz-overflow: hidden auto; | ||
} | ||
.order-2 { | ||
-ms-overflow: hidden auto; | ||
} | ||
.order-3 { | ||
-o-overflow: hidden auto; | ||
} | ||
.order-4 { | ||
--overflow: hidden auto; | ||
} | ||
.order-5 { | ||
foo-overflow: hidden auto; | ||
} | ||
.content { | ||
content: 'overflow: hidden auto;'; | ||
} | ||
.important { | ||
overflow: hidden auto !important; | ||
} | ||
@supports (overflow: hidden auto) { | ||
.support { | ||
overflow: hidden auto; | ||
} | ||
} | ||
@keyframes KEYFRAMES { | ||
50% { | ||
overflow: hidden auto; | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
crates/swc_css_prefixer/tests/fixture/text-overflow/input.css
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,3 @@ | ||
.class { | ||
text-overflow: clip; | ||
} |
4 changes: 4 additions & 0 deletions
4
crates/swc_css_prefixer/tests/fixture/text-overflow/output.css
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,4 @@ | ||
.class { | ||
-o-text-overflow: clip; | ||
text-overflow: clip; | ||
} |
3 changes: 3 additions & 0 deletions
3
crates/swc_css_prefixer/tests/fixture/text-overflow/output.defaults-not-ie-11.css
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,3 @@ | ||
.class { | ||
text-overflow: clip; | ||
} |