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>
26 lines
455 B
HTML
26 lines
455 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
.offset {
|
|
width: 80px; height: 30px; margin: 30px;
|
|
border: 2px solid #333;
|
|
outline: 2px solid red;
|
|
outline-offset: 5px;
|
|
background: #eee;
|
|
}
|
|
.no-offset {
|
|
width: 80px; height: 30px; margin: 30px;
|
|
border: 2px solid #333;
|
|
outline: 2px solid blue;
|
|
outline-offset: 0px;
|
|
background: #eee;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="offset">offset 5</div>
|
|
<div class="no-offset">offset 0</div>
|
|
</body>
|
|
</html>
|