This file contains hidden or 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
/** | |
* none keyword test | |
* Pass: There should be no red, nor any distinct squares | |
*/ | |
html { | |
background: red; /* if you see this, the none keyword is not supported */ | |
background: color-mix(in hsl, hsl(80 50% 90%) 0%, hsl(none none 50%)); | |
} |
This file contains hidden or 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
/** | |
* CSS nesting testcase | |
*/ | |
body { | |
background: red; | |
} | |
html { | |
& body { |
This file contains hidden or 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
/** | |
* Tooltips | |
*/ | |
span { | |
font: bold 300%/1.5 system-ui; | |
} |
This file contains hidden or 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
/** | |
* text-wrap: balance bug | |
*/ | |
body { width: 750px } | |
div { | |
width: 200px; height: 200px; | |
background: red; |
This file contains hidden or 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
/** | |
* OKLch rainbow? | |
*/ | |
--hc: 70% .2; | |
background: linear-gradient(to left in oklch longer, oklch(var(--hc) 0), oklch(var(--hc) 359)); |
This file contains hidden or 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
/** | |
* Number of angles created by corner-shape | |
*/ | |
path { | |
fill: slategray; | |
} | |
text { | |
font: bold 100% Helvetica Neue; |
This file contains hidden or 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
/** | |
* CSS Grid vs Lea: 1-0 | |
*/ | |
.slide { | |
position: absolute; | |
inset: 0; | |
z-index: 1; | |
padding: 2.5rem; | |
box-sizing: border-box; |
This file contains hidden or 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
body { background: red } | |
@container style(--foo: 1) { | |
body { background: green; } | |
} | |
html { --foo: 1 } |
This file contains hidden or 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
javascript:{ let table = document.querySelector("#specifications + div > table.standard-table, #specifications + table.standard-table"); table.scrollIntoView({behavior: "smooth"}); table.querySelector("a")?.click(); } undefined; |
This file contains hidden or 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
/** | |
* meter gencontent | |
*/ | |
meter::before { | |
content: "before" | |
} | |
meter::after { | |
content: "after" |