Skip to content

Instantly share code, notes, and snippets.

@LeaVerou
Last active May 31, 2018 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LeaVerou/dc345818446262073deec3e41209a02d to your computer and use it in GitHub Desktop.
Save LeaVerou/dc345818446262073deec3e41209a02d to your computer and use it in GitHub Desktop.
Brightness filter not implemented according to spec in Chrome?
/**
* 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%);
}
// alert('Hello world!');
{"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