- From: Krzysztof Maczyński via GitHub <sysbot+gh@w3.org>
- Date: Thu, 23 Apr 2020 14:08:45 +0000
- To: public-css-archive@w3.org
> @ByteEater-pl But `reserve-space: never` would be like `position: absolute`? More precisely, with `position: absolute` the `auto` (initial) value of `reserve-space` would indeed behave as `never`. And you're right, for absolute positioning (including `fixed`) the new possibility is to have `reserve-space: always`. I imagine it working for positioned elements by generating its boxes according to the positioning scheme and additionally a copy of its principal box (not sure about cases where there are additional boxes) as if it had `position: static` and `visibility: hidden`. (This is likely just a rough approximation to portray the idea. I realize that an actual intervening box would probably cause undesirable effects in addition to reserving space, e.g. prevent margin collapsing in some cases.) And `reserve-space: never` might be approximated as `width: 0; height: 0; overflow: visible` (but of course then you give up on using these 3 properties with different values). -- GitHub Notification of comment by ByteEater-pl Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4972#issuecomment-618415738 using your GitHub account
Received on Thursday, 23 April 2020 14:08:47 UTC