gecko/layout/reftests/outline/outline-and-box-shadow-ref.html
L. David Baron a25879617f Bug 480888 patch 4: Draw outline around the union of border boxes, SVG, and text, rather than the visual overflow area. r=roc
At the same time, move the handling of outlines on inlines that contain
blocks earlier, so that we factor it into the stored frame property (and
thus have the stored frame property) and so that we include it
accurately in the overflow calculation.
2014-02-16 16:05:10 -08:00

14 lines
335 B
HTML

<!DOCTYPE HTML>
<title>outline and box-shadow</title>
<style>
html, body { margin: 0; padding: 0 }
p {
margin: 48px;
border: 2px solid blue;
padding: 5px; /* ensure no font overhang */
background: yellow; color: black;
box-shadow: 10px 10px 10px 0px black;
}
</style>
<p>The outline should be adjacent to the background.</p>