- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 25 Apr 2019 02:26:41 +0000
- To: public-css-archive@w3.org
This was definitely considered! But the ergonomics were real bad when I tried it. It means you get two different "modes" on the object, whether it's connected or not, with different sets of properties active or not depending. Similarly, the different ways of constructing the objects get awkward - FontFace allows construction directly from a TypedArray, but CSSFontFaceRule is purely URL-based, etc. All in all, it just results in a clumsy, footgun-y API that I didn't like, such that the "connected" concept was simply a more reasonable approach. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3787#issuecomment-486496010 using your GitHub account
Received on Thursday, 25 April 2019 02:26:43 UTC