W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2020

Re: [csswg-drafts] [cssom] The way CSSStyleDeclaration exposes properties is not ideal. (#5649)

From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Nov 2020 18:00:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-725573294-1605117637-sysbot+gh@w3.org>
The CSS Working Group just discussed `[cssom] The way CSSStyleDeclaration exposes properties is not ideal`, and agreed to the following:

* `RESOLVED: Having different interfaces for declarations blocks that expose a different set of descriptors/properties`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [cssom] The way CSSStyleDeclaration exposes properties is not ideal<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/5649<br>
&lt;dael> emilio: It's a mess everywhere. I made a proposal. Seemed to be agreement to try and go for it<br>
&lt;dael> emilio: Not in love with...need to decide on names. I'm fine deciding the names on GH or another call<br>
&lt;dael> emilio: Idea is to have different interfaces for different declarations. fontFace only has a set of descriptors. Spec is sad and doesn't match browsers. Maybe WK but it adds descriptors.<br>
&lt;dael> emilio: Agreement from browser engines it's a decent path forward<br>
&lt;dael> Rossen_: You're okay continuing discussion in GH?<br>
&lt;dael> emilio: It would be ideal to resolve sep interfaces for declarations that declare different things. Names tbd<br>
&lt;dael> TabAtkins: I would love to have this. Please have it<br>
&lt;dael> Rossen_: Do you have prop written up? Is it a PR or anything more?<br>
&lt;dael> emilio: I can summarize in IRC<br>
&lt;dael> fantasai: Go ahead<br>
&lt;dael> Rossen_: With a couple minutes remaining I doubt we'd get to anything other than this<br>
&lt;emilio> Having different interfaces for declarations that expose a different set of descriptors/properties<br>
&lt;emilio> declaration blocks* I guess, naming in the spec is wrong<br>
&lt;dael> fantasai: I think it's good for each to have different set. Exposing declarations that don't apply is confusing and may have future problems<br>
&lt;dael> Rossen_: I'm hearing support<br>
&lt;dael> Rossen_: We can resolve to adopt the proposal and you can come back with more concrete interfaces. Does that work?<br>
&lt;dael> emilio: Sounds great<br>
&lt;dael> Rossen_: Objections to Having different interfaces for declarations blocks that expose a different set of descriptors/properties<br>
&lt;dael> RESOLVED: Having different interfaces for declarations blocks that expose a different set of descriptors/properties<br>
</details>


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 11 November 2020 18:00:41 UTC

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