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

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

From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
Date: Thu, 07 Jan 2021 00:31:19 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-755796005-1609979478-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: Go with emilio naming and Sam's amendment`

<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> astearns: This issue is full of Europeans. Anyone can take it?<br>
&lt;dael> TabAtkins: I'm happy to run it since our people are okay with it<br>
&lt;dael> TabAtkins: emilio points out that the way css style declarations expose properties is weird. Per current cssom definitions all prop and at rules are merged into same object and they work or don't<br>
&lt;dael> TabAtkins: Prop to solve is split apart interfaces for style rules and each @rule that uses .style so they are distinct name spaces<br>
&lt;dael> TabAtkins: sgtm. Anders says seems fine because exposing all @rule on every style rule seems weird as well<br>
&lt;dael> TabAtkins: Sorry, we resolved on overall proposal<br>
&lt;dael> astearns: emilio added specifics<br>
&lt;dael> TabAtkins: Specific prop is add a batch of interfaces named [reads]<br>
&lt;fantasai> wfm<br>
&lt;dael> TabAtkins: Use those as extensions of css style declarations and they have appropriate descriptor names. Looking for opinions on naming.<br>
&lt;dael> TabAtkins: I think names are fine<br>
&lt;dael> astearns: Anyone else have an opinion?<br>
&lt;dael> fantasai: [missed] had an opinion to have everything else named descriptors. That's the counter proposal. That also works and I think slightly better<br>
&lt;fantasai> s/[missed]/Sam/<br>
&lt;dael> astearns: Prop: Go with emilio naming and Sam's ammendment<br>
&lt;dael> RESOLVED: Go with emilio naming and Sam's amendment<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-755796005 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 7 January 2021 00:31:21 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:38 UTC