1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/9458-basic-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<title>CSS 2.1 Test Suite: Test for inline-block</title> 1.8 +<link rel="author" title="L. David Baron" href="http://dbaron.org/" /> 1.9 +<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> 1.10 +<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#display-prop" /> 1.11 +<meta name="assert" content="This value causes an element to generate a block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the element itself is formatted as an inline replaced element." /> 1.12 +<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" /> 1.13 +<meta name="assert" content="The baseline of an 'inline-block' is the baseline of its last line box in the normal flow, unless it has either no in-flow line boxes or if its 'overflow' property has a computed value other than 'visible', in which case the baseline is the bottom margin edge." /> 1.14 +<meta name="flags" content="" /> 1.15 +<style type="text/css"> 1.16 +span { display: inline-block; } 1.17 +</style> 1.18 +</head> 1.19 +<body> 1.20 +<p>a<span>b</span>c</p> 1.21 +</body> 1.22 +</html>