Re: [csswg-drafts] [cssom-1] Refactor CSSStyleSheet constructor and replaceSync to allow steps to be referenced from HTML spec (#6411)

So I'm curious, why do you need the initialization to be separate from construction? That means that we need to define what a constructed but not initialized stylesheet does. Why can't it just use the CSSStyleSheet constructor?

The "synchronously replace the rules of a CSSStyleSheet" bit looks great though.

GitHub Notification of comment by emilio
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Monday, 5 July 2021 13:59:01 UTC