mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
- restore intrinsic sizes before measuring flex and block children - resolve percentage widths against indefinite parents as auto - reflow parents when child content changes and refresh background geometry - ignore hidden flex items in gap insertion and use spec static positions - keep text paint size in sync with the current capture scale
25 lines
447 B
CSS
25 lines
447 B
CSS
/*
|
|
* tests/fixtures/test_flex_hidden_gap.css
|
|
*
|
|
* A row with one hidden sibling and one fixed-size visible item. The gap
|
|
* must only be inserted between in-flow items.
|
|
*/
|
|
|
|
.test-hg-row {
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
gap: 6px;
|
|
}
|
|
|
|
.test-hg-hidden {
|
|
display: none;
|
|
width: 33px;
|
|
height: 20px;
|
|
}
|
|
|
|
.test-hg-visible {
|
|
width: 28px;
|
|
height: 20px;
|
|
flex-shrink: 1;
|
|
}
|