translate3d breaks luminance based svg mask
Last active
May 11, 2021 02:38
-
-
Save frogcat/bca746d8b3386215b9266710a74ea5e7 to your computer and use it in GitHub Desktop.
translate3d breaks luminance based svg mask
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>translate3d breakes luimnance based mask</title> | |
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0" /> | |
<style> | |
iframe { | |
width: 256px; | |
height: 256px; | |
} | |
th { | |
background: #ccc; | |
} | |
</style> | |
</head> | |
<body> | |
<table> | |
<tr> | |
<th>mask-type</th> | |
<th>css-translate3d</th> | |
<th>css-translate</th> | |
<th>svg-translate</th> | |
</tr> | |
<tr> | |
<th>mask-luminance<br /><img src="mask-luminance.png" /></th> | |
<td><iframe src="luminance-css-translate3d.svg"></iframe></td> | |
<td><iframe src="luminance-css-translate.svg"></iframe></td> | |
<td><iframe src="luminance-svg-translate.svg"></iframe></td> | |
</tr> | |
<tr> | |
<th>mask-alpha<br /><img src="mask-alpha.png" /></th> | |
<td><iframe src="alpha-css-translate3d.svg"></iframe></td> | |
<td><iframe src="alpha-css-translate.svg"></iframe></td> | |
<td><iframe src="alpha-svg-translate.svg"></iframe></td> | |
</tr> | |
</table> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment