1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/9458-width-1a.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<title>CSS 2.1 Test Suite: Test for 'width: auto' on 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/visudet.html#inlineblock-width" /> 1.11 +<meta name="flags" content="" /> 1.12 +<style type="text/css"> 1.13 +body > div { width: 10em; } 1.14 +body > div > div { display: inline-block; background: green; color: white; } 1.15 +</style> 1.16 +</head> 1.17 +<body> 1.18 +<div>x <div>This is some text that is wider than 10em but has no words wider than 10em.</div> z</div> 1.19 +</body> 1.20 +</html>