servo/tests/ref/inline_block_stacking_context_ref.html
Glenn Watson 958adc0f2b Only count outline width in overflow calculation if outline style is active.
This fixes layers being created with a 3x3 border that's not needed.

This exposes https://github.com/servo/servo/issues/6250, so update the affected reftest to use ahem font until it is fixed.
2015-06-04 13:30:52 +10:00

22 lines
512 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<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>