Last active
May 31, 2018 12:14
-
-
Save LeaVerou/dc345818446262073deec3e41209a02d to your computer and use it in GitHub Desktop.
Brightness filter not implemented according to spec in Chrome?
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
/** | |
* Brightness filter not implemented according to spec in Chrome? | |
* https://www.w3.org/TR/filter-effects-1/#brightnessEquivalent | |
* Red is correct, white is wrong. | |
*/ | |
div { | |
width: 90vmin; | |
height: 90vmin; | |
background: rgb(25, 0, 0); | |
filter: brightness(100000%); | |
} |
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
<div></div> |
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
// alert('Hello world!'); |
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
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment