All checks were successful
ci / fast (linux) (push) Successful in 6m38s
Add full outline support (outline-style, outline-width, outline-color, outline-offset, outline shorthand) following the CSS property pipeline: parse → style → layout → display list → rasterize. Verify all 10 border styles are fully implemented and add 6 golden tests (249-254) covering double borders, 3D border styles, mixed styles, and outline variations. Code review fixes: correct outline paint order to CSS 2.1 Appendix E step 10 (after content, not between borders and content), handle outline-width thin/medium/thick keywords in computed styles, fix Outline display item format consistency (Display vs Debug), guard against negative outline-offset producing invalid rects, add missing tests for outline-color invert and keyword width resolution. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
24 lines
483 B
HTML
24 lines
483 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
div {
|
|
width: 80px; height: 30px; margin: 20px;
|
|
background: #eee;
|
|
outline-width: 3px;
|
|
outline-color: #333;
|
|
}
|
|
.dashed { outline-style: dashed; }
|
|
.dotted { outline-style: dotted; }
|
|
.double { outline-style: double; outline-width: 6px; }
|
|
.solid { outline-style: solid; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="dashed">dashed</div>
|
|
<div class="dotted">dotted</div>
|
|
<div class="double">double</div>
|
|
<div class="solid">solid</div>
|
|
</body>
|
|
</html>
|