Commit 100146f
[css-color-5] Add the
#12513 (comment)
This means that `light-dark(url(foo.png), none)` will be a valid value.
The `none` keyword is equivalent to `linear-gradient(transparent)`, but is more intuitive.
This also makes conditional checks in `@supports` more concise:
```css
@supports (light-dark(none, none)) { }
```
In addition, `none` is also supported in `-webkit-cross-fade()`, See:
https://github.com/web-platform-tests/wpt/blob/0efed9003fb6c920d404928776fc9a400bb78560/css/css-images/cross-fade-legacy-crash.html#L8none keyword to light-dark()
1 parent 9514be5 commit 100146f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2795 | 2795 | | |
2796 | 2796 | | |
2797 | 2797 | | |
2798 | | - | |
| 2798 | + | |
2799 | 2799 | | |
2800 | 2800 | | |
2801 | 2801 | | |
| |||
0 commit comments