You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-view-transitions-1] What's the point of position: fixed in ::view-transition? #12116
but afaict that position: fixed is just confusing, and behaving exactly the same as position: absolute, since the snapshot CB is a position: fixed containing block, right?
Should we change it just for clarity? Is it just an historical artifact?
The CSS Working Group just discussed [css-view-transitions-1] What's the point of position: fixed in `::view-transition`?, and agreed to the following:
RESOLVED: `::view-transition` pseudo-element uses `position: absolute` instead `position: fixed` in the UA stylesheet
The full IRC log of that discussion
<ntim> emilio: basically the UA stylesheet has a rule where the VT pseudo is position: fixed
<ntim> emilio: a bit odd because the snapshot containing block per-spec is a fixedpos CB as well
<ntim> emilio: so that means abspos and fixpos are identical
<ntim> ...Is there anything I'm missing or should it be abspos?
<ntim> flackr: how does it work with scroll?
<ntim> emilio: it's the same because snapshot CB is fixed as well
<ntim> noamr: I don't have context
<ntim> noamr/flackr: probably no reason
<ntim> emilio: should we resolve to make it abspos?
<ntim> noamr: lets do it
<ntim> RESOLVED: `::view-transition` pseudo-element uses `position: absolute` instead `position: fixed` in the UA stylesheet
<ntim> flackr: might have to be `!important` for scoped VT
<flackr> s/`!important`/important
Activity
css-meeting-bot commentedon Aug 19, 2025
The CSS Working Group just discussed
[css-view-transitions-1] What's the point of position: fixed in `::view-transition`?, and agreed to the following:RESOLVED: `::view-transition` pseudo-element uses `position: absolute` instead `position: fixed` in the UA stylesheetThe full IRC log of that discussion
<ntim> emilio: basically the UA stylesheet has a rule where the VT pseudo is position: fixed<ntim> emilio: a bit odd because the snapshot containing block per-spec is a fixedpos CB as well
<ntim> emilio: so that means abspos and fixpos are identical
<ntim> ...Is there anything I'm missing or should it be abspos?
<ntim> flackr: how does it work with scroll?
<ntim> emilio: it's the same because snapshot CB is fixed as well
<ntim> noamr: I don't have context
<ntim> noamr/flackr: probably no reason
<ntim> emilio: should we resolve to make it abspos?
<ntim> noamr: lets do it
<ntim> RESOLVED: `::view-transition` pseudo-element uses `position: absolute` instead `position: fixed` in the UA stylesheet
<ntim> flackr: might have to be `!important` for scoped VT
<flackr> s/`!important`/important
[css-view-transitions-1] Use `position: absolute` instead of `positio…
[css-view-transitions-1] Use `position: absolute` instead of `positio…
VT: Change ::view-transition to be position absolute.