outline-011

outline-color: currentcolor

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
currentcolor computes to currentcolor on outline-color

Source

 1 <!DOCTYPE html>
 2 <html lang="en"><head><meta charset="utf-8">
 3   <title>CSS-UI test: outline-color: currentcolor</title>
 4   <link href="http://florian.rivoal.net" rel="author" title="Florian Rivoal">
 5   <meta content="" name="flags">
 6   <meta content="currentcolor computes to currentcolor on outline-color" name="assert">
 7   <link href="reference/ref-filled-green-100px-square.htm" rel="match">
 8   <link href="https://drafts.csswg.org/css-ui-3/#outline-props" rel="help">
 9 <style>
10 body > div {
11   width: 100px;
12   height: 100px;
13   background: red;
14   color: red;
15   display: table-cell; /* Make a BFC */
16 }
17 div > div {
18   width: 0;
19   height: 0;
20   margin: 50px;
21   color: green;
22   outline: solid currentcolor 50px;
23 }
24 </style>
25 
26   </head><body><p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
27   <div><div></div></div>
28 
29 </body></html>