Fixes positioning of inline blocks that generate stacking contexts.

This commit is contained in:
Glenn Watson 2015-03-18 11:08:53 +10:00
parent a521755607
commit d61d3ad4ba
4 changed files with 44 additions and 1 deletions

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
* {
margin: 0;
padding: 0;
}
.fa {
display: block;
transform: translate(0, 0);
opacity: 0.5;
}
</style>
</head>
<body>
<div style="padding: 100px 0 0 0;">
<div class="fa">A</div>
</div>
</body>
</html>