Re: [csswg-drafts] [css-view-transitions] Make CSSOM interface read-only (#10011)

The CSS Working Group just discussed `[css-view-transitions] Make CSSOM interface read-only`, and agreed to the following:

* `RESOLVED: Make CSSViewTransitionRule readonly`
* `RESOLVED: Change use of DOMTokenList to something more appropriate for readonly interfaces`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> emilio: We generally had resolved to make a buch of new CSSOM interfaces read-only<br>
&lt;fantasai> emilio: ViewTransition had a weird DomTokenList thing<br>
&lt;fantasai> emilio: I think we resolved to do dynaic changes in a different way? If so I would prefer if it was read-only.<br>
&lt;vmpstr> q+<br>
&lt;iank_> q-<br>
&lt;ntim> q+<br>
&lt;astearns> ack vmpstr<br>
&lt;fantasai> vmpstr: We've made the types mutable via ViewTransition object<br>
&lt;khush_> +1<br>
&lt;fantasai> vmpstr: so I don't think we need to make the interface writeable, so support change to readonly<br>
&lt;bramus> +1<br>
&lt;fantasai> astearns: Other comments/concerns with making readonly?<br>
&lt;fantasai> ntim: Does this affect anything in View Transitions L1<br>
&lt;fantasai> ntim: curious if it affects existing implementations<br>
&lt;fantasai> ?: This is for opt-in for cross-document transitions, so L2 only<br>
&lt;fantasai> ntim: ok<br>
&lt;fantasai> emilio: what interface does the CSS rule implement in L1?<br>
&lt;fantasai> ?: It has an IDL retrieved via API call. There's no CSS at-rule.<br>
&lt;vmpstr> s/?/vmpstr/<br>
&lt;fantasai> s/?/vmpstr/<br>
&lt;fantasai> emilio: Also DOMTokenList should probably be a FrozenArray or something<br>
&lt;ntim> I removed the css-view-transitions-1 label from the issue :)<br>
&lt;fantasai> PROPOSED: Make CSSViewTransitionRule readaonly<br>
&lt;fantasai> s/aonly/only/<br>
&lt;fantasai> astearns: any objections?<br>
&lt;fantasai> RESOLVED: Make CSSViewTransitionRule readonly<br>
&lt;fantasai> astearns: Should we try resolution for changing DOMTokenList?<br>
&lt;fantasai> fantasai: we can at least resolve that it needs to change<br>
&lt;fantasai> PROPOSED: Change use of DOMTOkenList to something more appropriate for readonly interfaces<br>
&lt;fantasai> RESOLVED: Change use of DOMTokenList to something more appropriate for readonly interfaces<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10011#issuecomment-2009951924 using your GitHub account


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

Received on Wednesday, 20 March 2024 16:10:15 UTC