Skip to content

Instantly share code, notes, and snippets.

@NekR
Created August 18, 2012 09:05
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 NekR/3385491 to your computer and use it in GitHub Desktop.
Save NekR/3385491 to your computer and use it in GitHub Desktop.
X-tags flow bug
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<script src="../x-tag/x-tag.js"></script>
<script>
xtag.register('x-test');
</script>
<style>
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
x-test {
background: #AAA;
overflow: hidden;
width: 100px;
height: 100px;
margin: 50px;
}
.float {
float: left;
}
</style>
</head>
<body>
<x-test>
<div class="float">Out of flow</div>
</x-test>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment