Re: [csswg-drafts] [css-view-transitions-1] Scope of the "user-agent origin" stylesheet (#8069)

@mirisuzanne ahh, ok, I think the problem is we're using the term "user-agent origin" to mean "the user agent stylesheet". As in, we're treating the "user-agent origin" as something styles can be inserted into.

But, from your comment, it seems like "user-agent origin" is more a description of the cascade layer.

Would it be better to say that a stylesheet may exist in the "user-agent origin". Then, the scope and lifecycle of the _stylesheet_ can be defined.

Maybe spec text like this:

> Each document has an active **view transition stylesheet** which is in the user-agent origin. Its rules appear after those in the user-agent stylesheet.

Then later, rules can be added and removed from that stylesheet for dynamic things. Because it's owned by the document, it's clear that the rules added will only affect the current document.

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


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

Received on Tuesday, 15 November 2022 10:02:56 UTC