mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Fix inline context padding on inline-block.
Fixes categories bar on wikipedia - ref #2554.
This commit is contained in:
parent
6177a3bdcc
commit
32c02fc048
5 changed files with 81 additions and 13 deletions
26
tests/ref/inline_block_parent_padding_ref.html
Normal file
26
tests/ref/inline_block_parent_padding_ref.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue