Re: [csswg-drafts] [css-view-transitions-2] Define behavior of root element in layered capture (#11150)

> Not using layered capture for the root makes sense. 

I'm actually not sure whether we need to special-case the document element, what does it buy us? In most cases the HTML element anyway doesn't have box decorations.

One thing we do need to address is the background color as it has special handling (default background? body background?).

> One interesting case here is what to do if there's a mismatch between capture mode for old and new element.
> 

I wonder if we need to handle mismatches at all, or just let them be - treat it as if the side of the mismatch that was flat had no box-decorations and tree effects and everything was content, similar to splitting it to two elements (container/content).

-- 
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11150#issuecomment-2457612282 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 5 November 2024 16:17:30 UTC