outline-004.html (911B)
1 <!doctype html> 2 <html lang=en> 3 <meta charset=utf-8> 4 <title>CSS-UI test: connected outline parts</title> 5 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net"> 6 <meta name=flags content="ahem should"> 7 <meta name=assert content="Each part of the outline should be fully connected rather than open on some sides"> 8 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 9 <link rel=help href="https://drafts.csswg.org/css-ui-3/#outline-props"> 10 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 11 <style> 12 span { 13 outline: solid green 10px; 14 color: green; 15 } 16 div { 17 box-sizing: border-box; 18 width: 100px; 19 height: 100px; 20 padding: 10px; 21 line-height: 40px; 22 font-size: 40px; 23 background: red; 24 font-family: Ahem; 25 } 26 </style> 27 28 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 29 <div><span>xx<br>xx</span></div>