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
24 lines
465 B
CSS
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;
|
|
}
|