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