outline-009.html (880B)
1 <!doctype html> 2 <html lang=en> 3 <meta charset=utf-8> 4 <title>CSS-UI test: computed values of outline-width when outline-style is none</title> 5 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net"> 6 <meta name=flags content=""> 7 <meta name=assert content="outline-width does not compute to 0 when outline-style is none"> 8 <link rel="match" href="outline-009-ref.html"> 9 <link rel=help href="https://drafts.csswg.org/css-ui-3/#outline-props"> 10 <link rel=help href="https://github.com/w3c/csswg-drafts/issues/11494#issuecomment-2628447227"> 11 <style> 12 body { 13 outline-width: 10px; 14 outline-style: none; 15 } 16 div { 17 width: 100px; 18 height: 100px; 19 background: green; 20 21 outline-width: inherit; 22 outline-style: solid; 23 outline-color: red; 24 } 25 </style> 26 27 <p>Outline width <strong>does not</strong> compute to 0 when outline-style is none.</p> 28 <div></div>