Skip to content

Instantly share code, notes, and snippets.

@ragiragi
Created November 5, 2014 07:06
Show Gist options
  • Select an option

  • Save ragiragi/edb2517c8a985bcab162 to your computer and use it in GitHub Desktop.

Select an option

Save ragiragi/edb2517c8a985bcab162 to your computer and use it in GitHub Desktop.
sample code for composition calculation problem on blink
<!DOCTYPE html>
<html lang="ko">
<head>
<title>assumedOverlap Fail</title>
<meta name="viewport"
content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width"/>
<style>
div { padding: 20px;}
</style>
</head>
<body>
<div style="-webkit-transform: translate3d(0px, 0px, 0px); background: yellow;">
LAYER (direct composited)
</div>
<div><!-- just space --></div>
<div style="position:relative; background: yellowgreen;">
I'm not overlapped with any layer. But I'm also a layer
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment