Fix inline context padding on inline-block.

Fixes categories bar on wikipedia - ref #2554.
This commit is contained in:
Glenn Watson 2014-09-23 15:32:36 +10:00
parent 6177a3bdcc
commit 32c02fc048
5 changed files with 81 additions and 13 deletions

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
margin: 0;
}
div {
float: left;
width: 100px;
height: 100px;
}
.red {
background-color: red;
}
.yellow {
background-color: yellow;
}
</style>
</head>
<body>
<div class="yellow"></div>
<div class="red"></div>
<div class="yellow"></div>
</body>
</html>