Files
LCUI/tests/fixtures/test_style_refresh.css
Liu 1f46778893 fix(ui): stabilize layout measurement and style refresh
- 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
2026-11-13 21:56:39 +08:00

24 lines
465 B
CSS

/*
* tests/fixtures/test_style_refresh.css
*
* A plain block with an auto width/height used to check that status-driven
* style refreshes do not temporarily collapse the used box.
*/
.test-refresh-parent {
display: block;
width: 400px;
}
.test-refresh-box {
display: block;
padding: 10px;
border: 1px solid #dddddd;
}
.test-refresh-text {
display: block;
font-size: 14px;
line-height: 20px;
}