Files
rust_browser/tests/goldens/fixtures/164-inline-flex.html
Zachary D. Rowitsch 6ac27a96a0 Implement flexbox enhancements: multi-line, reverse, align-self/content, order, inline-flex
Add comprehensive flexbox support across 8 areas:
- flex/flex-flow shorthand parsing from raw CssToken kinds
- justify-content: space-around/space-evenly, align-items: baseline
- flex-direction: row-reverse/column-reverse with justify swap
- align-self per-item cross-axis override
- flex-wrap multi-line layout with line partitioning and packing
- align-content with all 7 distribution strategies
- display: inline-flex with proper formatting context handling
- order property with stable sort and integer-only validation

Rewrites the flex layout algorithm to support multi-line containers,
reverse directions, per-item alignment, and all content distribution
modes. Promotes 36 WPT tests to pass and demotes 25 false passes
exposed by correct gap handling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 14:09:12 -05:00

23 lines
535 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
.container {
display: inline-flex;
background-color: lightgray;
padding: 10px;
}
.item {
width: 50px;
height: 40px;
margin: 5px;
}
.red { background-color: red; }
.green { background-color: green; }
</style>
</head>
<body>
<p>Text before <span class="container"><span class="item red">A</span><span class="item green">B</span></span> text after</p>
</body>
</html>