azul-layout 0.0.7

Layout solver + font and image loader the Azul GUI framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Tests for the 5 flexbox stretch bugs that were fixed
///
/// These tests verify the fixes for:
/// 1. Bug #1: align-items default (should be Stretch for flexbox)
/// 2. Bug #2: max-height: auto translation (should not become concrete dimension)
/// 3. Bug #3: Cross-axis intrinsic suppression (should return 0 for stretch items)
/// 4. Bug #4: parent_size parameter (should use containing_block_size)
/// 5. Bug #5: Margin translation (CSS Auto should map to length(0.0) not auto())

// TODO: These tests require integration testing infrastructure
// For now, tests are manual using the printpdf example

#[cfg(test)]
mod tests {
    // Test placeholder - actual tests need full layout infrastructure
    // See /Users/fschutt/Development/printpdf/flexbox-simple-test.html for manual test
}