W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2021

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

From: Dan Clark via GitHub <sysbot+gh@w3.org>
Date: Tue, 06 Jul 2021 19:04:55 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-875010674-1625598293-sysbot+gh@w3.org>
> 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?

I don't think it's necessary for them to be separate. I've pushed a change to move the creation and initialization into the same set of steps.


GitHub Notification of comment by dandclark
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/6411#issuecomment-875010674 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 6 July 2021 19:04:57 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:38 UTC